Pull request #1256 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b06b16b52e9c0a9908edac663519e507ae5ee55d+0b0fd8621743a303648e9248d2aa1db21f4d7aab (ca9d88050219b0de0ca403250fc0f78d32205825) 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-ssh15609589059870391758.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh8165652488971750660.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1256/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-1256/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7528588800221369723.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-1256/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6965328066842007240.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh16656813582282249038.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-1256/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-1256/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16151195907872783673.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117808 in /w/workspace/gexfoundry_device-sdk-go_PR-1256 [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-1256 # 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/1256/head:refs/remotes/origin/PR-1256 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit b06b16b52e9c0a9908edac663519e507ae5ee55d Merge succeeded, producing b06b16b52e9c0a9908edac663519e507ae5ee55d Checking out Revision b06b16b52e9c0a9908edac663519e507ae5ee55d (PR-1256) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-02T04:06:23.461Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-02T04:06:23.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b06b16b52e9c0a9908edac663519e507ae5ee55d # 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 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b06b16b52e9c0a9908edac663519e507ae5ee55d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-02T04:06:23.752Z] ========================================================= [2022-11-02T04:06:23.752Z] EdgeX Global Pipelines Version Info [2022-11-02T04:06:23.752Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:06:24.477Z] ------------------- [2022-11-02T04:06:24.477Z] stable info: [2022-11-02T04:06:24.477Z] ------------------- [2022-11-02T04:06:24.477Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-02T04:06:24.477Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T04:06:24.477Z] Message: update stable to v1.0.243 [2022-11-02T04:06:25.049Z] ------------------- [2022-11-02T04:06:25.049Z] experimental info: [2022-11-02T04:06:25.049Z] ------------------- [2022-11-02T04:06:25.049Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-02T04:06:25.049Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T04:06:25.049Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-02T04:06:25.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-02T04:06:25.399Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-02T04:06:25.438Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-02T04:06:25.484Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-02T04:06:25.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-02T04:06:25.572Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-02T04:06:25.614Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-02T04:06:25.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-02T04:06:25.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-02T04:06:25.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-02T04:06:25.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-02T04:06:25.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-02T04:06:25.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-02T04:06:25.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-02T04:06:25.955Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T04:06:25.994Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:06:26.033Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:06:26.073Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:06:26.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-02T04:06:26.157Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-02T04:06:26.200Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-02T04:06:26.238Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-02T04:06:26.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-02T04:06:26.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-02T04:06:26.412Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-02T04:06:26.453Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-02T04:06:26.492Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-02T04:06:26.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1256 [Pipeline] echo [2022-11-02T04:06:26.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1256 [Pipeline] echo [2022-11-02T04:06:26.617Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1256 [Pipeline] echo [2022-11-02T04:06:26.656Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] echo [2022-11-02T04:06:26.699Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b06b16b [Pipeline] echo [2022-11-02T04:06:26.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:06:26.859Z] provisioning config files... [2022-11-02T04:06:26.876Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/config12488470235521736093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:06:27.241Z] ---> docker-login.sh [2022-11-02T04:06:27.241Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:06:27.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:28.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:28.113Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:28.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:28.114Z] [2022-11-02T04:06:28.114Z] Login Succeeded [2022-11-02T04:06:28.114Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:06:28.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:28.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:28.114Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:28.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:28.114Z] [2022-11-02T04:06:28.114Z] Login Succeeded [2022-11-02T04:06:28.114Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:06:28.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:28.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:28.383Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:28.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:28.383Z] [2022-11-02T04:06:28.383Z] Login Succeeded [2022-11-02T04:06:28.383Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:06:28.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:28.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:28.383Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:28.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:28.383Z] [2022-11-02T04:06:28.383Z] Login Succeeded [2022-11-02T04:06:28.383Z] docker.io [2022-11-02T04:06:28.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:28.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:28.907Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:28.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:28.907Z] [2022-11-02T04:06:28.907Z] Login Succeeded [2022-11-02T04:06:28.907Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:06:28.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-02T04:06:29.549Z] + git rev-list -1 --merges b06b16b52e9c0a9908edac663519e507ae5ee55d~1..b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] echo [2022-11-02T04:06:29.594Z] -----------> git rev-list -1 --merges b06b16b52e9c0a9908edac663519e507ae5ee55d~1..b06b16b52e9c0a9908edac663519e507ae5ee55d b06b16b52e9c0a9908edac663519e507ae5ee55d [false] [Pipeline] sh [2022-11-02T04:06:29.897Z] + git log --format=format:%s -1 b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] echo [2022-11-02T04:06:29.932Z] ========================================================= [2022-11-02T04:06:29.932Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-02T04:06:29.932Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:06:30.357Z] + git log --format=format:%s -1 b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] echo [2022-11-02T04:06:30.391Z] [semverPrep] GIT_COMMIT: b06b16b52e9c0a9908edac663519e507ae5ee55d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2022-11-02T04:06:30.424Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-02T04:06:30.791Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-02T04:06:30.791Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-02T04:06:30.791Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-02T04:06:30.791Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-02T04:06:30.791Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-02T04:06:30.791Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-02T04:06:30.791Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:06:31.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:06:31.218Z] [2022-11-02T04:06:31.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:06:31.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:06:31.610Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-02T04:06:31.610Z] b85a868b505f: Pulling fs layer [2022-11-02T04:06:31.610Z] e2be974225ed: Pulling fs layer [2022-11-02T04:06:31.610Z] 339a4e72a1f5: Pulling fs layer [2022-11-02T04:06:31.610Z] 988bab9f4d93: Pulling fs layer [2022-11-02T04:06:31.610Z] 1469e6f7b9e6: Pulling fs layer [2022-11-02T04:06:31.610Z] eaf3925da568: Pulling fs layer [2022-11-02T04:06:31.610Z] bab4dde63d76: Pulling fs layer [2022-11-02T04:06:31.610Z] bde34c3a00c8: Pulling fs layer [2022-11-02T04:06:31.610Z] b352a97aabf1: Pulling fs layer [2022-11-02T04:06:31.610Z] 4872d77fe225: Pulling fs layer [2022-11-02T04:06:31.610Z] 5851b861e8e6: Pulling fs layer [2022-11-02T04:06:31.610Z] 1469e6f7b9e6: Waiting [2022-11-02T04:06:31.610Z] eaf3925da568: Waiting [2022-11-02T04:06:31.610Z] bab4dde63d76: Waiting [2022-11-02T04:06:31.610Z] 4872d77fe225: Waiting [2022-11-02T04:06:31.610Z] bde34c3a00c8: Waiting [2022-11-02T04:06:31.610Z] b352a97aabf1: Waiting [2022-11-02T04:06:31.610Z] 5851b861e8e6: Waiting [2022-11-02T04:06:31.610Z] 988bab9f4d93: Waiting [2022-11-02T04:06:31.610Z] e2be974225ed: Download complete [2022-11-02T04:06:31.610Z] 988bab9f4d93: Verifying Checksum [2022-11-02T04:06:31.610Z] 988bab9f4d93: Download complete [2022-11-02T04:06:31.870Z] 339a4e72a1f5: Verifying Checksum [2022-11-02T04:06:31.870Z] 339a4e72a1f5: Download complete [2022-11-02T04:06:31.870Z] 1469e6f7b9e6: Download complete [2022-11-02T04:06:31.870Z] eaf3925da568: Verifying Checksum [2022-11-02T04:06:31.870Z] eaf3925da568: Download complete [2022-11-02T04:06:31.870Z] bde34c3a00c8: Download complete [2022-11-02T04:06:31.870Z] b352a97aabf1: Download complete [2022-11-02T04:06:31.870Z] 4872d77fe225: Verifying Checksum [2022-11-02T04:06:31.870Z] 4872d77fe225: Download complete [2022-11-02T04:06:31.870Z] 5851b861e8e6: Verifying Checksum [2022-11-02T04:06:31.870Z] 5851b861e8e6: Download complete [2022-11-02T04:06:31.870Z] b85a868b505f: Verifying Checksum [2022-11-02T04:06:31.870Z] b85a868b505f: Download complete [2022-11-02T04:06:32.129Z] bab4dde63d76: Verifying Checksum [2022-11-02T04:06:32.129Z] bab4dde63d76: Download complete [2022-11-02T04:06:33.510Z] b85a868b505f: Pull complete [2022-11-02T04:06:33.510Z] e2be974225ed: Pull complete [2022-11-02T04:06:34.076Z] 339a4e72a1f5: Pull complete [2022-11-02T04:06:34.337Z] 988bab9f4d93: Pull complete [2022-11-02T04:06:34.598Z] 1469e6f7b9e6: Pull complete [2022-11-02T04:06:35.165Z] eaf3925da568: Pull complete [2022-11-02T04:06:37.701Z] bab4dde63d76: Pull complete [2022-11-02T04:06:37.701Z] bde34c3a00c8: Pull complete [2022-11-02T04:06:37.962Z] b352a97aabf1: Pull complete [2022-11-02T04:06:38.221Z] 4872d77fe225: Pull complete [2022-11-02T04:06:38.481Z] 5851b861e8e6: Pull complete [2022-11-02T04:06:38.739Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-02T04:06:38.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:06:38.739Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:06:39.107Z] prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container [2022-11-02T04:06:39.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-02T04:06:44.767Z] $ docker top 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 -eo pid,comm [2022-11-02T04:06:44.816Z] 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-11-02T04:06:44.816Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-02T04:06:44.940Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T04:06:44.940Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T04:06:45.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T04:06:45.067Z] $ docker exec 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 ssh-agent [2022-11-02T04:06:45.168Z] SSH_AUTH_SOCK=/tmp/ssh-K6go2BxAx0sw/agent.31 [2022-11-02T04:06:45.168Z] SSH_AGENT_PID=38 [2022-11-02T04:06:45.175Z] Running ssh-add (command line suppressed) [2022-11-02T04:06:45.273Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/private_key_15488118612730094257.key (/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/private_key_15488118612730094257.key) [2022-11-02T04:06:45.282Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T04:06:45.609Z] + git tag --points-at HEAD [Pipeline] } [2022-11-02T04:06:45.639Z] $ docker exec --env ******** --env ******** 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 ssh-agent -k [2022-11-02T04:06:45.752Z] unset SSH_AUTH_SOCK; [2022-11-02T04:06:45.752Z] unset SSH_AGENT_PID; [2022-11-02T04:06:45.752Z] echo Agent pid 38 killed; [2022-11-02T04:06:45.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-02T04:06:45.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T04:06:45.852Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T04:06:45.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T04:06:45.978Z] $ docker exec 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 ssh-agent [2022-11-02T04:06:46.085Z] SSH_AUTH_SOCK=/tmp/ssh-xmfv9QguMW9f/agent.70 [2022-11-02T04:06:46.085Z] SSH_AGENT_PID=76 [2022-11-02T04:06:46.090Z] Running ssh-add (command line suppressed) [2022-11-02T04:06:46.205Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/private_key_8333203208114952787.key (/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/private_key_8333203208114952787.key) [2022-11-02T04:06:46.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T04:06:46.548Z] + git semver init [2022-11-02T04:06:46.812Z] 2022-11-02 04:06:46,737 [run_init] DEBUG init version:0.0.0 force:False [2022-11-02T04:06:46.812Z] 2022-11-02 04:06:46,739 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver [2022-11-02T04:06:46.812Z] 2022-11-02 04:06:46,740 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver [2022-11-02T04:06:46.812Z] 2022-11-02 04:06:46,740 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1256, universal_newlines=False, shell=None, istream=None) [2022-11-02T04:06:48.193Z] 2022-11-02 04:06:47,777 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256/.git/info/exclude [2022-11-02T04:06:48.193Z] 2022-11-02 04:06:47,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver/PR-1256 with force:False [2022-11-02T04:06:48.193Z] 2022-11-02 04:06:47,778 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver/PR-1256 [2022-11-02T04:06:48.193Z] 2022-11-02 04:06:47,783 [execute] INFO git cat-file --batch-check [2022-11-02T04:06:48.193Z] 2022-11-02 04:06:47,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T04:06:48.193Z] 2022-11-02 04:06:47,790 [execute] INFO git cat-file --batch [2022-11-02T04:06:48.193Z] 2022-11-02 04:06:47,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T04:06:48.193Z] 2022-11-02 04:06:47,796 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver/PR-1256 [2022-11-02T04:06:48.193Z] 0.0.0 [Pipeline] } [2022-11-02T04:06:48.222Z] $ docker exec --env ******** --env ******** 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 ssh-agent -k [2022-11-02T04:06:48.323Z] unset SSH_AUTH_SOCK; [2022-11-02T04:06:48.323Z] unset SSH_AGENT_PID; [2022-11-02T04:06:48.323Z] echo Agent pid 76 killed; [2022-11-02T04:06:48.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-02T04:06:48.773Z] + git semver [Pipeline] } [2022-11-02T04:06:49.059Z] $ docker stop --time=1 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 [2022-11-02T04:06:50.325Z] $ docker rm -f 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:06:50.727Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-02T04:06:50.984Z] Stashed 1 file(s) [Pipeline] echo [2022-11-02T04:06:51.006Z] [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-11-02T04:06:51.628Z] provisioning config files... [2022-11-02T04:06:51.637Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/config18148014776581553368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:06:52.003Z] ---> docker-login.sh [2022-11-02T04:06:52.003Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:06:52.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:52.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:52.003Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:52.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:52.003Z] [2022-11-02T04:06:52.003Z] Login Succeeded [2022-11-02T04:06:52.003Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:06:52.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:52.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:52.003Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:52.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:52.003Z] [2022-11-02T04:06:52.003Z] Login Succeeded [2022-11-02T04:06:52.003Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:06:52.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:52.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:52.262Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:52.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:52.262Z] [2022-11-02T04:06:52.262Z] Login Succeeded [2022-11-02T04:06:52.262Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:06:52.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:52.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:52.262Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:52.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:52.262Z] [2022-11-02T04:06:52.262Z] Login Succeeded [2022-11-02T04:06:52.263Z] docker.io [2022-11-02T04:06:52.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:06:52.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:06:52.780Z] Configure a credential helper to remove this warning. See [2022-11-02T04:06:52.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:06:52.780Z] [2022-11-02T04:06:52.780Z] Login Succeeded [2022-11-02T04:06:52.780Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:06:52.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T04:06:53.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:06:53.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:06:53.091Z] ========================================================= [2022-11-02T04:06:53.092Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-02T04:06:53.092Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:06:53.568Z] + 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-11-02T04:06:53.568Z] Sending build context to Docker daemon 10.13MB [2022-11-02T04:06:53.568Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:06:53.568Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-02T04:06:53.568Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-02T04:06:53.568Z] 213ec9aee27d: Pulling fs layer [2022-11-02T04:06:53.568Z] 4583459ba037: Pulling fs layer [2022-11-02T04:06:53.568Z] 93c1e223e6f2: Pulling fs layer [2022-11-02T04:06:53.568Z] 53926ce57604: Pulling fs layer [2022-11-02T04:06:53.568Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-02T04:06:53.568Z] 30f14e443154: Pulling fs layer [2022-11-02T04:06:53.568Z] 801331c1e519: Pulling fs layer [2022-11-02T04:06:53.568Z] 99cc6dd402b0: Pulling fs layer [2022-11-02T04:06:53.568Z] 7d9ed39f4882: Pulling fs layer [2022-11-02T04:06:53.568Z] 53926ce57604: Waiting [2022-11-02T04:06:53.568Z] 21b2b0c7a3f4: Waiting [2022-11-02T04:06:53.568Z] 801331c1e519: Waiting [2022-11-02T04:06:53.568Z] 99cc6dd402b0: Waiting [2022-11-02T04:06:53.568Z] 7d9ed39f4882: Waiting [2022-11-02T04:06:53.568Z] 30f14e443154: Waiting [2022-11-02T04:06:53.568Z] 93c1e223e6f2: Verifying Checksum [2022-11-02T04:06:53.568Z] 93c1e223e6f2: Download complete [2022-11-02T04:06:53.831Z] 4583459ba037: Verifying Checksum [2022-11-02T04:06:53.831Z] 4583459ba037: Download complete [2022-11-02T04:06:53.831Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-02T04:06:53.831Z] 21b2b0c7a3f4: Download complete [2022-11-02T04:06:53.831Z] 30f14e443154: Verifying Checksum [2022-11-02T04:06:53.831Z] 30f14e443154: Download complete [2022-11-02T04:06:53.831Z] 213ec9aee27d: Verifying Checksum [2022-11-02T04:06:53.831Z] 213ec9aee27d: Download complete [2022-11-02T04:06:53.831Z] 801331c1e519: Verifying Checksum [2022-11-02T04:06:53.831Z] 801331c1e519: Download complete [2022-11-02T04:06:53.831Z] 213ec9aee27d: Pull complete [2022-11-02T04:06:54.091Z] 4583459ba037: Pull complete [2022-11-02T04:06:54.091Z] 93c1e223e6f2: Pull complete [2022-11-02T04:06:54.350Z] 7d9ed39f4882: Download complete [2022-11-02T04:06:54.350Z] 99cc6dd402b0: Verifying Checksum [2022-11-02T04:06:54.350Z] 99cc6dd402b0: Download complete [2022-11-02T04:06:54.610Z] 53926ce57604: Verifying Checksum [2022-11-02T04:06:54.610Z] 53926ce57604: Download complete [2022-11-02T04:06:58.806Z] 53926ce57604: Pull complete [2022-11-02T04:06:58.806Z] 21b2b0c7a3f4: Pull complete [2022-11-02T04:06:58.806Z] 30f14e443154: Pull complete [2022-11-02T04:06:58.806Z] 801331c1e519: Pull complete [2022-11-02T04:07:01.366Z] 99cc6dd402b0: Pull complete [2022-11-02T04:07:01.934Z] 7d9ed39f4882: Pull complete [2022-11-02T04:07:01.934Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-11-02T04:07:01.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-02T04:07:01.934Z] ---> 1dedd983c030 [2022-11-02T04:07:01.934Z] Step 3/10 : ARG MAKE=make build [2022-11-02T04:07:06.439Z] Still waiting to schedule task [2022-11-02T04:07:06.439Z] ‘prd-centos7-blackbox-4c-2g-117564’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-02T04:07:06.439Z] ‘prd-centos7-builder-2c-1g-117801’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-02T04:07:06.439Z] ‘prd-ubuntu20.04-docker-8c-8g-117800’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-02T04:07:06.439Z] ‘prd-ubuntu20.04-docker-8c-8g-117811’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-02T04:07:06.439Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117814’ is offline [2022-11-02T04:07:10.066Z] ---> Running in d351b014d98d [2022-11-02T04:07:10.066Z] Removing intermediate container d351b014d98d [2022-11-02T04:07:10.066Z] ---> fea3f7da892b [2022-11-02T04:07:10.066Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-02T04:07:10.066Z] ---> Running in 455c58ada888 [2022-11-02T04:07:10.326Z] Removing intermediate container 455c58ada888 [2022-11-02T04:07:10.326Z] ---> 7b24c065710f [2022-11-02T04:07:10.326Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:07:10.326Z] ---> Running in d57d844556de [2022-11-02T04:07:10.326Z] Removing intermediate container d57d844556de [2022-11-02T04:07:10.326Z] ---> d33f543a8d62 [2022-11-02T04:07:10.326Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:07:10.326Z] ---> Running in 83a980e6eb8f [2022-11-02T04:07:10.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:07:10.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:07:10.843Z] OK: 211 MiB in 51 packages [2022-11-02T04:07:11.105Z] Removing intermediate container 83a980e6eb8f [2022-11-02T04:07:11.105Z] ---> cae3bb664e9a [2022-11-02T04:07:11.105Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-02T04:07:11.363Z] ---> 90f77fbc9f04 [2022-11-02T04:07:11.363Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:07:11.363Z] ---> Running in 46b880246b12 [2022-11-02T04:07:43.539Z] Removing intermediate container 46b880246b12 [2022-11-02T04:07:43.539Z] ---> 27f64505f226 [2022-11-02T04:07:43.539Z] Step 9/10 : COPY . . [2022-11-02T04:07:43.539Z] ---> 5530b163530c [2022-11-02T04:07:43.539Z] Step 10/10 : RUN ${MAKE} [2022-11-02T04:07:43.539Z] ---> Running in 7e96ce294c13 [2022-11-02T04:07:43.539Z] noop [2022-11-02T04:07:43.539Z] Removing intermediate container 7e96ce294c13 [2022-11-02T04:07:43.539Z] ---> 3426268d66fa [2022-11-02T04:07:43.539Z] Successfully built 3426268d66fa [2022-11-02T04:07:43.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:07:43.989Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T04:07:43.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:07:44.144Z] prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container [2022-11-02T04:07:44.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T04:07:44.500Z] $ docker top 257c5f49d25cadf45a80723b24c485d7a603373b1150796a585115594fc47e47 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:07:44.897Z] + go version [2022-11-02T04:07:44.897Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-02T04:07:44.931Z] $ docker stop --time=1 257c5f49d25cadf45a80723b24c485d7a603373b1150796a585115594fc47e47 [2022-11-02T04:07:46.194Z] $ docker rm -f 257c5f49d25cadf45a80723b24c485d7a603373b1150796a585115594fc47e47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:07:46.900Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T04:07:46.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:07:47.138Z] prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container [2022-11-02T04:07:47.187Z] $ 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-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T04:07:47.530Z] $ docker top 8f5f9195c899ba3d99eab806d2f9ed9d3bc3dd4d9f6e99eac65929966c4b9dff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:07:47.984Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1256 [Pipeline] fileExists [Pipeline] sh [2022-11-02T04:07:48.402Z] + make test [2022-11-02T04:07:48.402Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-02T04:07:54.964Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-02T04:08:09.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-11-02T04:08:09.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.094s coverage: 78.9% of statements [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-02T04:08:09.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.101s coverage: 73.1% of statements [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-02T04:08:09.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-02T04:08:09.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 65.1% of statements [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-02T04:08:09.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.751s coverage: 89.2% of statements [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-02T04:08:09.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.7% of statements [2022-11-02T04:08:09.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-02T04:08:24.834Z] 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-11-02T04:08:24.834Z] GO111MODULE=on go vet ./... [2022-11-02T04:08:27.498Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T04:08:27.498Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T04:08:27.498Z] ./bin/test-attribution-txt.sh [2022-11-02T04:08:27.498Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-02T04:08:27.498Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-02T04:08:27.498Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-02T04:08:27.498Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-02T04:08:27.539Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T04:08:27.574Z] $ docker stop --time=1 8f5f9195c899ba3d99eab806d2f9ed9d3bc3dd4d9f6e99eac65929966c4b9dff [2022-11-02T04:08:31.818Z] $ docker rm -f 8f5f9195c899ba3d99eab806d2f9ed9d3bc3dd4d9f6e99eac65929966c4b9dff [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:08:32.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T04:08:32.447Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-02T04:08:33.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T04:08:33.353Z] + ls -al . [2022-11-02T04:08:33.353Z] total 280 [2022-11-02T04:08:33.353Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 04:07 . [2022-11-02T04:08:33.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:06 .. [2022-11-02T04:08:33.353Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 04:06 .dockerignore [2022-11-02T04:08:33.353Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:08 .git [2022-11-02T04:08:33.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:06 .github [2022-11-02T04:08:33.353Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 04:06 .gitignore [2022-11-02T04:08:33.353Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 04:06 .golangci.yml [2022-11-02T04:08:33.354Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:06 .semver [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 04:06 CHANGELOG.md [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:06 GOVERNANCE.md [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 04:06 Jenkinsfile [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 04:06 LICENSE [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 04:06 Makefile [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 04:06 OWNERS.md [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 04:06 README.md [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:06 VERSION [2022-11-02T04:08:33.354Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:06 bin [2022-11-02T04:08:33.354Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 04:08 coverage.out [2022-11-02T04:08:33.354Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 04:06 example [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 04:06 go.mod [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 04:06 go.sum [2022-11-02T04:08:33.354Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 04:06 internal [2022-11-02T04:08:33.354Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:06 openapi [2022-11-02T04:08:33.354Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:06 pkg [2022-11-02T04:08:33.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:06 snap [2022-11-02T04:08:33.354Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:08:33.746Z] + 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=b06b16b52e9c0a9908edac663519e507ae5ee55d --label arch=amd64 --label version=0.0.0 . [2022-11-02T04:08:33.746Z] Sending build context to Docker daemon 10.23MB [2022-11-02T04:08:33.746Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:08:33.746Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-02T04:08:33.746Z] ---> 3426268d66fa [2022-11-02T04:08:33.746Z] Step 3/23 : ARG MAKE=make build [2022-11-02T04:08:34.007Z] ---> Running in b8d159708411 [2022-11-02T04:08:34.265Z] Removing intermediate container b8d159708411 [2022-11-02T04:08:34.265Z] ---> 6cbd6bcfb61e [2022-11-02T04:08:34.265Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-02T04:08:34.265Z] ---> Running in 3be26d8db1f1 [2022-11-02T04:08:34.265Z] Removing intermediate container 3be26d8db1f1 [2022-11-02T04:08:34.265Z] ---> 5c8111951fb9 [2022-11-02T04:08:34.265Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:08:34.265Z] ---> Running in 28b16e21f3d6 [2022-11-02T04:08:34.265Z] Removing intermediate container 28b16e21f3d6 [2022-11-02T04:08:34.265Z] ---> ce1569162191 [2022-11-02T04:08:34.265Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:08:34.265Z] ---> Running in 6499e5827d67 [2022-11-02T04:08:34.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:08:34.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:08:35.091Z] OK: 211 MiB in 51 packages [2022-11-02T04:08:35.348Z] Removing intermediate container 6499e5827d67 [2022-11-02T04:08:35.348Z] ---> 2cab2c2bdd7c [2022-11-02T04:08:35.348Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-02T04:08:35.606Z] ---> f711b75878ba [2022-11-02T04:08:35.606Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:08:35.606Z] ---> Running in de8e5bcb3d1d [2022-11-02T04:08:36.174Z] Removing intermediate container de8e5bcb3d1d [2022-11-02T04:08:36.174Z] ---> 834bdd2bfdc2 [2022-11-02T04:08:36.174Z] Step 9/23 : COPY . . [2022-11-02T04:08:36.741Z] ---> ce0ea0edcc44 [2022-11-02T04:08:36.741Z] Step 10/23 : RUN ${MAKE} [2022-11-02T04:08:36.741Z] ---> Running in f15637d877d4 [2022-11-02T04:08:37.001Z] 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-11-02T04:08:55.172Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-02T04:09:00.541Z] Removing intermediate container f15637d877d4 [2022-11-02T04:09:00.541Z] ---> 4ce0f3e60bcb [2022-11-02T04:09:00.541Z] Step 11/23 : FROM alpine:3.16 [2022-11-02T04:09:01.488Z] 3.16: Pulling from library/alpine [2022-11-02T04:09:01.488Z] 213ec9aee27d: Already exists [2022-11-02T04:09:01.749Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T04:09:01.749Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T04:09:01.749Z] ---> 9c6f07244728 [2022-11-02T04:09:01.749Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:09:01.749Z] ---> Running in 003713d9367c [2022-11-02T04:09:01.749Z] Removing intermediate container 003713d9367c [2022-11-02T04:09:01.749Z] ---> 971165694a73 [2022-11-02T04:09:01.749Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-02T04:09:01.749Z] ---> Running in 189c35d2ee9f [2022-11-02T04:09:02.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:09:02.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:09:02.265Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T04:09:02.265Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T04:09:02.265Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T04:09:02.265Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T04:09:02.525Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T04:09:02.525Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T04:09:02.525Z] OK: 8 MiB in 19 packages [2022-11-02T04:09:02.784Z] Removing intermediate container 189c35d2ee9f [2022-11-02T04:09:02.784Z] ---> ada816debdea [2022-11-02T04:09:02.784Z] Step 14/23 : WORKDIR / [2022-11-02T04:09:02.784Z] ---> Running in e3a41b9b3c9e [2022-11-02T04:09:03.043Z] Removing intermediate container e3a41b9b3c9e [2022-11-02T04:09:03.043Z] ---> 5dee467ad5f9 [2022-11-02T04:09:03.043Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-02T04:09:03.043Z] ---> ba8d23b04702 [2022-11-02T04:09:03.043Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-02T04:09:04.310Z] ---> eb7bdb27d576 [2022-11-02T04:09:04.310Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-02T04:09:04.310Z] ---> cfc0b62112c2 [2022-11-02T04:09:04.310Z] Step 18/23 : EXPOSE 59999 [2022-11-02T04:09:04.568Z] ---> Running in 63b9ce060d47 [2022-11-02T04:09:04.568Z] Removing intermediate container 63b9ce060d47 [2022-11-02T04:09:04.568Z] ---> ea2c462d56e9 [2022-11-02T04:09:04.568Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-02T04:09:04.568Z] ---> Running in 733e64cfbb2a [2022-11-02T04:09:04.568Z] Removing intermediate container 733e64cfbb2a [2022-11-02T04:09:04.568Z] ---> 6ec64f8005fc [2022-11-02T04:09:04.568Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T04:09:04.568Z] ---> Running in c7f2925454bf [2022-11-02T04:09:04.833Z] Removing intermediate container c7f2925454bf [2022-11-02T04:09:04.833Z] ---> 82ee2c074764 [2022-11-02T04:09:04.833Z] Step 21/23 : LABEL arch=amd64 [2022-11-02T04:09:04.833Z] ---> Running in fba11837d1d1 [2022-11-02T04:09:04.833Z] Removing intermediate container fba11837d1d1 [2022-11-02T04:09:04.833Z] ---> 691071a527e0 [2022-11-02T04:09:04.833Z] Step 22/23 : LABEL git_sha=b06b16b52e9c0a9908edac663519e507ae5ee55d [2022-11-02T04:09:04.833Z] ---> Running in 3de5ddfab74e [2022-11-02T04:09:04.833Z] Removing intermediate container 3de5ddfab74e [2022-11-02T04:09:04.833Z] ---> d4e17e2a3012 [2022-11-02T04:09:04.833Z] Step 23/23 : LABEL version=0.0.0 [2022-11-02T04:09:04.833Z] ---> Running in a2b7195ec956 [2022-11-02T04:09:05.093Z] Removing intermediate container a2b7195ec956 [2022-11-02T04:09:05.093Z] ---> a5a9d328b654 [2022-11-02T04:09:05.093Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T04:09:05.093Z] Successfully built a5a9d328b654 [2022-11-02T04:09:05.093Z] 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-11-02T04:09:05.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:09:05.988Z] [2022-11-02T04:09:05.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:09:06.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:09:06.369Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-02T04:09:06.369Z] 5eb5b503b376: Pulling fs layer [2022-11-02T04:09:06.369Z] 5c69ac0246d0: Pulling fs layer [2022-11-02T04:09:06.369Z] ec43610c2a17: Pulling fs layer [2022-11-02T04:09:06.369Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-02T04:09:06.369Z] 33b1e0a273af: Pulling fs layer [2022-11-02T04:09:06.369Z] 5d3b04190fa2: Pulling fs layer [2022-11-02T04:09:06.369Z] 2f39f015ded8: Pulling fs layer [2022-11-02T04:09:06.369Z] 33b1e0a273af: Waiting [2022-11-02T04:09:06.369Z] 5d3b04190fa2: Waiting [2022-11-02T04:09:06.369Z] 2f39f015ded8: Waiting [2022-11-02T04:09:06.369Z] 3a2ae6a8a46f: Waiting [2022-11-02T04:09:06.369Z] 5c69ac0246d0: Verifying Checksum [2022-11-02T04:09:06.369Z] 5c69ac0246d0: Download complete [2022-11-02T04:09:06.369Z] 3a2ae6a8a46f: Download complete [2022-11-02T04:09:06.631Z] 33b1e0a273af: Verifying Checksum [2022-11-02T04:09:06.631Z] 33b1e0a273af: Download complete [2022-11-02T04:09:06.631Z] 5d3b04190fa2: Verifying Checksum [2022-11-02T04:09:06.631Z] 5d3b04190fa2: Download complete [2022-11-02T04:09:06.631Z] ec43610c2a17: Download complete [2022-11-02T04:09:06.631Z] 5eb5b503b376: Verifying Checksum [2022-11-02T04:09:06.631Z] 5eb5b503b376: Download complete [2022-11-02T04:09:07.200Z] 2f39f015ded8: Download complete [2022-11-02T04:09:07.765Z] 5eb5b503b376: Pull complete [2022-11-02T04:09:07.765Z] 5c69ac0246d0: Pull complete [2022-11-02T04:09:08.331Z] ec43610c2a17: Pull complete [2022-11-02T04:09:08.331Z] 3a2ae6a8a46f: Pull complete [2022-11-02T04:09:08.589Z] 33b1e0a273af: Pull complete [2022-11-02T04:09:08.589Z] 5d3b04190fa2: Pull complete [2022-11-02T04:09:12.779Z] 2f39f015ded8: Pull complete [2022-11-02T04:09:12.779Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-02T04:09:12.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:09:12.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:09:13.003Z] prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container [2022-11-02T04:09:13.046Z] $ 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-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T04:09:20.146Z] $ docker top 793fadf8dac656f3913135c7be1700206452bb09347e7075a6b7e975ebd9e353 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:09:20.586Z] ---> job-cost.sh [2022-11-02T04:09:20.586Z] lf-activate-venv: SKIPPING [2022-11-02T04:09:20.586Z] INFO: No Stack... [2022-11-02T04:09:20.844Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T04:09:21.410Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T04:09:21.725Z] + + cut -d, -f6 [2022-11-02T04:09:21.725Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives/cost.csv [Pipeline] lock [2022-11-02T04:09:21.761Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [2022-11-02T04:09:21.765Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] did not exist. Created. [2022-11-02T04:09:21.765Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T04:09:22.160Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-02T04:09:22.212Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T04:09:22.241Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T04:09:22.318Z] $ docker stop --time=1 793fadf8dac656f3913135c7be1700206452bb09347e7075a6b7e975ebd9e353 [2022-11-02T04:09:24.054Z] $ docker rm -f 793fadf8dac656f3913135c7be1700206452bb09347e7075a6b7e975ebd9e353 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-02T04:09:38.563Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117820 in /w/workspace/gexfoundry_device-sdk-go_PR-1256 [Pipeline] { [Pipeline] ws [2022-11-02T04:09:38.605Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-11-02T04:09:38.708Z] The recommended git tool is: git [2022-11-02T04:09:46.348Z] using credential edgex-jenkins-ssh [2022-11-02T04:09:46.364Z] Cloning the remote Git repository [2022-11-02T04:09:46.430Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:09:46.541Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-11-02T04:09:46.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:09:46.737Z] > git --version # timeout=10 [2022-11-02T04:09:46.772Z] > git --version # 'git version 2.25.1' [2022-11-02T04:09:46.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:09:46.842Z] Verifying host key using known hosts file [2022-11-02T04:09:47.135Z] 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-11-02T04:09:47.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T04:09:49.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-02T04:09:49.325Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T04:09:50.643Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-02T04:09:50.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:09:50.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:09:50.712Z] Verifying host key using known hosts file [2022-11-02T04:09:51.374Z] Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit b06b16b52e9c0a9908edac663519e507ae5ee55d [2022-11-02T04:09:51.705Z] Merge succeeded, producing b06b16b52e9c0a9908edac663519e507ae5ee55d [2022-11-02T04:09:51.706Z] Checking out Revision b06b16b52e9c0a9908edac663519e507ae5ee55d (PR-1256) [2022-11-02T04:09:50.722Z] 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-11-02T04:09:50.738Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1256/head:refs/remotes/origin/PR-1256 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-02T04:09:51.396Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T04:09:51.423Z] > git checkout -f b06b16b52e9c0a9908edac663519e507ae5ee55d # timeout=10 [2022-11-02T04:09:51.563Z] > git remote # timeout=10 [2022-11-02T04:09:51.585Z] > git config --get remote.origin.url # timeout=10 [2022-11-02T04:09:51.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:09:51.623Z] Verifying host key using known hosts file [2022-11-02T04:09:51.629Z] 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-11-02T04:09:51.641Z] > git merge 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 [2022-11-02T04:09:51.672Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-02T04:09:51.711Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T04:09:51.730Z] > git checkout -f b06b16b52e9c0a9908edac663519e507ae5ee55d # timeout=10 [2022-11-02T04:09:52.539Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2022-11-02T04:09:52.611Z] > git --version # timeout=10 [2022-11-02T04:09:52.627Z] > git --version # 'git version 2.25.1' [2022-11-02T04:09:52.662Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:09:53.768Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-02T04:09:53.768Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T04:09:53.768Z] Dload Upload Total Spent Left Speed [2022-11-02T04:09:53.768Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh [2022-11-02T04:09:54.577Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-02T04:09:54.994Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-02T04:09:54.994Z] + sudo tee /etc/docker/daemon.new [2022-11-02T04:09:54.994Z] { [2022-11-02T04:09:54.994Z] "registry-mirrors": [ [2022-11-02T04:09:54.994Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-02T04:09:54.994Z] ], [2022-11-02T04:09:54.994Z] "bip": "10.250.0.254/24", [2022-11-02T04:09:54.994Z] "hosts": [ [2022-11-02T04:09:54.994Z] "tcp://0.0.0.0:5555", [2022-11-02T04:09:54.994Z] "unix:///var/run/docker.sock" [2022-11-02T04:09:54.994Z] ], [2022-11-02T04:09:54.994Z] "mtu": 1458, [2022-11-02T04:09:54.994Z] "selinux-enabled": true, [2022-11-02T04:09:54.994Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-02T04:09:54.994Z] } [Pipeline] sh [2022-11-02T04:09:55.384Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-02T04:09:55.782Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:10:14.251Z] provisioning config files... [2022-11-02T04:10:14.293Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13063316331728624232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:10:14.731Z] ---> docker-login.sh [2022-11-02T04:10:14.731Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:10:15.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:10:15.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:10:15.619Z] Configure a credential helper to remove this warning. See [2022-11-02T04:10:15.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:10:15.619Z] [2022-11-02T04:10:15.619Z] Login Succeeded [2022-11-02T04:10:15.619Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:10:15.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:10:16.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:10:16.180Z] Configure a credential helper to remove this warning. See [2022-11-02T04:10:16.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:10:16.180Z] [2022-11-02T04:10:16.180Z] Login Succeeded [2022-11-02T04:10:16.180Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:10:16.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:10:16.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:10:16.456Z] Configure a credential helper to remove this warning. See [2022-11-02T04:10:16.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:10:16.456Z] [2022-11-02T04:10:16.456Z] Login Succeeded [2022-11-02T04:10:16.734Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:10:17.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:10:17.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:10:17.009Z] Configure a credential helper to remove this warning. See [2022-11-02T04:10:17.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:10:17.009Z] [2022-11-02T04:10:17.009Z] Login Succeeded [2022-11-02T04:10:17.009Z] docker.io [2022-11-02T04:10:17.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:10:17.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:10:17.886Z] Configure a credential helper to remove this warning. See [2022-11-02T04:10:17.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:10:17.886Z] [2022-11-02T04:10:17.886Z] Login Succeeded [2022-11-02T04:10:17.886Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:10:17.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T04:10:18.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:10:18.314Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:10:18.348Z] ========================================================= [2022-11-02T04:10:18.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-02T04:10:18.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:10:18.869Z] + 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-11-02T04:10:19.484Z] Sending build context to Docker daemon 5.449MB [2022-11-02T04:10:19.484Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:10:19.484Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-02T04:10:19.759Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-02T04:10:19.759Z] 9b18e9b68314: Pulling fs layer [2022-11-02T04:10:19.759Z] d32db5db7311: Pulling fs layer [2022-11-02T04:10:19.759Z] d0c4b47475fc: Pulling fs layer [2022-11-02T04:10:19.759Z] 5831b945b038: Pulling fs layer [2022-11-02T04:10:19.759Z] 86bbec2aaacd: Pulling fs layer [2022-11-02T04:10:19.759Z] e10730c5d714: Pulling fs layer [2022-11-02T04:10:19.759Z] 5dd5c2283517: Pulling fs layer [2022-11-02T04:10:19.759Z] d5ac0230b979: Pulling fs layer [2022-11-02T04:10:19.759Z] 5831b945b038: Waiting [2022-11-02T04:10:19.759Z] 86bbec2aaacd: Waiting [2022-11-02T04:10:19.759Z] e10730c5d714: Waiting [2022-11-02T04:10:19.759Z] 5dd5c2283517: Waiting [2022-11-02T04:10:19.759Z] d5ac0230b979: Waiting [2022-11-02T04:10:19.759Z] d0c4b47475fc: Verifying Checksum [2022-11-02T04:10:19.759Z] d0c4b47475fc: Download complete [2022-11-02T04:10:19.759Z] d32db5db7311: Verifying Checksum [2022-11-02T04:10:19.759Z] d32db5db7311: Download complete [2022-11-02T04:10:19.759Z] 86bbec2aaacd: Verifying Checksum [2022-11-02T04:10:19.759Z] 86bbec2aaacd: Download complete [2022-11-02T04:10:20.051Z] e10730c5d714: Verifying Checksum [2022-11-02T04:10:20.051Z] e10730c5d714: Download complete [2022-11-02T04:10:20.051Z] 9b18e9b68314: Verifying Checksum [2022-11-02T04:10:20.051Z] 9b18e9b68314: Download complete [2022-11-02T04:10:21.064Z] 9b18e9b68314: Pull complete [2022-11-02T04:10:21.341Z] d32db5db7311: Pull complete [2022-11-02T04:10:21.622Z] d5ac0230b979: Verifying Checksum [2022-11-02T04:10:21.622Z] d5ac0230b979: Download complete [2022-11-02T04:10:21.904Z] d0c4b47475fc: Pull complete [2022-11-02T04:10:22.904Z] 5dd5c2283517: Verifying Checksum [2022-11-02T04:10:22.904Z] 5dd5c2283517: Download complete [2022-11-02T04:10:23.587Z] 5831b945b038: Verifying Checksum [2022-11-02T04:10:23.587Z] 5831b945b038: Download complete [2022-11-02T04:10:38.750Z] 5831b945b038: Pull complete [2022-11-02T04:10:38.750Z] 86bbec2aaacd: Pull complete [2022-11-02T04:10:38.750Z] e10730c5d714: Pull complete [2022-11-02T04:10:43.049Z] 5dd5c2283517: Pull complete [2022-11-02T04:10:44.479Z] d5ac0230b979: Pull complete [2022-11-02T04:10:44.479Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-11-02T04:10:44.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-02T04:10:44.479Z] ---> 59b3b1a385d4 [2022-11-02T04:10:44.479Z] Step 3/10 : ARG MAKE=make build [2022-11-02T04:10:47.089Z] ---> Running in e04193a75687 [2022-11-02T04:10:47.089Z] Removing intermediate container e04193a75687 [2022-11-02T04:10:47.089Z] ---> 98e7816cb944 [2022-11-02T04:10:47.089Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-02T04:10:47.089Z] ---> Running in 0a1a6503f5de [2022-11-02T04:10:47.679Z] Removing intermediate container 0a1a6503f5de [2022-11-02T04:10:47.679Z] ---> 4501ce2598b1 [2022-11-02T04:10:47.679Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:10:47.679Z] ---> Running in 18ebeb942cd4 [2022-11-02T04:10:47.948Z] Removing intermediate container 18ebeb942cd4 [2022-11-02T04:10:47.948Z] ---> a8382c212e48 [2022-11-02T04:10:47.948Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:10:47.948Z] ---> Running in 137500385be6 [2022-11-02T04:10:49.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:10:49.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:10:51.069Z] OK: 221 MiB in 51 packages [2022-11-02T04:10:52.045Z] Removing intermediate container 137500385be6 [2022-11-02T04:10:52.045Z] ---> 862e060f25fd [2022-11-02T04:10:52.045Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-02T04:10:52.642Z] ---> 1147d5b53ba2 [2022-11-02T04:10:52.642Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:10:52.917Z] ---> Running in ef32f04bd8cb [2022-11-02T04:12:00.965Z] Removing intermediate container ef32f04bd8cb [2022-11-02T04:12:00.965Z] ---> d820dfb7935e [2022-11-02T04:12:00.965Z] Step 9/10 : COPY . . [2022-11-02T04:12:00.965Z] ---> e1164cf4e16b [2022-11-02T04:12:00.965Z] Step 10/10 : RUN ${MAKE} [2022-11-02T04:12:00.965Z] ---> Running in 8c06dd4ba6f2 [2022-11-02T04:12:00.965Z] noop [2022-11-02T04:12:00.965Z] Removing intermediate container 8c06dd4ba6f2 [2022-11-02T04:12:00.965Z] ---> e61df66baeda [2022-11-02T04:12:00.965Z] Successfully built e61df66baeda [2022-11-02T04:12:00.965Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:12:01.470Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T04:12:01.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:12:01.793Z] prd-ubuntu20.04-docker-arm64-4c-16g-117820 does not seem to be running inside a container [2022-11-02T04:12:01.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T04:12:03.401Z] $ docker top 7ac174310cba91890a1d06b078272096506ba075e72d5bc47d97f711420e0f89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:12:04.389Z] + go version [2022-11-02T04:12:04.389Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-02T04:12:04.421Z] $ docker stop --time=1 7ac174310cba91890a1d06b078272096506ba075e72d5bc47d97f711420e0f89 [2022-11-02T04:12:06.136Z] $ docker rm -f 7ac174310cba91890a1d06b078272096506ba075e72d5bc47d97f711420e0f89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:12:07.031Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T04:12:07.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:12:07.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-117820 does not seem to be running inside a container [2022-11-02T04:12:07.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T04:12:08.798Z] $ docker top 1a7b75f152cc7e87b9deedc95db84bc9f03462eb47ca1ff6d4f37e492ccf9eae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:12:09.778Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-02T04:12:10.519Z] + make test [2022-11-02T04:12:10.519Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-02T04:12:57.505Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-02T04:16:04.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-02T04:16:04.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-02T04:16:04.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-02T04:16:04.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-02T04:16:04.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-02T04:16:12.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.304s coverage: 27.6% of statements [2022-11-02T04:16:13.002Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.371s coverage: 78.9% of statements [2022-11-02T04:16:13.002Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-02T04:16:25.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.657s coverage: 73.1% of statements [2022-11-02T04:16:25.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-02T04:16:25.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-02T04:16:27.371Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.666s coverage: 54.4% of statements [2022-11-02T04:16:27.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-02T04:16:27.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-02T04:16:27.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-02T04:16:27.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-02T04:16:27.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.525s coverage: 65.1% of statements [2022-11-02T04:16:27.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-02T04:16:27.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-02T04:16:27.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.585s coverage: 89.2% of statements [2022-11-02T04:16:27.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-02T04:16:27.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.405s coverage: 4.7% of statements [2022-11-02T04:16:27.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-02T04:16:28.960Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-02T04:16:28.960Z] GO111MODULE=on go vet ./... [2022-11-02T04:18:35.807Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T04:18:35.807Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T04:18:35.807Z] ./bin/test-attribution-txt.sh [2022-11-02T04:18:35.807Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-02T04:18:35.807Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-02T04:18:35.807Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-02T04:18:35.807Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-02T04:18:35.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T04:18:35.872Z] $ docker stop --time=1 1a7b75f152cc7e87b9deedc95db84bc9f03462eb47ca1ff6d4f37e492ccf9eae [2022-11-02T04:18:37.859Z] $ docker rm -f 1a7b75f152cc7e87b9deedc95db84bc9f03462eb47ca1ff6d4f37e492ccf9eae [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:18:39.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T04:18:39.693Z] Warning: overwriting stash ‘coverage-report’ [2022-11-02T04:18:40.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:18:41.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T04:18:41.465Z] + ls -al . [2022-11-02T04:18:41.465Z] total 276 [2022-11-02T04:18:41.465Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 04:12 . [2022-11-02T04:18:41.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:09 .. [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 04:09 .dockerignore [2022-11-02T04:18:41.465Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:09 .git [2022-11-02T04:18:41.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:09 .github [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 04:09 .gitignore [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 04:09 .golangci.yml [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 04:09 CHANGELOG.md [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:09 GOVERNANCE.md [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 04:09 Jenkinsfile [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 04:09 LICENSE [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 04:09 Makefile [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 04:09 OWNERS.md [2022-11-02T04:18:41.465Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 04:09 README.md [2022-11-02T04:18:41.466Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:06 VERSION [2022-11-02T04:18:41.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:09 bin [2022-11-02T04:18:41.466Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 04:16 coverage.out [2022-11-02T04:18:41.466Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 04:09 example [2022-11-02T04:18:41.466Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 04:09 go.mod [2022-11-02T04:18:41.466Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 04:09 go.sum [2022-11-02T04:18:41.466Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 04:09 internal [2022-11-02T04:18:41.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:09 openapi [2022-11-02T04:18:41.466Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:09 pkg [2022-11-02T04:18:41.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:09 snap [2022-11-02T04:18:41.466Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:18:41.917Z] + 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=b06b16b52e9c0a9908edac663519e507ae5ee55d --label arch=arm64 --label version=0.0.0 . [2022-11-02T04:18:42.515Z] Sending build context to Docker daemon 5.552MB [2022-11-02T04:18:42.515Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:18:42.515Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-02T04:18:42.515Z] ---> e61df66baeda [2022-11-02T04:18:42.515Z] Step 3/23 : ARG MAKE=make build [2022-11-02T04:18:42.515Z] ---> Running in acbbcc5be305 [2022-11-02T04:18:43.113Z] Removing intermediate container acbbcc5be305 [2022-11-02T04:18:43.113Z] ---> ae89c999ea21 [2022-11-02T04:18:43.113Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-02T04:18:43.113Z] ---> Running in 43d47fe6cd7e [2022-11-02T04:18:43.393Z] Removing intermediate container 43d47fe6cd7e [2022-11-02T04:18:43.393Z] ---> a202b545e04a [2022-11-02T04:18:43.393Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:18:43.680Z] ---> Running in e956474ff5eb [2022-11-02T04:18:43.956Z] Removing intermediate container e956474ff5eb [2022-11-02T04:18:43.956Z] ---> 78e1fe821681 [2022-11-02T04:18:43.956Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:18:44.231Z] ---> Running in 919c7adb9367 [2022-11-02T04:18:45.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:18:45.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:18:46.765Z] OK: 221 MiB in 51 packages [2022-11-02T04:18:47.741Z] Removing intermediate container 919c7adb9367 [2022-11-02T04:18:47.741Z] ---> 81f3043cd6f6 [2022-11-02T04:18:47.741Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-02T04:18:48.732Z] ---> c95306c4519d [2022-11-02T04:18:48.732Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:18:48.732Z] ---> Running in c5c7d31f7c34 [2022-11-02T04:18:50.927Z] Removing intermediate container c5c7d31f7c34 [2022-11-02T04:18:50.927Z] ---> eb2fe85093a7 [2022-11-02T04:18:50.927Z] Step 9/23 : COPY . . [2022-11-02T04:18:52.367Z] ---> a0e7e09e489b [2022-11-02T04:18:52.367Z] Step 10/23 : RUN ${MAKE} [2022-11-02T04:18:52.367Z] ---> Running in 6a7a63a5ad76 [2022-11-02T04:18:53.808Z] 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-11-02T04:21:46.039Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-02T04:21:47.057Z] Removing intermediate container 6a7a63a5ad76 [2022-11-02T04:21:47.057Z] ---> 97d950162a42 [2022-11-02T04:21:47.057Z] Step 11/23 : FROM alpine:3.16 [2022-11-02T04:21:48.022Z] 3.16: Pulling from library/alpine [2022-11-02T04:21:48.022Z] 9b18e9b68314: Already exists [2022-11-02T04:21:48.291Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T04:21:48.291Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T04:21:48.291Z] ---> a6215f271958 [2022-11-02T04:21:48.291Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:21:48.291Z] ---> Running in 436c18075922 [2022-11-02T04:21:48.559Z] Removing intermediate container 436c18075922 [2022-11-02T04:21:48.559Z] ---> db1fe2914929 [2022-11-02T04:21:48.559Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-02T04:21:48.559Z] ---> Running in b15f44bb132b [2022-11-02T04:21:49.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:21:50.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:21:51.669Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T04:21:51.669Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T04:21:51.669Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T04:21:51.669Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T04:21:51.669Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T04:21:51.669Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T04:21:51.669Z] OK: 8 MiB in 19 packages [2022-11-02T04:21:52.637Z] Removing intermediate container b15f44bb132b [2022-11-02T04:21:52.637Z] ---> e2d2a64dfbb5 [2022-11-02T04:21:52.637Z] Step 14/23 : WORKDIR / [2022-11-02T04:21:52.637Z] ---> Running in 77114898cf48 [2022-11-02T04:21:53.238Z] Removing intermediate container 77114898cf48 [2022-11-02T04:21:53.238Z] ---> e708ed90ca60 [2022-11-02T04:21:53.238Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-02T04:21:53.831Z] ---> 35a5b56526ad [2022-11-02T04:21:53.831Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-02T04:21:55.262Z] ---> f6950dc55b0d [2022-11-02T04:21:55.262Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-02T04:21:55.849Z] ---> 69ff4f7ba6d3 [2022-11-02T04:21:55.849Z] Step 18/23 : EXPOSE 59999 [2022-11-02T04:21:55.849Z] ---> Running in 42d9cc886dae [2022-11-02T04:21:56.118Z] Removing intermediate container 42d9cc886dae [2022-11-02T04:21:56.118Z] ---> 93f9484d5da6 [2022-11-02T04:21:56.118Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-02T04:21:56.387Z] ---> Running in cf24c43d57c6 [2022-11-02T04:21:56.657Z] Removing intermediate container cf24c43d57c6 [2022-11-02T04:21:56.657Z] ---> c8862700e7c9 [2022-11-02T04:21:56.657Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T04:21:56.657Z] ---> Running in 82e09ee124c4 [2022-11-02T04:21:56.925Z] Removing intermediate container 82e09ee124c4 [2022-11-02T04:21:56.925Z] ---> 2c5edfee5339 [2022-11-02T04:21:56.925Z] Step 21/23 : LABEL arch=arm64 [2022-11-02T04:21:56.925Z] ---> Running in 6b1afeb24988 [2022-11-02T04:21:57.510Z] Removing intermediate container 6b1afeb24988 [2022-11-02T04:21:57.510Z] ---> 3c5a43d0db6e [2022-11-02T04:21:57.510Z] Step 22/23 : LABEL git_sha=b06b16b52e9c0a9908edac663519e507ae5ee55d [2022-11-02T04:21:57.510Z] ---> Running in 524f5d919e19 [2022-11-02T04:21:57.782Z] Removing intermediate container 524f5d919e19 [2022-11-02T04:21:57.782Z] ---> bcd770252bb9 [2022-11-02T04:21:57.782Z] Step 23/23 : LABEL version=0.0.0 [2022-11-02T04:21:57.782Z] ---> Running in a03fee01ca4f [2022-11-02T04:21:58.050Z] Removing intermediate container a03fee01ca4f [2022-11-02T04:21:58.050Z] ---> 6e77114641c3 [2022-11-02T04:21:58.050Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T04:21:58.050Z] Successfully built 6e77114641c3 [2022-11-02T04:21:58.318Z] 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-11-02T04:21:59.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:21:59.116Z] [2022-11-02T04:21:59.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:21:59.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:21:59.798Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-02T04:21:59.798Z] 8998bd30e6a1: Pulling fs layer [2022-11-02T04:21:59.799Z] 04944245beec: Pulling fs layer [2022-11-02T04:21:59.799Z] 699f458cf7ca: Pulling fs layer [2022-11-02T04:21:59.799Z] 765212b225bb: Pulling fs layer [2022-11-02T04:21:59.799Z] f23df028b6ca: Pulling fs layer [2022-11-02T04:21:59.799Z] d65c8cfc05b1: Pulling fs layer [2022-11-02T04:21:59.799Z] 2437ff75d9bd: Pulling fs layer [2022-11-02T04:21:59.799Z] 765212b225bb: Waiting [2022-11-02T04:21:59.799Z] f23df028b6ca: Waiting [2022-11-02T04:21:59.799Z] d65c8cfc05b1: Waiting [2022-11-02T04:21:59.799Z] 2437ff75d9bd: Waiting [2022-11-02T04:21:59.799Z] 04944245beec: Verifying Checksum [2022-11-02T04:21:59.799Z] 04944245beec: Download complete [2022-11-02T04:21:59.799Z] 765212b225bb: Verifying Checksum [2022-11-02T04:21:59.799Z] 765212b225bb: Download complete [2022-11-02T04:21:59.799Z] f23df028b6ca: Verifying Checksum [2022-11-02T04:21:59.799Z] f23df028b6ca: Download complete [2022-11-02T04:22:00.071Z] d65c8cfc05b1: Download complete [2022-11-02T04:22:00.071Z] 699f458cf7ca: Verifying Checksum [2022-11-02T04:22:00.071Z] 699f458cf7ca: Download complete [2022-11-02T04:22:00.341Z] 8998bd30e6a1: Verifying Checksum [2022-11-02T04:22:00.341Z] 8998bd30e6a1: Download complete [2022-11-02T04:22:02.928Z] 2437ff75d9bd: Verifying Checksum [2022-11-02T04:22:04.877Z] 8998bd30e6a1: Pull complete [2022-11-02T04:22:04.877Z] 04944245beec: Pull complete [2022-11-02T04:22:06.304Z] 699f458cf7ca: Pull complete [2022-11-02T04:22:06.573Z] 765212b225bb: Pull complete [2022-11-02T04:22:07.541Z] f23df028b6ca: Pull complete [2022-11-02T04:22:07.541Z] d65c8cfc05b1: Pull complete [2022-11-02T04:22:22.556Z] 2437ff75d9bd: Pull complete [2022-11-02T04:22:22.556Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-02T04:22:22.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:22:22.556Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:22:22.920Z] prd-ubuntu20.04-docker-arm64-4c-16g-117820 does not seem to be running inside a container [2022-11-02T04:22:22.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-02T04:22:26.076Z] $ docker top 27c78d0b0a047f419317176c84a2a6c8e3a64544455d6780e2d2be242d445a79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:22:27.032Z] ---> job-cost.sh [2022-11-02T04:22:27.032Z] lf-activate-venv: SKIPPING [2022-11-02T04:22:27.032Z] INFO: No Stack... [2022-11-02T04:22:27.616Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-02T04:22:28.200Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T04:22:28.876Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-11-02T04:22:28.876Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T04:22:28.969Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [2022-11-02T04:22:28.974Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] did not exist. Created. [2022-11-02T04:22:28.974Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T04:22:29.701Z] /w/workspace/device-sdk-go/1@tmp/durable-ce10b980/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-02T04:22:30.400Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-02T04:22:30.437Z] Warning: overwriting stash ‘stack-cost’ [2022-11-02T04:22:30.512Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T04:22:30.526Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T04:22:30.602Z] $ docker stop --time=1 27c78d0b0a047f419317176c84a2a6c8e3a64544455d6780e2d2be242d445a79 [2022-11-02T04:22:32.158Z] $ docker rm -f 27c78d0b0a047f419317176c84a2a6c8e3a64544455d6780e2d2be242d445a79 [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-11-02T04:22:33.127Z] provisioning config files... [2022-11-02T04:22:33.135Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/config822016855150925789tmp [Pipeline] { [Pipeline] sh [2022-11-02T04:22:33.480Z] + set +x [2022-11-02T04:22:33.480Z] + curl -s https://codecov.io/bash [2022-11-02T04:22:33.480Z] + bash -s -- [2022-11-02T04:22:33.480Z] [2022-11-02T04:22:33.480Z] _____ _ [2022-11-02T04:22:33.480Z] / ____| | | [2022-11-02T04:22:33.480Z] | | ___ __| | ___ ___ _____ __ [2022-11-02T04:22:33.480Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-02T04:22:33.480Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-02T04:22:33.480Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-02T04:22:33.480Z] Bash-1.0.6 [2022-11-02T04:22:33.480Z] [2022-11-02T04:22:33.480Z] [2022-11-02T04:22:33.480Z] ==> git version 2.25.1 found [2022-11-02T04:22:33.480Z] ==> 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-11-02T04:22:33.480Z] Release-Date: 2020-01-08 [2022-11-02T04:22:33.480Z] 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-11-02T04:22:33.480Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-02T04:22:33.480Z] ==> Jenkins CI detected. [2022-11-02T04:22:33.480Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1256 [2022-11-02T04:22:33.480Z] project root: . [2022-11-02T04:22:33.480Z] --> token set from env [2022-11-02T04:22:33.480Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-02T04:22:33.480Z] ==> Running gcov in . (disable via -X gcov) [2022-11-02T04:22:33.480Z] ==> Python coveragepy not found [2022-11-02T04:22:33.480Z] ==> Searching for coverage reports in: [2022-11-02T04:22:33.480Z] + . [2022-11-02T04:22:33.480Z] -> Found 1 reports [2022-11-02T04:22:33.480Z] ==> Detecting git/mercurial file structure [2022-11-02T04:22:33.480Z] ==> Reading reports [2022-11-02T04:22:33.480Z] + ./coverage.out bytes=101759 [2022-11-02T04:22:33.480Z] ==> Appending adjustments [2022-11-02T04:22:33.480Z] https://docs.codecov.io/docs/fixing-reports [2022-11-02T04:22:33.740Z] + Found adjustments [2022-11-02T04:22:33.740Z] ==> Gzipping contents [2022-11-02T04:22:34.000Z] 16K /tmp/codecov.15LPeC.gz [2022-11-02T04:22:34.000Z] ==> Uploading reports [2022-11-02T04:22:34.000Z] url: https://codecov.io [2022-11-02T04:22:34.000Z] query: branch=PR-1256&commit=b06b16b52e9c0a9908edac663519e507ae5ee55d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1256%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1256&job=&cmd_args= [2022-11-02T04:22:34.000Z] -> Pinging Codecov [2022-11-02T04:22:34.000Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1256&commit=b06b16b52e9c0a9908edac663519e507ae5ee55d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1256%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1256&job=&cmd_args= [2022-11-02T04:22:34.260Z] -> Uploading to [2022-11-02T04:22:34.260Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-02/7E55EF52A471D76F132DFD9A03CDDE97/b06b16b52e9c0a9908edac663519e507ae5ee55d/183fbcde-dd63-4b60-9ba8-7a0708ae6477.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T042234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efb0fac30b10655b714818017965562c1d60c9c503295ca24a62713c051864c2 [2022-11-02T04:22:34.260Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T04:22:34.260Z] Dload Upload Total Spent Left Speed [2022-11-02T04:22:34.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14758 0 0 100 14758 0 63339 --:--:-- --:--:-- --:--:-- 63339 [2022-11-02T04:22:34.520Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] } [2022-11-02T04:22:34.562Z] 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-11-02T04:22:36.352Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives ] [2022-11-02T04:22:36.352Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives [2022-11-02T04:22:36.352Z] total 16 [2022-11-02T04:22:36.352Z] drwxr-xr-x 3 root root 4096 Nov 2 04:09 . [2022-11-02T04:22:36.352Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 04:09 .. [2022-11-02T04:22:36.352Z] drwxr-xr-x 2 root root 4096 Nov 2 04:09 cost [2022-11-02T04:22:36.352Z] -rw-r--r-- 1 root root 86 Nov 2 04:09 cost.csv [2022-11-02T04:22:36.352Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives [2022-11-02T04:22:36.352Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives [2022-11-02T04:22:36.352Z] total 16 [2022-11-02T04:22:36.352Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:09 . [2022-11-02T04:22:36.352Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 04:09 .. [2022-11-02T04:22:36.352Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 04:09 cost [2022-11-02T04:22:36.352Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 2 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:22:36.690Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:22:37.577Z] ---> package-listing.sh [2022-11-02T04:22:37.577Z] ++ facter osfamily [2022-11-02T04:22:37.577Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-02T04:22:37.835Z] + OS_FAMILY=debian [2022-11-02T04:22:37.835Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1256 [2022-11-02T04:22:37.835Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-02T04:22:37.835Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-02T04:22:37.835Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-02T04:22:37.835Z] + PACKAGES=/tmp/packages_start.txt [2022-11-02T04:22:37.835Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1256 ']' [2022-11-02T04:22:37.835Z] + PACKAGES=/tmp/packages_end.txt [2022-11-02T04:22:37.835Z] + case "${OS_FAMILY}" in [2022-11-02T04:22:37.835Z] + dpkg -l [2022-11-02T04:22:37.835Z] + grep '^ii' [2022-11-02T04:22:37.835Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-02T04:22:37.835Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-02T04:22:37.835Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-02T04:22:37.835Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1256 ']' [2022-11-02T04:22:37.835Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives/ [2022-11-02T04:22:37.835Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives/ [Pipeline] echo [2022-11-02T04:22:37.867Z] 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-1256/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-02T04:22:38.161Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:22:38.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:22:38.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:22:38.949Z] prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container [2022-11-02T04:22:38.978Z] $ 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-1256/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-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T04:22:39.712Z] $ docker top 3c42a51b2f3c6468a8504cee5d2dd6bc93801aa601e2bae0ddd233fcaee3ea90 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:22:40.106Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-02T04:22:40.424Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-02T04:22:40.740Z] + ls /var/log/sa-host [2022-11-02T04:22:40.740Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:22:40.869Z] provisioning config files... [2022-11-02T04:22:40.878Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/config6434474753528121017tmp [Pipeline] { [Pipeline] echo [2022-11-02T04:22:40.930Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:22:41.245Z] ---> create-netrc.sh [Pipeline] } [2022-11-02T04:22:41.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:22:41.746Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-02T04:22:41.776Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:22:42.089Z] ---> sudo-logs.sh [2022-11-02T04:22:42.089Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-02T04:22:42.169Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:22:42.486Z] ---> job-cost.sh [2022-11-02T04:22:42.487Z] lf-activate-venv: SKIPPING [2022-11-02T04:22:42.487Z] DEBUG: total: 0.2199999988079071 [2022-11-02T04:22:42.487Z] INFO: Retrieving Stack Cost... [2022-11-02T04:22:43.055Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T04:22:43.316Z] INFO: Archiving Costs [Pipeline] echo [2022-11-02T04:22:43.347Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:22:43.658Z] ---> logs-deploy.sh [2022-11-02T04:22:43.658Z] lf-activate-venv: SKIPPING [2022-11-02T04:22:43.658Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1256/1 [2022-11-02T04:22:43.658Z] INFO: archiving workspace using pattern(s): [2022-11-02T04:22:44.598Z] Archives upload complete. [2022-11-02T04:22:44.598Z] INFO: archiving logs to Nexus