Pull request #1234 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 624544a05e8fa8c65c1d4e3398e527d8dc64c10c+09c8a507c77d2bd2f09eb9ac13068a60ef71d0df (587eff194255aada3e7e0cd6f85246c005402cd3) 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-ssh9597560715774458656.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-ssh4179430229842398076.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-1234/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-1234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh852073870358653828.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-1234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17401893785046801159.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-ssh6544911560971469312.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-1234/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-1234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17401298694849087080.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7731 in /w/workspace/gexfoundry_device-sdk-go_PR-1234 [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-1234 # 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 > 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/1234/head:refs/remotes/origin/PR-1234 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df into PR head commit 624544a05e8fa8c65c1d4e3398e527d8dc64c10c Merge succeeded, producing 624544a05e8fa8c65c1d4e3398e527d8dc64c10c Checking out Revision 624544a05e8fa8c65c1d4e3398e527d8dc64c10c (PR-1234) > git config core.sparsecheckout # timeout=10 > git checkout -f 624544a05e8fa8c65c1d4e3398e527d8dc64c10c # 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 624544a05e8fa8c65c1d4e3398e527d8dc64c10c # timeout=10 Commit message: "fix: return BaseResponse in set command response envelope" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-12T05:25:29.820Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T05:25:30.007Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T05:25:30.097Z] ========================================================= [2022-10-12T05:25:30.097Z] EdgeX Global Pipelines Version Info [2022-10-12T05:25:30.097Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:25:30.865Z] ------------------- [2022-10-12T05:25:30.865Z] stable info: [2022-10-12T05:25:30.865Z] ------------------- [2022-10-12T05:25:30.865Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T05:25:30.865Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T05:25:30.865Z] Message: update stable to v1.0.239 [2022-10-12T05:25:31.436Z] ------------------- [2022-10-12T05:25:31.436Z] experimental info: [2022-10-12T05:25:31.436Z] ------------------- [2022-10-12T05:25:31.436Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T05:25:31.436Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T05:25:31.436Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T05:25:31.724Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-12T05:25:31.764Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-12T05:25:31.805Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T05:25:31.842Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T05:25:31.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T05:25:31.916Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T05:25:31.958Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T05:25:32.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-12T05:25:32.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T05:25:32.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T05:25:32.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T05:25:32.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-12T05:25:32.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T05:25:32.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T05:25:32.296Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T05:25:32.337Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T05:25:32.374Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T05:25:32.413Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T05:25:32.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T05:25:32.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T05:25:32.538Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-12T05:25:32.576Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-12T05:25:32.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T05:25:32.654Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T05:25:32.696Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T05:25:32.736Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T05:25:32.775Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T05:25:32.812Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1234 [Pipeline] echo [2022-10-12T05:25:32.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1234 [Pipeline] echo [2022-10-12T05:25:32.888Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1234 [Pipeline] echo [2022-10-12T05:25:32.932Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] echo [2022-10-12T05:25:32.971Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 624544a [Pipeline] echo [2022-10-12T05:25:33.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T05:25:33.124Z] provisioning config files... [2022-10-12T05:25:33.139Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/config5460742956015460258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:25:33.495Z] ---> docker-login.sh [2022-10-12T05:25:33.495Z] nexus3.edgexfoundry.org:10001 [2022-10-12T05:25:33.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:34.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:34.015Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:34.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:34.015Z] [2022-10-12T05:25:34.015Z] Login Succeeded [2022-10-12T05:25:34.015Z] nexus3.edgexfoundry.org:10002 [2022-10-12T05:25:34.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:34.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:34.015Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:34.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:34.015Z] [2022-10-12T05:25:34.015Z] Login Succeeded [2022-10-12T05:25:34.015Z] nexus3.edgexfoundry.org:10003 [2022-10-12T05:25:34.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:34.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:34.274Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:34.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:34.274Z] [2022-10-12T05:25:34.274Z] Login Succeeded [2022-10-12T05:25:34.274Z] nexus3.edgexfoundry.org:10004 [2022-10-12T05:25:34.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:34.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:34.274Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:34.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:34.274Z] [2022-10-12T05:25:34.274Z] Login Succeeded [2022-10-12T05:25:34.274Z] docker.io [2022-10-12T05:25:34.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:34.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:34.800Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:34.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:34.800Z] [2022-10-12T05:25:34.800Z] Login Succeeded [2022-10-12T05:25:34.800Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T05:25:34.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-12T05:25:35.465Z] + git rev-list -1 --merges 624544a05e8fa8c65c1d4e3398e527d8dc64c10c~1..624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] echo [2022-10-12T05:25:35.505Z] -----------> git rev-list -1 --merges 624544a05e8fa8c65c1d4e3398e527d8dc64c10c~1..624544a05e8fa8c65c1d4e3398e527d8dc64c10c 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [false] [Pipeline] sh [2022-10-12T05:25:35.814Z] + git log --format=format:%s -1 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] echo [2022-10-12T05:25:35.851Z] ========================================================= [2022-10-12T05:25:35.851Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T05:25:35.851Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T05:25:36.301Z] + git log --format=format:%s -1 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] echo [2022-10-12T05:25:36.332Z] [semverPrep] GIT_COMMIT: 624544a05e8fa8c65c1d4e3398e527d8dc64c10c, Commit Message: fix: return BaseResponse in set command response envelope [Pipeline] echo [2022-10-12T05:25:36.361Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T05:25:36.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T05:25:36.749Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T05:25:36.749Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T05:25:36.749Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T05:25:36.749Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T05:25:36.749Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T05:25:36.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:25:37.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T05:25:37.223Z] [2022-10-12T05:25:37.223Z] 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-12T05:25:37.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T05:25:37.589Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T05:25:37.589Z] b85a868b505f: Pulling fs layer [2022-10-12T05:25:37.589Z] e2be974225ed: Pulling fs layer [2022-10-12T05:25:37.589Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T05:25:37.589Z] 988bab9f4d93: Pulling fs layer [2022-10-12T05:25:37.589Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T05:25:37.589Z] eaf3925da568: Pulling fs layer [2022-10-12T05:25:37.589Z] bab4dde63d76: Pulling fs layer [2022-10-12T05:25:37.589Z] bde34c3a00c8: Pulling fs layer [2022-10-12T05:25:37.589Z] b352a97aabf1: Pulling fs layer [2022-10-12T05:25:37.589Z] 4872d77fe225: Pulling fs layer [2022-10-12T05:25:37.589Z] 5851b861e8e6: Pulling fs layer [2022-10-12T05:25:37.589Z] 988bab9f4d93: Waiting [2022-10-12T05:25:37.589Z] b352a97aabf1: Waiting [2022-10-12T05:25:37.589Z] bab4dde63d76: Waiting [2022-10-12T05:25:37.589Z] bde34c3a00c8: Waiting [2022-10-12T05:25:37.589Z] 4872d77fe225: Waiting [2022-10-12T05:25:37.589Z] 5851b861e8e6: Waiting [2022-10-12T05:25:37.589Z] eaf3925da568: Waiting [2022-10-12T05:25:37.589Z] 1469e6f7b9e6: Waiting [2022-10-12T05:25:37.589Z] e2be974225ed: Verifying Checksum [2022-10-12T05:25:37.589Z] e2be974225ed: Download complete [2022-10-12T05:25:37.589Z] 988bab9f4d93: Verifying Checksum [2022-10-12T05:25:37.589Z] 988bab9f4d93: Download complete [2022-10-12T05:25:37.851Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T05:25:37.851Z] 1469e6f7b9e6: Download complete [2022-10-12T05:25:37.851Z] eaf3925da568: Download complete [2022-10-12T05:25:37.851Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T05:25:37.851Z] 339a4e72a1f5: Download complete [2022-10-12T05:25:37.851Z] bde34c3a00c8: Verifying Checksum [2022-10-12T05:25:37.851Z] bde34c3a00c8: Download complete [2022-10-12T05:25:37.851Z] b352a97aabf1: Verifying Checksum [2022-10-12T05:25:37.851Z] b352a97aabf1: Download complete [2022-10-12T05:25:37.851Z] 4872d77fe225: Verifying Checksum [2022-10-12T05:25:37.851Z] 4872d77fe225: Download complete [2022-10-12T05:25:37.851Z] 5851b861e8e6: Verifying Checksum [2022-10-12T05:25:37.851Z] 5851b861e8e6: Download complete [2022-10-12T05:25:37.851Z] b85a868b505f: Verifying Checksum [2022-10-12T05:25:37.851Z] b85a868b505f: Download complete [2022-10-12T05:25:38.110Z] bab4dde63d76: Verifying Checksum [2022-10-12T05:25:38.110Z] bab4dde63d76: Download complete [2022-10-12T05:25:39.045Z] b85a868b505f: Pull complete [2022-10-12T05:25:39.045Z] e2be974225ed: Pull complete [2022-10-12T05:25:39.614Z] 339a4e72a1f5: Pull complete [2022-10-12T05:25:39.614Z] 988bab9f4d93: Pull complete [2022-10-12T05:25:39.872Z] 1469e6f7b9e6: Pull complete [2022-10-12T05:25:39.872Z] eaf3925da568: Pull complete [2022-10-12T05:25:41.772Z] bab4dde63d76: Pull complete [2022-10-12T05:25:41.772Z] bde34c3a00c8: Pull complete [2022-10-12T05:25:42.031Z] b352a97aabf1: Pull complete [2022-10-12T05:25:42.031Z] 4872d77fe225: Pull complete [2022-10-12T05:25:42.031Z] 5851b861e8e6: Pull complete [2022-10-12T05:25:42.031Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T05:25:42.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T05:25:42.031Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T05:25:42.251Z] prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container [2022-10-12T05:25:42.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@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-devops/py-git-semver:0.1.4 cat [2022-10-12T05:25:45.409Z] $ docker top d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 -eo pid,comm [2022-10-12T05:25:45.463Z] 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-12T05:25:45.463Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T05:25:45.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T05:25:45.592Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T05:25:45.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T05:25:45.712Z] $ docker exec d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 ssh-agent [2022-10-12T05:25:45.862Z] SSH_AUTH_SOCK=/tmp/ssh-cxaphXoWiMIv/agent.32 [2022-10-12T05:25:45.862Z] SSH_AGENT_PID=38 [2022-10-12T05:25:45.875Z] Running ssh-add (command line suppressed) [2022-10-12T05:25:45.979Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/private_key_9493395281742574119.key (/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/private_key_9493395281742574119.key) [2022-10-12T05:25:45.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T05:25:46.318Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T05:25:46.344Z] $ docker exec --env ******** --env ******** d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 ssh-agent -k [2022-10-12T05:25:46.446Z] unset SSH_AUTH_SOCK; [2022-10-12T05:25:46.446Z] unset SSH_AGENT_PID; [2022-10-12T05:25:46.447Z] echo Agent pid 38 killed; [2022-10-12T05:25:46.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T05:25:46.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T05:25:46.541Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T05:25:46.636Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T05:25:46.641Z] $ docker exec d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 ssh-agent [2022-10-12T05:25:46.747Z] SSH_AUTH_SOCK=/tmp/ssh-6V4EJX6XCllF/agent.70 [2022-10-12T05:25:46.747Z] SSH_AGENT_PID=76 [2022-10-12T05:25:46.752Z] Running ssh-add (command line suppressed) [2022-10-12T05:25:46.849Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/private_key_11749297051111343113.key (/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/private_key_11749297051111343113.key) [2022-10-12T05:25:46.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T05:25:47.191Z] + git semver init [2022-10-12T05:25:47.450Z] 2022-10-12 05:25:47,366 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T05:25:47.450Z] 2022-10-12 05:25:47,367 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver [2022-10-12T05:25:47.450Z] 2022-10-12 05:25:47,367 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver [2022-10-12T05:25:47.450Z] 2022-10-12 05:25:47,368 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1234, universal_newlines=False, shell=None, istream=None) [2022-10-12T05:25:48.831Z] 2022-10-12 05:25:48,442 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234/.git/info/exclude [2022-10-12T05:25:48.832Z] 2022-10-12 05:25:48,443 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver/PR-1234 with force:False [2022-10-12T05:25:48.832Z] 2022-10-12 05:25:48,443 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver/PR-1234 [2022-10-12T05:25:48.832Z] 2022-10-12 05:25:48,447 [execute] INFO git cat-file --batch-check [2022-10-12T05:25:48.832Z] 2022-10-12 05:25:48,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T05:25:48.832Z] 2022-10-12 05:25:48,453 [execute] INFO git cat-file --batch [2022-10-12T05:25:48.832Z] 2022-10-12 05:25:48,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T05:25:48.832Z] 2022-10-12 05:25:48,459 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver/PR-1234 [2022-10-12T05:25:48.832Z] 0.0.0 [Pipeline] } [2022-10-12T05:25:48.864Z] $ docker exec --env ******** --env ******** d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 ssh-agent -k [2022-10-12T05:25:48.973Z] unset SSH_AUTH_SOCK; [2022-10-12T05:25:48.974Z] unset SSH_AGENT_PID; [2022-10-12T05:25:48.975Z] echo Agent pid 76 killed; [2022-10-12T05:25:48.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T05:25:49.394Z] + git semver [Pipeline] } [2022-10-12T05:25:49.679Z] $ docker stop --time=1 d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 [2022-10-12T05:25:50.987Z] $ docker rm -f d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T05:25:51.392Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T05:25:51.626Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T05:25:51.642Z] [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-12T05:25:52.217Z] provisioning config files... [2022-10-12T05:25:52.227Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/config18096334756409375568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:25:52.572Z] ---> docker-login.sh [2022-10-12T05:25:52.572Z] nexus3.edgexfoundry.org:10001 [2022-10-12T05:25:52.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:52.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:52.572Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:52.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:52.572Z] [2022-10-12T05:25:52.572Z] Login Succeeded [2022-10-12T05:25:52.572Z] nexus3.edgexfoundry.org:10002 [2022-10-12T05:25:52.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:52.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:52.572Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:52.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:52.572Z] [2022-10-12T05:25:52.572Z] Login Succeeded [2022-10-12T05:25:52.572Z] nexus3.edgexfoundry.org:10003 [2022-10-12T05:25:52.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:52.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:52.832Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:52.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:52.832Z] [2022-10-12T05:25:52.832Z] Login Succeeded [2022-10-12T05:25:52.832Z] nexus3.edgexfoundry.org:10004 [2022-10-12T05:25:52.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:52.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:52.832Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:52.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:52.832Z] [2022-10-12T05:25:52.832Z] Login Succeeded [2022-10-12T05:25:52.832Z] docker.io [2022-10-12T05:25:53.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:25:53.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:25:53.351Z] Configure a credential helper to remove this warning. See [2022-10-12T05:25:53.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:25:53.352Z] [2022-10-12T05:25:53.352Z] Login Succeeded [2022-10-12T05:25:53.352Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T05:25:53.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T05:25:53.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T05:25:53.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T05:25:53.657Z] ========================================================= [2022-10-12T05:25:53.657Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T05:25:53.657Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:25:54.132Z] + 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-12T05:25:54.132Z] Sending build context to Docker daemon 10.01MB [2022-10-12T05:25:54.132Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T05:25:54.132Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-12T05:25:54.132Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T05:25:54.132Z] 213ec9aee27d: Pulling fs layer [2022-10-12T05:25:54.132Z] 4583459ba037: Pulling fs layer [2022-10-12T05:25:54.132Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T05:25:54.132Z] 53926ce57604: Pulling fs layer [2022-10-12T05:25:54.132Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T05:25:54.132Z] 30f14e443154: Pulling fs layer [2022-10-12T05:25:54.132Z] 801331c1e519: Pulling fs layer [2022-10-12T05:25:54.132Z] 53926ce57604: Waiting [2022-10-12T05:25:54.132Z] 30f14e443154: Waiting [2022-10-12T05:25:54.132Z] 21b2b0c7a3f4: Waiting [2022-10-12T05:25:54.132Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T05:25:54.132Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T05:25:54.132Z] 801331c1e519: Waiting [2022-10-12T05:25:54.132Z] 99cc6dd402b0: Waiting [2022-10-12T05:25:54.132Z] 7d9ed39f4882: Waiting [2022-10-12T05:25:54.393Z] 93c1e223e6f2: Verifying Checksum [2022-10-12T05:25:54.393Z] 93c1e223e6f2: Download complete [2022-10-12T05:25:54.393Z] 4583459ba037: Verifying Checksum [2022-10-12T05:25:54.393Z] 4583459ba037: Download complete [2022-10-12T05:25:54.393Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-12T05:25:54.393Z] 21b2b0c7a3f4: Download complete [2022-10-12T05:25:54.393Z] 30f14e443154: Download complete [2022-10-12T05:25:54.393Z] 213ec9aee27d: Verifying Checksum [2022-10-12T05:25:54.393Z] 213ec9aee27d: Download complete [2022-10-12T05:25:54.393Z] 801331c1e519: Verifying Checksum [2022-10-12T05:25:54.393Z] 801331c1e519: Download complete [2022-10-12T05:25:54.393Z] 213ec9aee27d: Pull complete [2022-10-12T05:25:54.659Z] 4583459ba037: Pull complete [2022-10-12T05:25:54.659Z] 93c1e223e6f2: Pull complete [2022-10-12T05:25:54.921Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T05:25:54.921Z] 7d9ed39f4882: Download complete [2022-10-12T05:25:54.921Z] 99cc6dd402b0: Verifying Checksum [2022-10-12T05:25:54.921Z] 99cc6dd402b0: Download complete [2022-10-12T05:25:55.182Z] 53926ce57604: Verifying Checksum [2022-10-12T05:25:55.182Z] 53926ce57604: Download complete [2022-10-12T05:25:59.371Z] 53926ce57604: Pull complete [2022-10-12T05:25:59.371Z] 21b2b0c7a3f4: Pull complete [2022-10-12T05:25:59.371Z] 30f14e443154: Pull complete [2022-10-12T05:25:59.371Z] 801331c1e519: Pull complete [2022-10-12T05:26:01.269Z] 99cc6dd402b0: Pull complete [2022-10-12T05:26:01.836Z] 7d9ed39f4882: Pull complete [2022-10-12T05:26:01.836Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T05:26:01.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T05:26:01.836Z] ---> 1dedd983c030 [2022-10-12T05:26:01.836Z] Step 3/11 : ARG MAKE=make build [2022-10-12T05:26:07.049Z] Still waiting to schedule task [2022-10-12T05:26:07.049Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-12T05:26:07.110Z] ---> Running in 548e9cfe162a [2022-10-12T05:26:07.110Z] Removing intermediate container 548e9cfe162a [2022-10-12T05:26:07.110Z] ---> 3f9faafa64fa [2022-10-12T05:26:07.110Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-12T05:26:07.110Z] ---> Running in 51e598716cd2 [2022-10-12T05:26:07.110Z] Removing intermediate container 51e598716cd2 [2022-10-12T05:26:07.110Z] ---> ffd53f2d65e1 [2022-10-12T05:26:07.110Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T05:26:07.110Z] ---> Running in 188e2f7d8e84 [2022-10-12T05:26:07.110Z] Removing intermediate container 188e2f7d8e84 [2022-10-12T05:26:07.110Z] ---> 11eba9ac307b [2022-10-12T05:26:07.110Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T05:26:07.110Z] ---> Running in 7132b9f63dd4 [2022-10-12T05:26:07.110Z] Removing intermediate container 7132b9f63dd4 [2022-10-12T05:26:07.110Z] ---> e3a640b0995b [2022-10-12T05:26:07.110Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-12T05:26:07.110Z] ---> Running in 36c608ee0602 [2022-10-12T05:26:07.369Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T05:26:08.307Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T05:26:08.569Z] OK: 211 MiB in 51 packages [2022-10-12T05:26:08.828Z] Removing intermediate container 36c608ee0602 [2022-10-12T05:26:08.828Z] ---> d36d24eff9ff [2022-10-12T05:26:08.828Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-12T05:26:09.088Z] ---> 22829aafd106 [2022-10-12T05:26:09.088Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T05:26:09.088Z] ---> Running in 1bde36bb2d88 [2022-10-12T05:26:35.644Z] Removing intermediate container 1bde36bb2d88 [2022-10-12T05:26:35.644Z] ---> 03cb8e1055c1 [2022-10-12T05:26:35.644Z] Step 10/11 : COPY . . [2022-10-12T05:26:35.644Z] ---> 92657ba44558 [2022-10-12T05:26:35.644Z] Step 11/11 : RUN ${MAKE} [2022-10-12T05:26:35.644Z] ---> Running in 8bbc24c50ea0 [2022-10-12T05:26:35.644Z] noop [2022-10-12T05:26:35.644Z] Removing intermediate container 8bbc24c50ea0 [2022-10-12T05:26:35.644Z] ---> 8b40e36e9c29 [2022-10-12T05:26:35.644Z] Successfully built 8b40e36e9c29 [2022-10-12T05:26:35.644Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:26:36.082Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T05:26:36.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T05:26:36.226Z] prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container [2022-10-12T05:26:36.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T05:26:36.607Z] $ docker top dae3d09fb5776281f92a5a2708108daea42e78ec46f641b7f62b5560f7d8168e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T05:26:36.999Z] + go version [2022-10-12T05:26:36.999Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-12T05:26:37.033Z] $ docker stop --time=1 dae3d09fb5776281f92a5a2708108daea42e78ec46f641b7f62b5560f7d8168e [2022-10-12T05:26:38.315Z] $ docker rm -f dae3d09fb5776281f92a5a2708108daea42e78ec46f641b7f62b5560f7d8168e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:26:39.001Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T05:26:39.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T05:26:39.151Z] prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container [2022-10-12T05:26:39.185Z] $ 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-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T05:26:39.512Z] $ docker top 77082db696414ec26bfd03e195c080365f62b3b5e6470ece440f8e5ec3af173b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T05:26:39.905Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1234 [Pipeline] fileExists [Pipeline] sh [2022-10-12T05:26:40.262Z] + make test [2022-10-12T05:26:40.262Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-12T05:26:46.817Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-12T05:26:59.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-12T05:26:59.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-12T05:26:59.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-12T05:26:59.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-12T05:26:59.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-12T05:26:59.007Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 27.6% of statements [2022-10-12T05:26:59.007Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-10-12T05:26:59.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-12T05:26:59.007Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 60.0% of statements [2022-10-12T05:26:59.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-12T05:26:59.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-12T05:26:59.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.125s coverage: 54.4% of statements [2022-10-12T05:26:59.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-12T05:26:59.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-12T05:26:59.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-12T05:26:59.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-12T05:26:59.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements [2022-10-12T05:26:59.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-12T05:26:59.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-12T05:26:59.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements [2022-10-12T05:26:59.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-12T05:26:59.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-10-12T05:26:59.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-12T05:27:17.642Z] 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-12T05:27:17.642Z] GO111MODULE=on go vet ./... [2022-10-12T05:27:18.209Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T05:27:18.209Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T05:27:18.209Z] ./bin/test-attribution-txt.sh [2022-10-12T05:27:18.209Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-12T05:27:18.467Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-12T05:27:18.467Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-12T05:27:18.467Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-12T05:27:18.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T05:27:18.521Z] $ docker stop --time=1 77082db696414ec26bfd03e195c080365f62b3b5e6470ece440f8e5ec3af173b [2022-10-12T05:27:23.193Z] $ docker rm -f 77082db696414ec26bfd03e195c080365f62b3b5e6470ece440f8e5ec3af173b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T05:27:23.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T05:27:23.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T05:27:24.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T05:27:24.813Z] + ls -al . [2022-10-12T05:27:24.813Z] total 276 [2022-10-12T05:27:24.813Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 05:26 . [2022-10-12T05:27:24.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:25 .. [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 05:25 .dockerignore [2022-10-12T05:27:24.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 05:27 .git [2022-10-12T05:27:24.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:25 .github [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 05:25 .gitignore [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 05:25 .golangci.yml [2022-10-12T05:27:24.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 05:25 .semver [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 05:25 CHANGELOG.md [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 05:25 GOVERNANCE.md [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 05:25 Jenkinsfile [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 05:25 LICENSE [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 05:25 Makefile [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 05:25 OWNERS.md [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 05:25 README.md [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 05:25 VERSION [2022-10-12T05:27:24.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:25 bin [2022-10-12T05:27:24.813Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 05:26 coverage.out [2022-10-12T05:27:24.813Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 05:25 example [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 05:25 go.mod [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 05:25 go.sum [2022-10-12T05:27:24.813Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 05:25 internal [2022-10-12T05:27:24.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:25 openapi [2022-10-12T05:27:24.813Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 05:25 pkg [2022-10-12T05:27:24.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:25 snap [2022-10-12T05:27:24.813Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 05:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:27:25.220Z] + 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=624544a05e8fa8c65c1d4e3398e527d8dc64c10c --label arch=amd64 --label version=0.0.0 . [2022-10-12T05:27:25.220Z] Sending build context to Docker daemon 10.11MB [2022-10-12T05:27:25.220Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T05:27:25.220Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-12T05:27:25.220Z] ---> 8b40e36e9c29 [2022-10-12T05:27:25.220Z] Step 3/25 : ARG MAKE=make build [2022-10-12T05:27:25.480Z] ---> Running in 91e141086a2e [2022-10-12T05:27:25.480Z] Removing intermediate container 91e141086a2e [2022-10-12T05:27:25.480Z] ---> a7391f88e9b8 [2022-10-12T05:27:25.480Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-12T05:27:25.480Z] ---> Running in 72652b415ab0 [2022-10-12T05:27:25.480Z] Removing intermediate container 72652b415ab0 [2022-10-12T05:27:25.480Z] ---> 8822e75a2a60 [2022-10-12T05:27:25.480Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T05:27:25.480Z] ---> Running in 779e42812896 [2022-10-12T05:27:25.740Z] Removing intermediate container 779e42812896 [2022-10-12T05:27:25.740Z] ---> bd772b5d0363 [2022-10-12T05:27:25.740Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T05:27:25.740Z] ---> Running in a8e0f0be4d30 [2022-10-12T05:27:26.307Z] Removing intermediate container a8e0f0be4d30 [2022-10-12T05:27:26.307Z] ---> 7a428255f6df [2022-10-12T05:27:26.307Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-12T05:27:26.307Z] ---> Running in 8b559ec91f1e [2022-10-12T05:27:26.568Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T05:27:27.505Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T05:27:27.763Z] OK: 211 MiB in 51 packages [2022-10-12T05:27:28.021Z] Removing intermediate container 8b559ec91f1e [2022-10-12T05:27:28.021Z] ---> e42fba08a2cc [2022-10-12T05:27:28.021Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-12T05:27:28.280Z] ---> a28d99ed8569 [2022-10-12T05:27:28.280Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T05:27:28.280Z] ---> Running in 8476ee410d9b [2022-10-12T05:27:28.846Z] Removing intermediate container 8476ee410d9b [2022-10-12T05:27:28.846Z] ---> 13bc22f71768 [2022-10-12T05:27:28.846Z] Step 10/25 : COPY . . [2022-10-12T05:27:29.411Z] ---> d8ea817dbea3 [2022-10-12T05:27:29.411Z] Step 11/25 : RUN ${MAKE} [2022-10-12T05:27:29.411Z] ---> Running in d88cd3e378ce [2022-10-12T05:27:29.669Z] 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-12T05:27:37.399Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7732 in /w/workspace/gexfoundry_device-sdk-go_PR-1234 [Pipeline] { [Pipeline] ws [2022-10-12T05:27:37.433Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-12T05:27:37.501Z] The recommended git tool is: git [2022-10-12T05:27:42.263Z] using credential edgex-jenkins-ssh [2022-10-12T05:27:42.281Z] Cloning the remote Git repository [2022-10-12T05:27:42.323Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-12T05:27:42.397Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-12T05:27:42.553Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-12T05:27:42.554Z] > git --version # timeout=10 [2022-10-12T05:27:42.574Z] > git --version # 'git version 2.25.1' [2022-10-12T05:27:42.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T05:27:42.621Z] Verifying host key using known hosts file [2022-10-12T05:27:42.811Z] 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-12T05:27:42.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T05:27:44.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-12T05:27:44.453Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T05:27:45.984Z] Merging remotes/origin/main commit 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df into PR head commit 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [2022-10-12T05:27:45.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-12T05:27:45.286Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-12T05:27:45.287Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T05:27:45.292Z] Verifying host key using known hosts file [2022-10-12T05:27:45.298Z] 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-12T05:27:45.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1234/head:refs/remotes/origin/PR-1234 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-12T05:27:46.001Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T05:27:46.029Z] > git checkout -f 624544a05e8fa8c65c1d4e3398e527d8dc64c10c # timeout=10 [2022-10-12T05:27:46.144Z] > git remote # timeout=10 [2022-10-12T05:27:46.162Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T05:27:46.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T05:27:46.190Z] Verifying host key using known hosts file [2022-10-12T05:27:46.193Z] 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-12T05:27:46.202Z] > git merge 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 [2022-10-12T05:27:46.251Z] Merge succeeded, producing 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [2022-10-12T05:27:46.251Z] Checking out Revision 624544a05e8fa8c65c1d4e3398e527d8dc64c10c (PR-1234) [2022-10-12T05:27:46.230Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T05:27:46.256Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T05:27:46.272Z] > git checkout -f 624544a05e8fa8c65c1d4e3398e527d8dc64c10c # timeout=10 [2022-10-12T05:27:47.736Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-12T05:27:49.764Z] Commit message: "fix: return BaseResponse in set command response envelope" [2022-10-12T05:27:49.814Z] > git --version # timeout=10 [2022-10-12T05:27:49.827Z] > git --version # 'git version 2.25.1' [2022-10-12T05:27:49.845Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T05:27:50.965Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T05:27:50.965Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T05:27:50.965Z] Dload Upload Total Spent Left Speed [2022-10-12T05:27:50.965Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 97689 [Pipeline] sh [2022-10-12T05:27:51.696Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T05:27:51.920Z] Removing intermediate container d88cd3e378ce [2022-10-12T05:27:51.920Z] ---> 8c3fdd1520fd [2022-10-12T05:27:51.920Z] Step 12/25 : FROM alpine:3.16 [2022-10-12T05:27:51.920Z] 3.16: Pulling from library/alpine [2022-10-12T05:27:51.920Z] 213ec9aee27d: Already exists [2022-10-12T05:27:52.052Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-12T05:27:52.052Z] + sudo tee /etc/docker/daemon.new [2022-10-12T05:27:52.052Z] { [2022-10-12T05:27:52.052Z] "registry-mirrors": [ [2022-10-12T05:27:52.052Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T05:27:52.052Z] ], [2022-10-12T05:27:52.052Z] "bip": "10.250.0.254/24", [2022-10-12T05:27:52.052Z] "hosts": [ [2022-10-12T05:27:52.052Z] "tcp://0.0.0.0:5555", [2022-10-12T05:27:52.052Z] "unix:///var/run/docker.sock" [2022-10-12T05:27:52.052Z] ], [2022-10-12T05:27:52.052Z] "mtu": 1458, [2022-10-12T05:27:52.052Z] "selinux-enabled": true, [2022-10-12T05:27:52.052Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T05:27:52.052Z] } [Pipeline] sh [2022-10-12T05:27:52.178Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T05:27:52.178Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T05:27:52.178Z] ---> 9c6f07244728 [2022-10-12T05:27:52.178Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T05:27:52.178Z] ---> Running in 75e4d8b0e3af [2022-10-12T05:27:52.178Z] Removing intermediate container 75e4d8b0e3af [2022-10-12T05:27:52.178Z] ---> 18953ee94555 [2022-10-12T05:27:52.178Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T05:27:52.178Z] ---> Running in 530b0b686156 [2022-10-12T05:27:52.390Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T05:27:52.735Z] + sudo service docker restart [2022-10-12T05:27:52.744Z] Removing intermediate container 530b0b686156 [2022-10-12T05:27:52.744Z] ---> 22c77d91b959 [2022-10-12T05:27:52.744Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-12T05:27:52.744Z] ---> Running in c453d0d504d1 [2022-10-12T05:27:53.002Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T05:27:53.939Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T05:27:54.200Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T05:27:54.200Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-12T05:27:54.460Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T05:27:54.460Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-12T05:27:54.718Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-12T05:27:54.719Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T05:27:54.719Z] OK: 8 MiB in 19 packages [2022-10-12T05:27:54.976Z] Removing intermediate container c453d0d504d1 [2022-10-12T05:27:54.976Z] ---> b0b58ae97176 [2022-10-12T05:27:54.976Z] Step 16/25 : WORKDIR / [2022-10-12T05:27:55.234Z] ---> Running in e25a561e3041 [2022-10-12T05:27:55.234Z] Removing intermediate container e25a561e3041 [2022-10-12T05:27:55.234Z] ---> 56412b057bac [2022-10-12T05:27:55.234Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-12T05:27:55.234Z] ---> 54d54b48c250 [2022-10-12T05:27:55.234Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-12T05:27:56.166Z] ---> 30b0ffc7c5e6 [2022-10-12T05:27:56.166Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-12T05:27:56.166Z] ---> 27f9b124b976 [2022-10-12T05:27:56.166Z] Step 20/25 : EXPOSE 59999 [2022-10-12T05:27:56.166Z] ---> Running in b90572ff0c69 [2022-10-12T05:27:56.166Z] Removing intermediate container b90572ff0c69 [2022-10-12T05:27:56.166Z] ---> a83b5a3894c1 [2022-10-12T05:27:56.167Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-12T05:27:56.425Z] ---> Running in d3c1d1fd02de [2022-10-12T05:27:56.425Z] Removing intermediate container d3c1d1fd02de [2022-10-12T05:27:56.425Z] ---> 5781a6f8e3af [2022-10-12T05:27:56.425Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T05:27:56.425Z] ---> Running in a7a5fd424c1b [2022-10-12T05:27:56.425Z] Removing intermediate container a7a5fd424c1b [2022-10-12T05:27:56.425Z] ---> c18f717bf4ec [2022-10-12T05:27:56.425Z] Step 23/25 : LABEL arch=amd64 [2022-10-12T05:27:56.425Z] ---> Running in c1ac4e7ef43b [2022-10-12T05:27:56.683Z] Removing intermediate container c1ac4e7ef43b [2022-10-12T05:27:56.683Z] ---> f469c03e5fce [2022-10-12T05:27:56.683Z] Step 24/25 : LABEL git_sha=624544a05e8fa8c65c1d4e3398e527d8dc64c10c [2022-10-12T05:27:56.683Z] ---> Running in 3b399c79de71 [2022-10-12T05:27:56.683Z] Removing intermediate container 3b399c79de71 [2022-10-12T05:27:56.683Z] ---> 0b905091f7bf [2022-10-12T05:27:56.683Z] Step 25/25 : LABEL version=0.0.0 [2022-10-12T05:27:56.683Z] ---> Running in bc1b57068029 [2022-10-12T05:27:56.683Z] Removing intermediate container bc1b57068029 [2022-10-12T05:27:56.683Z] ---> 5bacff42c30b [2022-10-12T05:27:56.683Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T05:27:56.683Z] Successfully built 5bacff42c30b [2022-10-12T05:27:56.683Z] 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] { [Pipeline] sh [2022-10-12T05:27:57.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T05:27:57.545Z] [2022-10-12T05:27:57.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:27:57.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T05:27:57.920Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T05:27:57.920Z] 5eb5b503b376: Pulling fs layer [2022-10-12T05:27:57.920Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T05:27:57.920Z] ec43610c2a17: Pulling fs layer [2022-10-12T05:27:57.920Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T05:27:57.920Z] 33b1e0a273af: Pulling fs layer [2022-10-12T05:27:57.920Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T05:27:57.920Z] 2f39f015ded8: Pulling fs layer [2022-10-12T05:27:57.920Z] 3a2ae6a8a46f: Waiting [2022-10-12T05:27:57.920Z] 33b1e0a273af: Waiting [2022-10-12T05:27:57.920Z] 5d3b04190fa2: Waiting [2022-10-12T05:27:57.920Z] 2f39f015ded8: Waiting [2022-10-12T05:27:57.920Z] 5c69ac0246d0: Verifying Checksum [2022-10-12T05:27:57.920Z] 5c69ac0246d0: Download complete [2022-10-12T05:27:57.920Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T05:27:57.920Z] 3a2ae6a8a46f: Download complete [2022-10-12T05:27:57.920Z] 33b1e0a273af: Download complete [2022-10-12T05:27:58.180Z] 5d3b04190fa2: Verifying Checksum [2022-10-12T05:27:58.180Z] 5d3b04190fa2: Download complete [2022-10-12T05:27:58.180Z] ec43610c2a17: Verifying Checksum [2022-10-12T05:27:58.180Z] ec43610c2a17: Download complete [2022-10-12T05:27:58.180Z] 5eb5b503b376: Verifying Checksum [2022-10-12T05:27:58.180Z] 5eb5b503b376: Download complete [2022-10-12T05:27:58.746Z] 2f39f015ded8: Download complete [2022-10-12T05:27:59.680Z] 5eb5b503b376: Pull complete [2022-10-12T05:27:59.680Z] 5c69ac0246d0: Pull complete [2022-10-12T05:28:00.247Z] ec43610c2a17: Pull complete [2022-10-12T05:28:00.247Z] 3a2ae6a8a46f: Pull complete [2022-10-12T05:28:00.506Z] 33b1e0a273af: Pull complete [2022-10-12T05:28:00.506Z] 5d3b04190fa2: Pull complete [2022-10-12T05:28:05.770Z] 2f39f015ded8: Pull complete [2022-10-12T05:28:05.770Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T05:28:05.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T05:28:05.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T05:28:06.009Z] prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container [2022-10-12T05:28:06.037Z] $ 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-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T05:28:10.253Z] $ docker top cbec61ec23bb041c8bf4c55c143986928496ba948e7804191373e6cc78cc0a82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:28:10.718Z] ---> job-cost.sh [2022-10-12T05:28:10.718Z] lf-activate-venv: SKIPPING [2022-10-12T05:28:10.718Z] INFO: No Stack... [2022-10-12T05:28:11.040Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T05:28:11.115Z] provisioning config files... [2022-10-12T05:28:11.145Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12755102270322521567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:28:11.298Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T05:28:11.554Z] ---> docker-login.sh [2022-10-12T05:28:11.554Z] nexus3.edgexfoundry.org:10001 [2022-10-12T05:28:11.632Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives/cost.csv [2022-10-12T05:28:11.632Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T05:28:11.667Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [2022-10-12T05:28:11.672Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] did not exist. Created. [2022-10-12T05:28:11.672Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T05:28:12.067Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T05:28:12.123Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T05:28:12.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:28:12.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:28:12.146Z] Configure a credential helper to remove this warning. See [2022-10-12T05:28:12.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:28:12.146Z] [2022-10-12T05:28:12.146Z] Login Succeeded [2022-10-12T05:28:12.146Z] nexus3.edgexfoundry.org:10002 [2022-10-12T05:28:12.148Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T05:28:12.247Z] $ docker stop --time=1 cbec61ec23bb041c8bf4c55c143986928496ba948e7804191373e6cc78cc0a82 [2022-10-12T05:28:12.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:28:12.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:28:12.685Z] Configure a credential helper to remove this warning. See [2022-10-12T05:28:12.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:28:12.685Z] [2022-10-12T05:28:12.685Z] Login Succeeded [2022-10-12T05:28:12.685Z] nexus3.edgexfoundry.org:10003 [2022-10-12T05:28:12.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:28:12.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:28:12.958Z] Configure a credential helper to remove this warning. See [2022-10-12T05:28:12.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:28:12.958Z] [2022-10-12T05:28:12.958Z] Login Succeeded [2022-10-12T05:28:12.958Z] nexus3.edgexfoundry.org:10004 [2022-10-12T05:28:13.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T05:28:13.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:28:13.238Z] Configure a credential helper to remove this warning. See [2022-10-12T05:28:13.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:28:13.238Z] [2022-10-12T05:28:13.238Z] Login Succeeded [2022-10-12T05:28:13.238Z] docker.io [2022-10-12T05:28:13.402Z] $ docker rm -f cbec61ec23bb041c8bf4c55c143986928496ba948e7804191373e6cc78cc0a82 [2022-10-12T05:28:13.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T05:28:14.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T05:28:14.095Z] Configure a credential helper to remove this warning. See [2022-10-12T05:28:14.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T05:28:14.095Z] [2022-10-12T05:28:14.095Z] Login Succeeded [2022-10-12T05:28:14.095Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T05:28:14.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T05:28:14.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T05:28:14.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T05:28:14.453Z] ========================================================= [2022-10-12T05:28:14.453Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T05:28:14.453Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:28:14.934Z] + 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-12T05:28:15.202Z] Sending build context to Docker daemon 5.382MB [2022-10-12T05:28:15.202Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T05:28:15.202Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-12T05:28:15.472Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T05:28:15.472Z] 9b18e9b68314: Pulling fs layer [2022-10-12T05:28:15.472Z] d32db5db7311: Pulling fs layer [2022-10-12T05:28:15.472Z] d0c4b47475fc: Pulling fs layer [2022-10-12T05:28:15.472Z] 5831b945b038: Pulling fs layer [2022-10-12T05:28:15.472Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T05:28:15.472Z] e10730c5d714: Pulling fs layer [2022-10-12T05:28:15.472Z] 5dd5c2283517: Pulling fs layer [2022-10-12T05:28:15.472Z] d5ac0230b979: Pulling fs layer [2022-10-12T05:28:15.472Z] 5831b945b038: Waiting [2022-10-12T05:28:15.472Z] 86bbec2aaacd: Waiting [2022-10-12T05:28:15.472Z] e10730c5d714: Waiting [2022-10-12T05:28:15.472Z] 5dd5c2283517: Waiting [2022-10-12T05:28:15.472Z] d5ac0230b979: Waiting [2022-10-12T05:28:15.472Z] d0c4b47475fc: Download complete [2022-10-12T05:28:15.472Z] d32db5db7311: Verifying Checksum [2022-10-12T05:28:15.472Z] d32db5db7311: Download complete [2022-10-12T05:28:15.472Z] 86bbec2aaacd: Verifying Checksum [2022-10-12T05:28:15.472Z] 86bbec2aaacd: Download complete [2022-10-12T05:28:15.472Z] e10730c5d714: Verifying Checksum [2022-10-12T05:28:15.472Z] e10730c5d714: Download complete [2022-10-12T05:28:15.472Z] 9b18e9b68314: Verifying Checksum [2022-10-12T05:28:16.451Z] 9b18e9b68314: Pull complete [2022-10-12T05:28:16.723Z] d5ac0230b979: Verifying Checksum [2022-10-12T05:28:16.723Z] d5ac0230b979: Download complete [2022-10-12T05:28:17.006Z] d32db5db7311: Pull complete [2022-10-12T05:28:17.278Z] d0c4b47475fc: Pull complete [2022-10-12T05:28:17.868Z] 5dd5c2283517: Verifying Checksum [2022-10-12T05:28:17.868Z] 5dd5c2283517: Download complete [2022-10-12T05:28:18.458Z] 5831b945b038: Verifying Checksum [2022-10-12T05:28:18.458Z] 5831b945b038: Download complete [2022-10-12T05:28:30.797Z] 5831b945b038: Pull complete [2022-10-12T05:28:30.797Z] 86bbec2aaacd: Pull complete [2022-10-12T05:28:30.797Z] e10730c5d714: Pull complete [2022-10-12T05:28:37.461Z] 5dd5c2283517: Pull complete [2022-10-12T05:28:38.882Z] d5ac0230b979: Pull complete [2022-10-12T05:28:38.882Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T05:28:38.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T05:28:38.882Z] ---> 59b3b1a385d4 [2022-10-12T05:28:38.882Z] Step 3/11 : ARG MAKE=make build [2022-10-12T05:28:40.835Z] ---> Running in 0a4bfdc445d8 [2022-10-12T05:28:40.835Z] Removing intermediate container 0a4bfdc445d8 [2022-10-12T05:28:40.835Z] ---> 8bd25dad75d9 [2022-10-12T05:28:40.835Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-12T05:28:40.835Z] ---> Running in 2b4b2c545518 [2022-10-12T05:28:41.104Z] Removing intermediate container 2b4b2c545518 [2022-10-12T05:28:41.104Z] ---> de70c3907d24 [2022-10-12T05:28:41.104Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T05:28:41.372Z] ---> Running in 8cee2f2b7797 [2022-10-12T05:28:41.640Z] Removing intermediate container 8cee2f2b7797 [2022-10-12T05:28:41.640Z] ---> c5bc807f7bbc [2022-10-12T05:28:41.640Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T05:28:41.640Z] ---> Running in 0575c3269afe [2022-10-12T05:28:43.603Z] Removing intermediate container 0575c3269afe [2022-10-12T05:28:43.603Z] ---> c2b56c56394c [2022-10-12T05:28:43.603Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-12T05:28:43.603Z] ---> Running in abc0d18f5039 [2022-10-12T05:28:44.573Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T05:28:45.539Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T05:28:46.122Z] OK: 221 MiB in 51 packages [2022-10-12T05:28:47.087Z] Removing intermediate container abc0d18f5039 [2022-10-12T05:28:47.087Z] ---> fbb7b4585090 [2022-10-12T05:28:47.087Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-12T05:28:47.676Z] ---> 571d431fb4c6 [2022-10-12T05:28:47.676Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T05:28:47.676Z] ---> Running in fdf18e4004fc [2022-10-12T05:29:34.548Z] Removing intermediate container fdf18e4004fc [2022-10-12T05:29:34.548Z] ---> 0b7c89a1bfad [2022-10-12T05:29:34.548Z] Step 10/11 : COPY . . [2022-10-12T05:29:34.548Z] ---> 1976d2c472fa [2022-10-12T05:29:34.548Z] Step 11/11 : RUN ${MAKE} [2022-10-12T05:29:34.548Z] ---> Running in cc06fa1432e1 [2022-10-12T05:29:34.548Z] noop [2022-10-12T05:29:35.129Z] Removing intermediate container cc06fa1432e1 [2022-10-12T05:29:35.129Z] ---> 4de98bed0082 [2022-10-12T05:29:35.129Z] Successfully built 4de98bed0082 [2022-10-12T05:29:35.129Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:29:35.599Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T05:29:35.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T05:29:35.832Z] prd-ubuntu20.04-docker-arm64-4c-16g-7732 does not seem to be running inside a container [2022-10-12T05:29:35.889Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T05:29:36.915Z] $ docker top f27d46cf00cda10670ef53645a4a4c25bae06e7156f17130c7ab0b534f7dbf75 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T05:29:37.762Z] + go version [2022-10-12T05:29:37.763Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T05:29:37.797Z] $ docker stop --time=1 f27d46cf00cda10670ef53645a4a4c25bae06e7156f17130c7ab0b534f7dbf75 [2022-10-12T05:29:39.345Z] $ docker rm -f f27d46cf00cda10670ef53645a4a4c25bae06e7156f17130c7ab0b534f7dbf75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:29:40.226Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T05:29:40.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T05:29:40.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-7732 does not seem to be running inside a container [2022-10-12T05:29:40.533Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T05:29:41.734Z] $ docker top bc1e984bed67ae69bdb068339014a1412e7641c3fd03f0203c783462d638abb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T05:29:42.280Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-12T05:29:42.927Z] + make test [2022-10-12T05:29:43.196Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-12T05:30:15.423Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-12T05:32:07.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-12T05:32:07.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-12T05:32:07.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-12T05:32:07.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-12T05:32:07.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-12T05:32:07.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.357s coverage: 27.6% of statements [2022-10-12T05:32:07.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.450s coverage: 78.9% of statements [2022-10-12T05:32:07.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-12T05:32:07.721Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.466s coverage: 60.0% of statements [2022-10-12T05:32:07.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-12T05:32:07.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-12T05:32:17.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.948s coverage: 54.4% of statements [2022-10-12T05:32:17.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-12T05:32:17.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-12T05:32:17.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-12T05:32:17.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-12T05:32:18.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.492s coverage: 65.1% of statements [2022-10-12T05:32:18.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-12T05:32:18.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-12T05:32:18.663Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.759s coverage: 89.2% of statements [2022-10-12T05:32:18.663Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-12T05:32:20.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.243s coverage: 4.7% of statements [2022-10-12T05:32:20.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-12T05:32:20.666Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T05:32:20.666Z] GO111MODULE=on go vet ./... [2022-10-12T05:33:57.305Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T05:33:57.305Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T05:33:57.305Z] ./bin/test-attribution-txt.sh [2022-10-12T05:33:57.305Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-12T05:33:57.305Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-12T05:33:57.305Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-12T05:33:57.305Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-12T05:33:57.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T05:33:57.367Z] $ docker stop --time=1 bc1e984bed67ae69bdb068339014a1412e7641c3fd03f0203c783462d638abb5 [2022-10-12T05:33:59.163Z] $ docker rm -f bc1e984bed67ae69bdb068339014a1412e7641c3fd03f0203c783462d638abb5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T05:34:00.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T05:34:00.581Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T05:34:01.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T05:34:01.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T05:34:02.049Z] + ls -al . [2022-10-12T05:34:02.049Z] total 272 [2022-10-12T05:34:02.049Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 05:29 . [2022-10-12T05:34:02.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:27 .. [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 05:27 .dockerignore [2022-10-12T05:34:02.049Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 05:27 .git [2022-10-12T05:34:02.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:27 .github [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 05:27 .gitignore [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 05:27 .golangci.yml [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 05:27 CHANGELOG.md [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 05:27 GOVERNANCE.md [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 05:27 Jenkinsfile [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 05:27 LICENSE [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 05:27 Makefile [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 05:27 OWNERS.md [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 05:27 README.md [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 05:25 VERSION [2022-10-12T05:34:02.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:27 bin [2022-10-12T05:34:02.049Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 05:32 coverage.out [2022-10-12T05:34:02.049Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 05:27 example [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 05:27 go.mod [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 05:27 go.sum [2022-10-12T05:34:02.049Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 05:27 internal [2022-10-12T05:34:02.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:27 openapi [2022-10-12T05:34:02.049Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 05:27 pkg [2022-10-12T05:34:02.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:27 snap [2022-10-12T05:34:02.049Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:34:02.469Z] + 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=624544a05e8fa8c65c1d4e3398e527d8dc64c10c --label arch=arm64 --label version=0.0.0 . [2022-10-12T05:34:03.064Z] Sending build context to Docker daemon 5.484MB [2022-10-12T05:34:03.064Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T05:34:03.064Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-12T05:34:03.064Z] ---> 4de98bed0082 [2022-10-12T05:34:03.064Z] Step 3/25 : ARG MAKE=make build [2022-10-12T05:34:03.331Z] ---> Running in d854988c0149 [2022-10-12T05:34:04.290Z] Removing intermediate container d854988c0149 [2022-10-12T05:34:04.290Z] ---> 63b8c3bf7cbc [2022-10-12T05:34:04.290Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-12T05:34:04.561Z] ---> Running in ec8236166c15 [2022-10-12T05:34:05.517Z] Removing intermediate container ec8236166c15 [2022-10-12T05:34:05.517Z] ---> 4af76e9f0de1 [2022-10-12T05:34:05.517Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T05:34:05.517Z] ---> Running in d34c3168a5c9 [2022-10-12T05:34:05.784Z] Removing intermediate container d34c3168a5c9 [2022-10-12T05:34:05.784Z] ---> 4516a431e153 [2022-10-12T05:34:05.784Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T05:34:05.784Z] ---> Running in 9df669bb703f [2022-10-12T05:34:07.189Z] Removing intermediate container 9df669bb703f [2022-10-12T05:34:07.189Z] ---> e1b120dac3ce [2022-10-12T05:34:07.189Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-12T05:34:07.461Z] ---> Running in bb17cc3ebac2 [2022-10-12T05:34:08.417Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T05:34:08.995Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T05:34:09.947Z] OK: 221 MiB in 51 packages [2022-10-12T05:34:10.905Z] Removing intermediate container bb17cc3ebac2 [2022-10-12T05:34:10.905Z] ---> ff0bdef1b227 [2022-10-12T05:34:10.905Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-12T05:34:11.171Z] ---> 04ea108e2381 [2022-10-12T05:34:11.171Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T05:34:11.171Z] ---> Running in f3776cef4f77 [2022-10-12T05:34:13.112Z] Removing intermediate container f3776cef4f77 [2022-10-12T05:34:13.112Z] ---> 0188fe107070 [2022-10-12T05:34:13.112Z] Step 10/25 : COPY . . [2022-10-12T05:34:14.074Z] ---> 5b7348979edc [2022-10-12T05:34:14.074Z] Step 11/25 : RUN ${MAKE} [2022-10-12T05:34:14.074Z] ---> Running in eb7af2ca210b [2022-10-12T05:34:14.656Z] 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-12T05:36:21.303Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-12T05:36:21.303Z] Removing intermediate container eb7af2ca210b [2022-10-12T05:36:21.303Z] ---> 28ebd324891f [2022-10-12T05:36:21.303Z] Step 12/25 : FROM alpine:3.16 [2022-10-12T05:36:21.303Z] 3.16: Pulling from library/alpine [2022-10-12T05:36:21.303Z] 9b18e9b68314: Already exists [2022-10-12T05:36:21.569Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T05:36:21.569Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T05:36:21.569Z] ---> a6215f271958 [2022-10-12T05:36:21.569Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T05:36:21.569Z] ---> Running in ea6b34ec40d6 [2022-10-12T05:36:21.836Z] Removing intermediate container ea6b34ec40d6 [2022-10-12T05:36:21.836Z] ---> c39bd2db7474 [2022-10-12T05:36:21.836Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T05:36:21.836Z] ---> Running in 78e829f364a1 [2022-10-12T05:36:23.784Z] Removing intermediate container 78e829f364a1 [2022-10-12T05:36:23.784Z] ---> 5ece130ddd80 [2022-10-12T05:36:23.784Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-12T05:36:23.784Z] ---> Running in 970f352adf06 [2022-10-12T05:36:24.370Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T05:36:25.328Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T05:36:26.286Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T05:36:26.558Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-12T05:36:26.558Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T05:36:26.824Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-12T05:36:26.824Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-12T05:36:26.824Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T05:36:27.092Z] OK: 8 MiB in 19 packages [2022-10-12T05:36:28.053Z] Removing intermediate container 970f352adf06 [2022-10-12T05:36:28.053Z] ---> ee7280c84777 [2022-10-12T05:36:28.053Z] Step 16/25 : WORKDIR / [2022-10-12T05:36:28.053Z] ---> Running in c42f16fce234 [2022-10-12T05:36:28.320Z] Removing intermediate container c42f16fce234 [2022-10-12T05:36:28.320Z] ---> 71e6f738d272 [2022-10-12T05:36:28.320Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-12T05:36:28.587Z] ---> ca993d5b4db7 [2022-10-12T05:36:28.587Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-12T05:36:29.997Z] ---> c3d4714b085b [2022-10-12T05:36:29.997Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-12T05:36:30.582Z] ---> 853622c9d179 [2022-10-12T05:36:30.582Z] Step 20/25 : EXPOSE 59999 [2022-10-12T05:36:30.582Z] ---> Running in 317e6acc27d2 [2022-10-12T05:36:30.849Z] Removing intermediate container 317e6acc27d2 [2022-10-12T05:36:30.849Z] ---> 0fbaa5e47a87 [2022-10-12T05:36:30.849Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-12T05:36:30.849Z] ---> Running in 46b8249fe6b1 [2022-10-12T05:36:31.117Z] Removing intermediate container 46b8249fe6b1 [2022-10-12T05:36:31.117Z] ---> 58d78c649ac2 [2022-10-12T05:36:31.117Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T05:36:31.117Z] ---> Running in 79b4dcb1efb9 [2022-10-12T05:36:31.392Z] Removing intermediate container 79b4dcb1efb9 [2022-10-12T05:36:31.392Z] ---> 5d505ee6e5de [2022-10-12T05:36:31.392Z] Step 23/25 : LABEL arch=arm64 [2022-10-12T05:36:31.661Z] ---> Running in e0b16758b74e [2022-10-12T05:36:31.928Z] Removing intermediate container e0b16758b74e [2022-10-12T05:36:31.928Z] ---> 61622e541d79 [2022-10-12T05:36:31.928Z] Step 24/25 : LABEL git_sha=624544a05e8fa8c65c1d4e3398e527d8dc64c10c [2022-10-12T05:36:31.928Z] ---> Running in 23c10f4c3726 [2022-10-12T05:36:32.195Z] Removing intermediate container 23c10f4c3726 [2022-10-12T05:36:32.195Z] ---> 7841134d341a [2022-10-12T05:36:32.195Z] Step 25/25 : LABEL version=0.0.0 [2022-10-12T05:36:32.195Z] ---> Running in 06a0ebec3ab7 [2022-10-12T05:36:32.461Z] Removing intermediate container 06a0ebec3ab7 [2022-10-12T05:36:32.461Z] ---> 7888de9e883b [2022-10-12T05:36:32.461Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T05:36:32.728Z] Successfully built 7888de9e883b [2022-10-12T05:36:32.728Z] 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-12T05:36:33.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T05:36:33.541Z] [2022-10-12T05:36:33.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:36:33.935Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T05:36:33.935Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T05:36:33.935Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T05:36:33.935Z] 04944245beec: Pulling fs layer [2022-10-12T05:36:33.935Z] 699f458cf7ca: Pulling fs layer [2022-10-12T05:36:33.935Z] 765212b225bb: Pulling fs layer [2022-10-12T05:36:33.935Z] f23df028b6ca: Pulling fs layer [2022-10-12T05:36:33.935Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T05:36:33.935Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T05:36:33.935Z] 765212b225bb: Waiting [2022-10-12T05:36:33.935Z] f23df028b6ca: Waiting [2022-10-12T05:36:33.935Z] d65c8cfc05b1: Waiting [2022-10-12T05:36:33.935Z] 2437ff75d9bd: Waiting [2022-10-12T05:36:34.201Z] 04944245beec: Verifying Checksum [2022-10-12T05:36:34.201Z] 04944245beec: Download complete [2022-10-12T05:36:34.201Z] 765212b225bb: Verifying Checksum [2022-10-12T05:36:34.201Z] 765212b225bb: Download complete [2022-10-12T05:36:34.201Z] f23df028b6ca: Verifying Checksum [2022-10-12T05:36:34.201Z] f23df028b6ca: Download complete [2022-10-12T05:36:34.201Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T05:36:34.201Z] d65c8cfc05b1: Download complete [2022-10-12T05:36:34.201Z] 699f458cf7ca: Verifying Checksum [2022-10-12T05:36:34.201Z] 699f458cf7ca: Download complete [2022-10-12T05:36:34.781Z] 8998bd30e6a1: Verifying Checksum [2022-10-12T05:36:34.781Z] 8998bd30e6a1: Download complete [2022-10-12T05:36:36.714Z] 2437ff75d9bd: Verifying Checksum [2022-10-12T05:36:36.714Z] 2437ff75d9bd: Download complete [2022-10-12T05:36:38.656Z] 8998bd30e6a1: Pull complete [2022-10-12T05:36:38.923Z] 04944245beec: Pull complete [2022-10-12T05:36:40.329Z] 699f458cf7ca: Pull complete [2022-10-12T05:36:40.597Z] 765212b225bb: Pull complete [2022-10-12T05:36:41.180Z] f23df028b6ca: Pull complete [2022-10-12T05:36:41.446Z] d65c8cfc05b1: Pull complete [2022-10-12T05:36:56.447Z] 2437ff75d9bd: Pull complete [2022-10-12T05:36:56.447Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T05:36:56.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T05:36:56.447Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T05:36:56.773Z] prd-ubuntu20.04-docker-arm64-4c-16g-7732 does not seem to be running inside a container [2022-10-12T05:36:56.828Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-12T05:36:59.399Z] $ docker top 63417c41b596d926414077c8f81e9bf96ea530d772faf03a9838afc2cdce37c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:36:59.980Z] ---> job-cost.sh [2022-10-12T05:37:00.246Z] lf-activate-venv: SKIPPING [2022-10-12T05:37:00.246Z] INFO: No Stack... [2022-10-12T05:37:00.824Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T05:37:01.404Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T05:37:01.738Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-12T05:37:01.738Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T05:37:01.821Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [2022-10-12T05:37:01.826Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] did not exist. Created. [2022-10-12T05:37:01.826Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T05:37:02.555Z] /w/workspace/device-sdk-go/1@tmp/durable-a1faa416/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T05:37:03.222Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T05:37:03.259Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T05:37:03.314Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T05:37:03.329Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T05:37:03.400Z] $ docker stop --time=1 63417c41b596d926414077c8f81e9bf96ea530d772faf03a9838afc2cdce37c3 [2022-10-12T05:37:04.889Z] $ docker rm -f 63417c41b596d926414077c8f81e9bf96ea530d772faf03a9838afc2cdce37c3 [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-12T05:37:05.889Z] provisioning config files... [2022-10-12T05:37:05.896Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/config3871052917351804271tmp [Pipeline] { [Pipeline] sh [2022-10-12T05:37:06.230Z] + set +x [2022-10-12T05:37:06.230Z] + curl -s https://codecov.io/bash [2022-10-12T05:37:06.230Z] + bash -s -- [2022-10-12T05:37:06.230Z] [2022-10-12T05:37:06.230Z] _____ _ [2022-10-12T05:37:06.230Z] / ____| | | [2022-10-12T05:37:06.230Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T05:37:06.230Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T05:37:06.230Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T05:37:06.230Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T05:37:06.230Z] Bash-1.0.6 [2022-10-12T05:37:06.230Z] [2022-10-12T05:37:06.230Z] [2022-10-12T05:37:06.230Z] ==> git version 2.25.1 found [2022-10-12T05:37:06.230Z] ==> 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-12T05:37:06.230Z] Release-Date: 2020-01-08 [2022-10-12T05:37:06.230Z] 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-12T05:37:06.230Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-12T05:37:06.230Z] ==> Jenkins CI detected. [2022-10-12T05:37:06.230Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1234 [2022-10-12T05:37:06.230Z] project root: . [2022-10-12T05:37:06.230Z] --> token set from env [2022-10-12T05:37:06.230Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T05:37:06.230Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T05:37:06.230Z] ==> Python coveragepy not found [2022-10-12T05:37:06.230Z] ==> Searching for coverage reports in: [2022-10-12T05:37:06.230Z] + . [2022-10-12T05:37:06.230Z] -> Found 1 reports [2022-10-12T05:37:06.230Z] ==> Detecting git/mercurial file structure [2022-10-12T05:37:06.489Z] ==> Reading reports [2022-10-12T05:37:06.489Z] + ./coverage.out bytes=101009 [2022-10-12T05:37:06.489Z] ==> Appending adjustments [2022-10-12T05:37:06.489Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T05:37:06.748Z] + Found adjustments [2022-10-12T05:37:06.748Z] ==> Gzipping contents [2022-10-12T05:37:06.748Z] 16K /tmp/codecov.xlztAM.gz [2022-10-12T05:37:06.748Z] ==> Uploading reports [2022-10-12T05:37:06.748Z] url: https://codecov.io [2022-10-12T05:37:06.748Z] query: branch=PR-1234&commit=624544a05e8fa8c65c1d4e3398e527d8dc64c10c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1234&job=&cmd_args= [2022-10-12T05:37:06.748Z] -> Pinging Codecov [2022-10-12T05:37:06.748Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1234&commit=624544a05e8fa8c65c1d4e3398e527d8dc64c10c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1234&job=&cmd_args= [2022-10-12T05:37:07.007Z] -> Uploading to [2022-10-12T05:37:07.007Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/7E55EF52A471D76F132DFD9A03CDDE97/624544a05e8fa8c65c1d4e3398e527d8dc64c10c/f11244c8-c05f-4864-92e7-8335dc5e36b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T053706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b677b7ee96f459ae9ec0b833de91c2e599c408873e396dc2e4777c63183340be [2022-10-12T05:37:07.007Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T05:37:07.007Z] Dload Upload Total Spent Left Speed [2022-10-12T05:37:07.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14602 0 0 100 14602 0 61611 --:--:-- --:--:-- --:--:-- 61611 [2022-10-12T05:37:07.265Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] } [2022-10-12T05:37:07.297Z] 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-12T05:37:09.034Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives ] [2022-10-12T05:37:09.034Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives [2022-10-12T05:37:09.034Z] total 16 [2022-10-12T05:37:09.034Z] drwxr-xr-x 3 root root 4096 Oct 12 05:28 . [2022-10-12T05:37:09.034Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 05:28 .. [2022-10-12T05:37:09.034Z] drwxr-xr-x 2 root root 4096 Oct 12 05:28 cost [2022-10-12T05:37:09.034Z] -rw-r--r-- 1 root root 86 Oct 12 05:28 cost.csv [2022-10-12T05:37:09.034Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives [2022-10-12T05:37:09.034Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives [2022-10-12T05:37:09.034Z] total 16 [2022-10-12T05:37:09.034Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 05:28 . [2022-10-12T05:37:09.034Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 05:28 .. [2022-10-12T05:37:09.034Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 05:28 cost [2022-10-12T05:37:09.034Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 12 05:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:37:09.362Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:37:10.237Z] ---> package-listing.sh [2022-10-12T05:37:10.237Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T05:37:10.237Z] ++ facter osfamily [2022-10-12T05:37:10.497Z] + OS_FAMILY=debian [2022-10-12T05:37:10.497Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1234 [2022-10-12T05:37:10.497Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T05:37:10.497Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T05:37:10.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T05:37:10.497Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T05:37:10.497Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1234 ']' [2022-10-12T05:37:10.497Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T05:37:10.497Z] + case "${OS_FAMILY}" in [2022-10-12T05:37:10.497Z] + dpkg -l [2022-10-12T05:37:10.497Z] + grep '^ii' [2022-10-12T05:37:10.497Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T05:37:10.497Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T05:37:10.497Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T05:37:10.497Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1234 ']' [2022-10-12T05:37:10.497Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives/ [2022-10-12T05:37:10.497Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives/ [Pipeline] echo [2022-10-12T05:37:10.531Z] 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-1234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-12T05:37:10.818Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T05:37:11.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T05:37:11.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T05:37:11.585Z] prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container [2022-10-12T05:37:11.614Z] $ 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-1234/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-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T05:37:11.822Z] $ docker top 182b1f7136e1c32dba738c880bbe4bdeec848336e8d9d591bed8ee9dad024636 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T05:37:12.204Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T05:37:12.508Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T05:37:12.815Z] + ls /var/log/sa-host [2022-10-12T05:37:12.815Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T05:37:13.020Z] provisioning config files... [2022-10-12T05:37:13.028Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/config18012240238916094262tmp [Pipeline] { [Pipeline] echo [2022-10-12T05:37:13.084Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:37:13.392Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T05:37:13.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:37:13.818Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T05:37:13.851Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:37:14.160Z] ---> sudo-logs.sh [2022-10-12T05:37:14.160Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T05:37:14.250Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:37:14.560Z] ---> job-cost.sh [2022-10-12T05:37:14.560Z] lf-activate-venv: SKIPPING [2022-10-12T05:37:14.560Z] DEBUG: total: 0.2199999988079071 [2022-10-12T05:37:14.560Z] INFO: Retrieving Stack Cost... [2022-10-12T05:37:15.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T05:37:15.390Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T05:37:15.429Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T05:37:15.740Z] ---> logs-deploy.sh [2022-10-12T05:37:15.740Z] lf-activate-venv: SKIPPING [2022-10-12T05:37:15.740Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1234/1 [2022-10-12T05:37:15.740Z] INFO: archiving workspace using pattern(s): [2022-10-12T05:37:16.676Z] Archives upload complete. [2022-10-12T05:37:16.676Z] INFO: archiving logs to Nexus