Pull request #1242 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4df858f7e36b16750546cfc8c77ea882965b39da+5df0661f6aa28262333844c5296207997c828617 (f88d021945456978f4c03fa7dd08b50f7a80b2fb) 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-ssh7064360272972533617.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-ssh11885354648105817177.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-1242/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-1242/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13092509854757539794.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-1242/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11920297251241782088.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-ssh8248493999955955778.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-1242/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-1242/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9323569754345804593.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8660 in /w/workspace/gexfoundry_device-sdk-go_PR-1242 [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-1242 # 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/1242/head:refs/remotes/origin/PR-1242 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5df0661f6aa28262333844c5296207997c828617 into PR head commit 4df858f7e36b16750546cfc8c77ea882965b39da Merge succeeded, producing 4df858f7e36b16750546cfc8c77ea882965b39da Checking out Revision 4df858f7e36b16750546cfc8c77ea882965b39da (PR-1242) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-20T04:04:34.462Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 4df858f7e36b16750546cfc8c77ea882965b39da # 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 5df0661f6aa28262333844c5296207997c828617 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4df858f7e36b16750546cfc8c77ea882965b39da # timeout=10 [Pipeline] withCredentials [2022-10-20T04:04:34.642Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-20T04:04:34.743Z] ========================================================= [2022-10-20T04:04:34.743Z] EdgeX Global Pipelines Version Info [2022-10-20T04:04:34.743Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:04:35.483Z] ------------------- [2022-10-20T04:04:35.484Z] stable info: [2022-10-20T04:04:35.484Z] ------------------- [2022-10-20T04:04:35.484Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-20T04:04:35.484Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-20T04:04:35.484Z] Message: update stable to v1.0.243 [2022-10-20T04:04:36.058Z] ------------------- [2022-10-20T04:04:36.058Z] experimental info: [2022-10-20T04:04:36.058Z] ------------------- [2022-10-20T04:04:36.058Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-20T04:04:36.058Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-20T04:04:36.058Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-20T04:04:36.353Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-20T04:04:36.401Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-20T04:04:36.447Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-20T04:04:36.490Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-20T04:04:36.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-20T04:04:36.577Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-20T04:04:36.617Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-20T04:04:36.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-20T04:04:36.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-20T04:04:36.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-20T04:04:36.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-20T04:04:36.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-20T04:04:36.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-20T04:04:36.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-20T04:04:36.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-20T04:04:36.955Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-20T04:04:36.995Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-20T04:04:37.036Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-20T04:04:37.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-20T04:04:37.132Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-20T04:04:37.173Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-20T04:04:37.213Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-20T04:04:37.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-20T04:04:37.290Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-20T04:04:37.329Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-20T04:04:37.373Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-20T04:04:37.411Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-20T04:04:37.451Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1242 [Pipeline] echo [2022-10-20T04:04:37.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1242 [Pipeline] echo [2022-10-20T04:04:37.524Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1242 [Pipeline] echo [2022-10-20T04:04:37.567Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] echo [2022-10-20T04:04:37.603Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4df858f [Pipeline] echo [2022-10-20T04:04:37.642Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T04:04:37.754Z] provisioning config files... [2022-10-20T04:04:37.768Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/config9439394128880796351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:04:38.125Z] ---> docker-login.sh [2022-10-20T04:04:38.125Z] nexus3.edgexfoundry.org:10001 [2022-10-20T04:04:38.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:38.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:38.645Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:38.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:38.645Z] [2022-10-20T04:04:38.645Z] Login Succeeded [2022-10-20T04:04:38.645Z] nexus3.edgexfoundry.org:10002 [2022-10-20T04:04:38.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:38.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:38.645Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:38.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:38.645Z] [2022-10-20T04:04:38.645Z] Login Succeeded [2022-10-20T04:04:38.645Z] nexus3.edgexfoundry.org:10003 [2022-10-20T04:04:38.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:38.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:38.903Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:38.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:38.903Z] [2022-10-20T04:04:38.903Z] Login Succeeded [2022-10-20T04:04:38.903Z] nexus3.edgexfoundry.org:10004 [2022-10-20T04:04:38.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:38.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:38.903Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:38.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:38.903Z] [2022-10-20T04:04:38.903Z] Login Succeeded [2022-10-20T04:04:38.903Z] docker.io [2022-10-20T04:04:38.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:39.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:39.471Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:39.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:39.471Z] [2022-10-20T04:04:39.471Z] Login Succeeded [2022-10-20T04:04:39.471Z] ---> docker-login.sh ends [Pipeline] } [2022-10-20T04:04:39.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-20T04:04:40.146Z] + git rev-list -1 --merges 4df858f7e36b16750546cfc8c77ea882965b39da~1..4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] echo [2022-10-20T04:04:40.197Z] -----------> git rev-list -1 --merges 4df858f7e36b16750546cfc8c77ea882965b39da~1..4df858f7e36b16750546cfc8c77ea882965b39da 4df858f7e36b16750546cfc8c77ea882965b39da [false] [Pipeline] sh [2022-10-20T04:04:40.505Z] + git log --format=format:%s -1 4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] echo [2022-10-20T04:04:40.539Z] ========================================================= [2022-10-20T04:04:40.539Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-20T04:04:40.539Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T04:04:40.969Z] + git log --format=format:%s -1 4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] echo [2022-10-20T04:04:41.000Z] [semverPrep] GIT_COMMIT: 4df858f7e36b16750546cfc8c77ea882965b39da, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-20T04:04:41.030Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-20T04:04:41.425Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-20T04:04:41.425Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-20T04:04:41.425Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-20T04:04:41.425Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-20T04:04:41.425Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-20T04:04:41.425Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-20T04:04:41.425Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:04:41.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T04:04:41.902Z] [2022-10-20T04:04:41.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:04:42.279Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T04:04:42.279Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-20T04:04:42.279Z] b85a868b505f: Pulling fs layer [2022-10-20T04:04:42.279Z] e2be974225ed: Pulling fs layer [2022-10-20T04:04:42.279Z] 339a4e72a1f5: Pulling fs layer [2022-10-20T04:04:42.279Z] 988bab9f4d93: Pulling fs layer [2022-10-20T04:04:42.279Z] 1469e6f7b9e6: Pulling fs layer [2022-10-20T04:04:42.279Z] eaf3925da568: Pulling fs layer [2022-10-20T04:04:42.279Z] bab4dde63d76: Pulling fs layer [2022-10-20T04:04:42.279Z] bde34c3a00c8: Pulling fs layer [2022-10-20T04:04:42.279Z] b352a97aabf1: Pulling fs layer [2022-10-20T04:04:42.279Z] 4872d77fe225: Pulling fs layer [2022-10-20T04:04:42.279Z] 5851b861e8e6: Pulling fs layer [2022-10-20T04:04:42.279Z] 988bab9f4d93: Waiting [2022-10-20T04:04:42.279Z] bab4dde63d76: Waiting [2022-10-20T04:04:42.279Z] 1469e6f7b9e6: Waiting [2022-10-20T04:04:42.279Z] 5851b861e8e6: Waiting [2022-10-20T04:04:42.279Z] 4872d77fe225: Waiting [2022-10-20T04:04:42.279Z] b352a97aabf1: Waiting [2022-10-20T04:04:42.279Z] bde34c3a00c8: Waiting [2022-10-20T04:04:42.279Z] eaf3925da568: Waiting [2022-10-20T04:04:42.279Z] e2be974225ed: Download complete [2022-10-20T04:04:42.279Z] 988bab9f4d93: Download complete [2022-10-20T04:04:42.539Z] 339a4e72a1f5: Verifying Checksum [2022-10-20T04:04:42.539Z] 339a4e72a1f5: Download complete [2022-10-20T04:04:42.539Z] 1469e6f7b9e6: Verifying Checksum [2022-10-20T04:04:42.539Z] 1469e6f7b9e6: Download complete [2022-10-20T04:04:42.539Z] eaf3925da568: Download complete [2022-10-20T04:04:42.539Z] bde34c3a00c8: Verifying Checksum [2022-10-20T04:04:42.539Z] bde34c3a00c8: Download complete [2022-10-20T04:04:42.539Z] b352a97aabf1: Verifying Checksum [2022-10-20T04:04:42.539Z] b352a97aabf1: Download complete [2022-10-20T04:04:42.539Z] 4872d77fe225: Verifying Checksum [2022-10-20T04:04:42.539Z] 4872d77fe225: Download complete [2022-10-20T04:04:42.539Z] 5851b861e8e6: Verifying Checksum [2022-10-20T04:04:42.539Z] 5851b861e8e6: Download complete [2022-10-20T04:04:42.540Z] b85a868b505f: Download complete [2022-10-20T04:04:42.798Z] bab4dde63d76: Verifying Checksum [2022-10-20T04:04:42.798Z] bab4dde63d76: Download complete [2022-10-20T04:04:43.735Z] b85a868b505f: Pull complete [2022-10-20T04:04:43.993Z] e2be974225ed: Pull complete [2022-10-20T04:04:44.560Z] 339a4e72a1f5: Pull complete [2022-10-20T04:04:44.560Z] 988bab9f4d93: Pull complete [2022-10-20T04:04:44.820Z] 1469e6f7b9e6: Pull complete [2022-10-20T04:04:44.820Z] eaf3925da568: Pull complete [2022-10-20T04:04:46.726Z] bab4dde63d76: Pull complete [2022-10-20T04:04:46.986Z] bde34c3a00c8: Pull complete [2022-10-20T04:04:46.986Z] b352a97aabf1: Pull complete [2022-10-20T04:04:47.250Z] 4872d77fe225: Pull complete [2022-10-20T04:04:47.250Z] 5851b861e8e6: Pull complete [2022-10-20T04:04:47.250Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-20T04:04:47.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T04:04:47.250Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T04:04:47.479Z] prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container [2022-10-20T04:04:47.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-20T04:04:49.838Z] $ docker top 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc -eo pid,comm [2022-10-20T04:04:49.906Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-20T04:04:49.906Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-20T04:04:50.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-20T04:04:50.028Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-20T04:04:50.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-20T04:04:50.138Z] $ docker exec 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc ssh-agent [2022-10-20T04:04:50.244Z] SSH_AUTH_SOCK=/tmp/ssh-ZuMrEJ4rk4PL/agent.33 [2022-10-20T04:04:50.244Z] SSH_AGENT_PID=39 [2022-10-20T04:04:50.251Z] Running ssh-add (command line suppressed) [2022-10-20T04:04:50.345Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/private_key_7975126084214481481.key (/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/private_key_7975126084214481481.key) [2022-10-20T04:04:50.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-20T04:04:50.711Z] + git tag --points-at HEAD [Pipeline] } [2022-10-20T04:04:50.734Z] $ docker exec --env ******** --env ******** 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc ssh-agent -k [2022-10-20T04:04:50.844Z] unset SSH_AUTH_SOCK; [2022-10-20T04:04:50.844Z] unset SSH_AGENT_PID; [2022-10-20T04:04:50.844Z] echo Agent pid 39 killed; [2022-10-20T04:04:50.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-20T04:04:50.956Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-20T04:04:50.956Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-20T04:04:51.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-20T04:04:51.064Z] $ docker exec 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc ssh-agent [2022-10-20T04:04:51.190Z] SSH_AUTH_SOCK=/tmp/ssh-JBuYzIFLLf1O/agent.71 [2022-10-20T04:04:51.190Z] SSH_AGENT_PID=77 [2022-10-20T04:04:51.195Z] Running ssh-add (command line suppressed) [2022-10-20T04:04:51.283Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/private_key_8723026618240907681.key (/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/private_key_8723026618240907681.key) [2022-10-20T04:04:51.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-20T04:04:51.640Z] + git semver init [2022-10-20T04:04:51.900Z] 2022-10-20 04:04:51,811 [run_init] DEBUG init version:0.0.0 force:False [2022-10-20T04:04:51.900Z] 2022-10-20 04:04:51,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver [2022-10-20T04:04:51.900Z] 2022-10-20 04:04:51,813 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver [2022-10-20T04:04:51.900Z] 2022-10-20 04:04:51,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1242, universal_newlines=False, shell=None, istream=None) [2022-10-20T04:04:53.281Z] 2022-10-20 04:04:52,893 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242/.git/info/exclude [2022-10-20T04:04:53.281Z] 2022-10-20 04:04:52,895 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver/PR-1242 with force:False [2022-10-20T04:04:53.281Z] 2022-10-20 04:04:52,895 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver/PR-1242 [2022-10-20T04:04:53.281Z] 2022-10-20 04:04:52,900 [execute] INFO git cat-file --batch-check [2022-10-20T04:04:53.281Z] 2022-10-20 04:04:52,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver, universal_newlines=False, shell=None, istream=) [2022-10-20T04:04:53.281Z] 2022-10-20 04:04:52,907 [execute] INFO git cat-file --batch [2022-10-20T04:04:53.281Z] 2022-10-20 04:04:52,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver, universal_newlines=False, shell=None, istream=) [2022-10-20T04:04:53.281Z] 2022-10-20 04:04:52,913 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver/PR-1242 [2022-10-20T04:04:53.281Z] 0.0.0 [Pipeline] } [2022-10-20T04:04:53.302Z] $ docker exec --env ******** --env ******** 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc ssh-agent -k [2022-10-20T04:04:53.410Z] unset SSH_AUTH_SOCK; [2022-10-20T04:04:53.410Z] unset SSH_AGENT_PID; [2022-10-20T04:04:53.410Z] echo Agent pid 77 killed; [2022-10-20T04:04:53.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-20T04:04:53.867Z] + git semver [Pipeline] } [2022-10-20T04:04:54.156Z] $ docker stop --time=1 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc [2022-10-20T04:04:55.469Z] $ docker rm -f 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T04:04:55.879Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-20T04:04:56.104Z] Stashed 1 file(s) [Pipeline] echo [2022-10-20T04:04:56.121Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T04:04:56.737Z] provisioning config files... [2022-10-20T04:04:56.746Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/config14303798937214091647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:04:57.092Z] ---> docker-login.sh [2022-10-20T04:04:57.092Z] nexus3.edgexfoundry.org:10001 [2022-10-20T04:04:57.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:57.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:57.092Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:57.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:57.092Z] [2022-10-20T04:04:57.092Z] Login Succeeded [2022-10-20T04:04:57.092Z] nexus3.edgexfoundry.org:10002 [2022-10-20T04:04:57.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:57.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:57.092Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:57.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:57.092Z] [2022-10-20T04:04:57.092Z] Login Succeeded [2022-10-20T04:04:57.092Z] nexus3.edgexfoundry.org:10003 [2022-10-20T04:04:57.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:57.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:57.352Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:57.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:57.352Z] [2022-10-20T04:04:57.352Z] Login Succeeded [2022-10-20T04:04:57.352Z] nexus3.edgexfoundry.org:10004 [2022-10-20T04:04:57.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:57.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:57.352Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:57.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:57.352Z] [2022-10-20T04:04:57.352Z] Login Succeeded [2022-10-20T04:04:57.352Z] docker.io [2022-10-20T04:04:57.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:04:57.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:04:57.870Z] Configure a credential helper to remove this warning. See [2022-10-20T04:04:57.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:04:57.870Z] [2022-10-20T04:04:57.870Z] Login Succeeded [2022-10-20T04:04:57.870Z] ---> docker-login.sh ends [Pipeline] } [2022-10-20T04:04:57.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-20T04:04:58.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T04:04:58.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T04:04:58.188Z] ========================================================= [2022-10-20T04:04:58.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-20T04:04:58.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:04:58.667Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-20T04:04:58.667Z] Sending build context to Docker daemon 10.04MB [2022-10-20T04:04:58.667Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T04:04:58.667Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-20T04:04:58.927Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-20T04:04:58.927Z] 213ec9aee27d: Pulling fs layer [2022-10-20T04:04:58.927Z] 4583459ba037: Pulling fs layer [2022-10-20T04:04:58.927Z] 93c1e223e6f2: Pulling fs layer [2022-10-20T04:04:58.927Z] 53926ce57604: Pulling fs layer [2022-10-20T04:04:58.927Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-20T04:04:58.927Z] 30f14e443154: Pulling fs layer [2022-10-20T04:04:58.927Z] 801331c1e519: Pulling fs layer [2022-10-20T04:04:58.927Z] 99cc6dd402b0: Pulling fs layer [2022-10-20T04:04:58.927Z] 7d9ed39f4882: Pulling fs layer [2022-10-20T04:04:58.927Z] 53926ce57604: Waiting [2022-10-20T04:04:58.927Z] 21b2b0c7a3f4: Waiting [2022-10-20T04:04:58.927Z] 30f14e443154: Waiting [2022-10-20T04:04:58.927Z] 801331c1e519: Waiting [2022-10-20T04:04:58.927Z] 99cc6dd402b0: Waiting [2022-10-20T04:04:58.927Z] 7d9ed39f4882: Waiting [2022-10-20T04:04:58.927Z] 93c1e223e6f2: Verifying Checksum [2022-10-20T04:04:58.927Z] 93c1e223e6f2: Download complete [2022-10-20T04:04:58.927Z] 4583459ba037: Verifying Checksum [2022-10-20T04:04:58.927Z] 4583459ba037: Download complete [2022-10-20T04:04:58.927Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-20T04:04:58.927Z] 21b2b0c7a3f4: Download complete [2022-10-20T04:04:58.927Z] 213ec9aee27d: Download complete [2022-10-20T04:04:58.927Z] 30f14e443154: Download complete [2022-10-20T04:04:58.927Z] 801331c1e519: Download complete [2022-10-20T04:04:59.187Z] 213ec9aee27d: Pull complete [2022-10-20T04:04:59.187Z] 4583459ba037: Pull complete [2022-10-20T04:04:59.187Z] 93c1e223e6f2: Pull complete [2022-10-20T04:04:59.756Z] 53926ce57604: Verifying Checksum [2022-10-20T04:04:59.756Z] 53926ce57604: Download complete [2022-10-20T04:05:00.016Z] 99cc6dd402b0: Verifying Checksum [2022-10-20T04:05:00.016Z] 99cc6dd402b0: Download complete [2022-10-20T04:05:00.016Z] 7d9ed39f4882: Verifying Checksum [2022-10-20T04:05:00.016Z] 7d9ed39f4882: Download complete [2022-10-20T04:05:03.304Z] 53926ce57604: Pull complete [2022-10-20T04:05:03.563Z] 21b2b0c7a3f4: Pull complete [2022-10-20T04:05:03.563Z] 30f14e443154: Pull complete [2022-10-20T04:05:03.563Z] 801331c1e519: Pull complete [2022-10-20T04:05:06.109Z] 99cc6dd402b0: Pull complete [2022-10-20T04:05:06.369Z] 7d9ed39f4882: Pull complete [2022-10-20T04:05:06.369Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-20T04:05:06.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-20T04:05:06.369Z] ---> 1dedd983c030 [2022-10-20T04:05:06.369Z] Step 3/11 : ARG MAKE=make build [2022-10-20T04:05:10.555Z] ---> Running in 07d44b677400 [2022-10-20T04:05:10.555Z] Removing intermediate container 07d44b677400 [2022-10-20T04:05:10.555Z] ---> b9fd1f39dd6a [2022-10-20T04:05:10.555Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-20T04:05:10.555Z] ---> Running in 7f5062f71d12 [2022-10-20T04:05:10.555Z] Removing intermediate container 7f5062f71d12 [2022-10-20T04:05:10.555Z] ---> d113713e4fa7 [2022-10-20T04:05:10.556Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-20T04:05:10.556Z] ---> Running in 551673e83e46 [2022-10-20T04:05:10.556Z] Removing intermediate container 551673e83e46 [2022-10-20T04:05:10.556Z] ---> df1425cbd4a8 [2022-10-20T04:05:10.556Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T04:05:10.556Z] ---> Running in 5ae649899af8 [2022-10-20T04:05:11.124Z] Removing intermediate container 5ae649899af8 [2022-10-20T04:05:11.124Z] ---> a810ef2b3bc5 [2022-10-20T04:05:11.124Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-20T04:05:11.124Z] ---> Running in fb3b1a72cff2 [2022-10-20T04:05:11.383Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T04:05:11.557Z] Still waiting to schedule task [2022-10-20T04:05:11.558Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-20T04:05:12.334Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T04:05:12.593Z] OK: 211 MiB in 51 packages [2022-10-20T04:05:13.157Z] Removing intermediate container fb3b1a72cff2 [2022-10-20T04:05:13.157Z] ---> c1315c0a1191 [2022-10-20T04:05:13.157Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-20T04:05:13.157Z] ---> 287038554776 [2022-10-20T04:05:13.157Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T04:05:13.157Z] ---> Running in 7fb55df69210 [2022-10-20T04:05:39.709Z] Removing intermediate container 7fb55df69210 [2022-10-20T04:05:39.709Z] ---> a5b92c565b42 [2022-10-20T04:05:39.709Z] Step 10/11 : COPY . . [2022-10-20T04:05:39.709Z] ---> 31ffc314d91c [2022-10-20T04:05:39.709Z] Step 11/11 : RUN ${MAKE} [2022-10-20T04:05:39.709Z] ---> Running in d885a891463b [2022-10-20T04:05:39.709Z] noop [2022-10-20T04:05:39.709Z] Removing intermediate container d885a891463b [2022-10-20T04:05:39.709Z] ---> 0eeef2b5af30 [2022-10-20T04:05:39.709Z] Successfully built 0eeef2b5af30 [2022-10-20T04:05:39.709Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:05:40.156Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-20T04:05:40.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T04:05:40.318Z] prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container [2022-10-20T04:05:40.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-20T04:05:40.723Z] $ docker top 34143e21d62ddd3dfae9e00c6a48238898781b35ab8b716ffa16c50e37909cb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T04:05:41.109Z] + go version [2022-10-20T04:05:41.109Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-20T04:05:41.143Z] $ docker stop --time=1 34143e21d62ddd3dfae9e00c6a48238898781b35ab8b716ffa16c50e37909cb4 [2022-10-20T04:05:42.441Z] $ docker rm -f 34143e21d62ddd3dfae9e00c6a48238898781b35ab8b716ffa16c50e37909cb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:05:43.164Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-20T04:05:43.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T04:05:43.309Z] prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container [2022-10-20T04:05:43.344Z] $ 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-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-20T04:05:43.688Z] $ docker top dd022c2e55aca71f28e96d0b57af609f4b08107f073e0218dd399512e4d58b9e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T04:05:44.070Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1242 [Pipeline] fileExists [Pipeline] sh [2022-10-20T04:05:44.418Z] + make test [2022-10-20T04:05:44.419Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-20T04:05:50.982Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-20T04:06:05.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements [2022-10-20T04:06:05.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-20T04:06:05.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.105s coverage: 73.1% of statements [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-20T04:06:05.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-20T04:06:05.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 65.1% of statements [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-20T04:06:05.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.751s coverage: 89.2% of statements [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-20T04:06:05.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-10-20T04:06:05.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-20T04:06:23.932Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-20T04:06:23.932Z] GO111MODULE=on go vet ./... [2022-10-20T04:06:26.481Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-20T04:06:26.482Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-20T04:06:26.482Z] ./bin/test-attribution-txt.sh [2022-10-20T04:06:26.482Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-20T04:06:26.482Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-20T04:06:26.482Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-20T04:06:26.482Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-20T04:06:26.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-20T04:06:26.550Z] $ docker stop --time=1 dd022c2e55aca71f28e96d0b57af609f4b08107f073e0218dd399512e4d58b9e [2022-10-20T04:06:29.649Z] $ docker rm -f dd022c2e55aca71f28e96d0b57af609f4b08107f073e0218dd399512e4d58b9e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T04:06:30.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-20T04:06:30.355Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-20T04:06:31.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-20T04:06:31.470Z] + ls -al . [2022-10-20T04:06:31.470Z] total 276 [2022-10-20T04:06:31.470Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 04:05 . [2022-10-20T04:06:31.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 04:04 .. [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 04:04 .dockerignore [2022-10-20T04:06:31.470Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 04:06 .git [2022-10-20T04:06:31.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 04:04 .github [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 20 04:04 .gitignore [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 04:04 .golangci.yml [2022-10-20T04:06:31.470Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 04:04 .semver [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 20 04:04 CHANGELOG.md [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 04:04 GOVERNANCE.md [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 20 04:04 Jenkinsfile [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 04:04 LICENSE [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 20 04:04 Makefile [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 20 04:04 OWNERS.md [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 20 04:04 README.md [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 04:04 VERSION [2022-10-20T04:06:31.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 04:04 bin [2022-10-20T04:06:31.470Z] -rw-r--r-- 1 jenkins jenkins 101758 Oct 20 04:06 coverage.out [2022-10-20T04:06:31.470Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 04:04 example [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 20 04:04 go.mod [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 20 04:04 go.sum [2022-10-20T04:06:31.470Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 20 04:04 internal [2022-10-20T04:06:31.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 04:04 openapi [2022-10-20T04:06:31.470Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 04:04 pkg [2022-10-20T04:06:31.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 04:04 snap [2022-10-20T04:06:31.470Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:06:31.847Z] + 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=4df858f7e36b16750546cfc8c77ea882965b39da --label arch=amd64 --label version=0.0.0 . [2022-10-20T04:06:31.847Z] Sending build context to Docker daemon 10.14MB [2022-10-20T04:06:31.847Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T04:06:31.847Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-20T04:06:31.847Z] ---> 0eeef2b5af30 [2022-10-20T04:06:31.847Z] Step 3/25 : ARG MAKE=make build [2022-10-20T04:06:32.106Z] ---> Running in 0571e3277d67 [2022-10-20T04:06:32.106Z] Removing intermediate container 0571e3277d67 [2022-10-20T04:06:32.106Z] ---> 4556eb51886b [2022-10-20T04:06:32.106Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-20T04:06:32.106Z] ---> Running in 1d5ed2433429 [2022-10-20T04:06:32.106Z] Removing intermediate container 1d5ed2433429 [2022-10-20T04:06:32.106Z] ---> 4bf7b12d42c8 [2022-10-20T04:06:32.106Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-20T04:06:32.106Z] ---> Running in 1c887b349416 [2022-10-20T04:06:32.365Z] Removing intermediate container 1c887b349416 [2022-10-20T04:06:32.365Z] ---> 706d45c9c0ce [2022-10-20T04:06:32.365Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T04:06:32.365Z] ---> Running in 64fd43b1de96 [2022-10-20T04:06:32.939Z] Removing intermediate container 64fd43b1de96 [2022-10-20T04:06:32.939Z] ---> 90deb0d6c048 [2022-10-20T04:06:32.939Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-20T04:06:32.939Z] ---> Running in 27de1f07d1d8 [2022-10-20T04:06:33.197Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T04:06:34.575Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T04:06:35.955Z] OK: 211 MiB in 51 packages [2022-10-20T04:06:35.955Z] Removing intermediate container 27de1f07d1d8 [2022-10-20T04:06:35.955Z] ---> 6729e1d49c3a [2022-10-20T04:06:35.955Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-20T04:06:36.215Z] ---> 8c98e188386b [2022-10-20T04:06:36.215Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T04:06:36.215Z] ---> Running in 658975c60ddf [2022-10-20T04:06:36.788Z] Removing intermediate container 658975c60ddf [2022-10-20T04:06:36.788Z] ---> 391840d27a17 [2022-10-20T04:06:36.788Z] Step 10/25 : COPY . . [2022-10-20T04:06:37.355Z] ---> aaf6fba4ab2b [2022-10-20T04:06:37.355Z] Step 11/25 : RUN ${MAKE} [2022-10-20T04:06:37.355Z] ---> Running in 3f4558d2f118 [2022-10-20T04:06:37.614Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-20T04:06:45.161Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8662 in /w/workspace/gexfoundry_device-sdk-go_PR-1242 [Pipeline] { [Pipeline] ws [2022-10-20T04:06:45.200Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-20T04:06:45.285Z] The recommended git tool is: git [2022-10-20T04:06:50.240Z] using credential edgex-jenkins-ssh [2022-10-20T04:06:50.255Z] Cloning the remote Git repository [2022-10-20T04:06:50.292Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-20T04:06:50.358Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-20T04:06:50.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-20T04:06:50.482Z] > git --version # timeout=10 [2022-10-20T04:06:50.499Z] > git --version # 'git version 2.25.1' [2022-10-20T04:06:50.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T04:06:50.541Z] Verifying host key using known hosts file [2022-10-20T04:06:50.713Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-20T04:06:50.724Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-20T04:06:52.217Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-20T04:06:52.240Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-20T04:06:53.744Z] Merging remotes/origin/main commit 5df0661f6aa28262333844c5296207997c828617 into PR head commit 4df858f7e36b16750546cfc8c77ea882965b39da [2022-10-20T04:06:53.976Z] Merge succeeded, producing 4df858f7e36b16750546cfc8c77ea882965b39da [2022-10-20T04:06:53.977Z] Checking out Revision 4df858f7e36b16750546cfc8c77ea882965b39da (PR-1242) [2022-10-20T04:06:53.025Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-20T04:06:53.068Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-20T04:06:53.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T04:06:53.075Z] Verifying host key using known hosts file [2022-10-20T04:06:53.083Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-20T04:06:53.094Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1242/head:refs/remotes/origin/PR-1242 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-20T04:06:53.762Z] > git config core.sparsecheckout # timeout=10 [2022-10-20T04:06:53.779Z] > git checkout -f 4df858f7e36b16750546cfc8c77ea882965b39da # timeout=10 [2022-10-20T04:06:53.882Z] > git remote # timeout=10 [2022-10-20T04:06:53.903Z] > git config --get remote.origin.url # timeout=10 [2022-10-20T04:06:53.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T04:06:53.923Z] Verifying host key using known hosts file [2022-10-20T04:06:53.927Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-20T04:06:53.936Z] > git merge 5df0661f6aa28262333844c5296207997c828617 # timeout=10 [2022-10-20T04:06:53.961Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-20T04:06:53.984Z] > git config core.sparsecheckout # timeout=10 [2022-10-20T04:06:54.004Z] > git checkout -f 4df858f7e36b16750546cfc8c77ea882965b39da # timeout=10 [2022-10-20T04:06:54.470Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-20T04:06:54.514Z] > git --version # timeout=10 [2022-10-20T04:06:54.523Z] > git --version # 'git version 2.25.1' [2022-10-20T04:06:54.541Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T04:06:55.541Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-20T04:06:55.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-20T04:06:55.541Z] Dload Upload Total Spent Left Speed [2022-10-20T04:06:55.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88125 [2022-10-20T04:06:55.689Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] sh [2022-10-20T04:06:56.235Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-20T04:06:56.574Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-20T04:06:56.575Z] + sudo tee /etc/docker/daemon.new [2022-10-20T04:06:56.575Z] { [2022-10-20T04:06:56.575Z] "registry-mirrors": [ [2022-10-20T04:06:56.575Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-20T04:06:56.575Z] ], [2022-10-20T04:06:56.575Z] "bip": "10.250.0.254/24", [2022-10-20T04:06:56.575Z] "hosts": [ [2022-10-20T04:06:56.575Z] "tcp://0.0.0.0:5555", [2022-10-20T04:06:56.575Z] "unix:///var/run/docker.sock" [2022-10-20T04:06:56.575Z] ], [2022-10-20T04:06:56.575Z] "mtu": 1458, [2022-10-20T04:06:56.575Z] "selinux-enabled": true, [2022-10-20T04:06:56.575Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-20T04:06:56.575Z] } [Pipeline] sh [2022-10-20T04:06:56.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-20T04:06:57.271Z] + sudo service docker restart [2022-10-20T04:06:58.217Z] Removing intermediate container 3f4558d2f118 [2022-10-20T04:06:58.217Z] ---> 03167e993b29 [2022-10-20T04:06:58.217Z] Step 12/25 : FROM alpine:3.16 [2022-10-20T04:06:58.784Z] 3.16: Pulling from library/alpine [2022-10-20T04:06:59.042Z] 213ec9aee27d: Already exists [2022-10-20T04:06:59.042Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-20T04:06:59.042Z] Status: Downloaded newer image for alpine:3.16 [2022-10-20T04:06:59.042Z] ---> 9c6f07244728 [2022-10-20T04:06:59.042Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-20T04:06:59.300Z] ---> Running in 22bc027df7a7 [2022-10-20T04:06:59.300Z] Removing intermediate container 22bc027df7a7 [2022-10-20T04:06:59.300Z] ---> f50f91bce09f [2022-10-20T04:06:59.300Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T04:06:59.300Z] ---> Running in 2abbb24a5f8d [2022-10-20T04:06:59.867Z] Removing intermediate container 2abbb24a5f8d [2022-10-20T04:06:59.867Z] ---> 6b36f95ed348 [2022-10-20T04:06:59.867Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-20T04:06:59.867Z] ---> Running in f35ccbfb4ed2 [2022-10-20T04:07:00.125Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T04:07:01.062Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T04:07:01.631Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-20T04:07:01.631Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-20T04:07:01.631Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-20T04:07:01.890Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-20T04:07:01.890Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-20T04:07:01.890Z] Executing busybox-1.35.0-r17.trigger [2022-10-20T04:07:01.890Z] OK: 8 MiB in 19 packages [2022-10-20T04:07:02.457Z] Removing intermediate container f35ccbfb4ed2 [2022-10-20T04:07:02.457Z] ---> 52ffe3e5f736 [2022-10-20T04:07:02.457Z] Step 16/25 : WORKDIR / [2022-10-20T04:07:02.457Z] ---> Running in 45e11216fcf7 [2022-10-20T04:07:02.457Z] Removing intermediate container 45e11216fcf7 [2022-10-20T04:07:02.457Z] ---> 2fb9ffc06774 [2022-10-20T04:07:02.457Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-20T04:07:02.716Z] ---> f7bed2f53999 [2022-10-20T04:07:02.717Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-20T04:07:03.281Z] ---> c644a79da9be [2022-10-20T04:07:03.281Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-20T04:07:03.539Z] ---> 1b5e96a5b179 [2022-10-20T04:07:03.539Z] Step 20/25 : EXPOSE 59999 [2022-10-20T04:07:03.539Z] ---> Running in 896c426fd4aa [2022-10-20T04:07:03.539Z] Removing intermediate container 896c426fd4aa [2022-10-20T04:07:03.539Z] ---> 189f13273805 [2022-10-20T04:07:03.539Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-20T04:07:03.539Z] ---> Running in 4b0c0fa1840f [2022-10-20T04:07:03.796Z] Removing intermediate container 4b0c0fa1840f [2022-10-20T04:07:03.796Z] ---> ccdb7d5e0dab [2022-10-20T04:07:03.796Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-20T04:07:03.796Z] ---> Running in fa448933b8ec [2022-10-20T04:07:03.796Z] Removing intermediate container fa448933b8ec [2022-10-20T04:07:03.796Z] ---> 39512fed740d [2022-10-20T04:07:03.796Z] Step 23/25 : LABEL arch=amd64 [2022-10-20T04:07:03.796Z] ---> Running in fca7b7620e48 [2022-10-20T04:07:03.796Z] Removing intermediate container fca7b7620e48 [2022-10-20T04:07:03.796Z] ---> 6554d653dda0 [2022-10-20T04:07:03.796Z] Step 24/25 : LABEL git_sha=4df858f7e36b16750546cfc8c77ea882965b39da [2022-10-20T04:07:03.796Z] ---> Running in 52fa70d0489a [2022-10-20T04:07:04.056Z] Removing intermediate container 52fa70d0489a [2022-10-20T04:07:04.056Z] ---> c041bb23ee66 [2022-10-20T04:07:04.056Z] Step 25/25 : LABEL version=0.0.0 [2022-10-20T04:07:04.056Z] ---> Running in 865c93eab619 [2022-10-20T04:07:04.056Z] Removing intermediate container 865c93eab619 [2022-10-20T04:07:04.056Z] ---> 9ddef253a295 [2022-10-20T04:07:04.056Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-20T04:07:04.056Z] Successfully built 9ddef253a295 [2022-10-20T04:07:04.056Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:07:04.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T04:07:04.956Z] [2022-10-20T04:07:04.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:07:05.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T04:07:05.322Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-20T04:07:05.322Z] 5eb5b503b376: Pulling fs layer [2022-10-20T04:07:05.322Z] 5c69ac0246d0: Pulling fs layer [2022-10-20T04:07:05.322Z] ec43610c2a17: Pulling fs layer [2022-10-20T04:07:05.322Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-20T04:07:05.322Z] 33b1e0a273af: Pulling fs layer [2022-10-20T04:07:05.322Z] 5d3b04190fa2: Pulling fs layer [2022-10-20T04:07:05.322Z] 2f39f015ded8: Pulling fs layer [2022-10-20T04:07:05.322Z] 3a2ae6a8a46f: Waiting [2022-10-20T04:07:05.322Z] 33b1e0a273af: Waiting [2022-10-20T04:07:05.322Z] 2f39f015ded8: Waiting [2022-10-20T04:07:05.322Z] 5d3b04190fa2: Waiting [2022-10-20T04:07:05.322Z] 5c69ac0246d0: Verifying Checksum [2022-10-20T04:07:05.322Z] 5c69ac0246d0: Download complete [2022-10-20T04:07:05.322Z] 3a2ae6a8a46f: Download complete [2022-10-20T04:07:05.322Z] 33b1e0a273af: Verifying Checksum [2022-10-20T04:07:05.322Z] 33b1e0a273af: Download complete [2022-10-20T04:07:05.322Z] 5d3b04190fa2: Verifying Checksum [2022-10-20T04:07:05.322Z] 5d3b04190fa2: Download complete [2022-10-20T04:07:05.583Z] ec43610c2a17: Verifying Checksum [2022-10-20T04:07:05.583Z] ec43610c2a17: Download complete [2022-10-20T04:07:05.583Z] 5eb5b503b376: Verifying Checksum [2022-10-20T04:07:05.583Z] 5eb5b503b376: Download complete [2022-10-20T04:07:06.150Z] 2f39f015ded8: Download complete [2022-10-20T04:07:07.108Z] 5eb5b503b376: Pull complete [2022-10-20T04:07:07.108Z] 5c69ac0246d0: Pull complete [2022-10-20T04:07:07.679Z] ec43610c2a17: Pull complete [2022-10-20T04:07:07.679Z] 3a2ae6a8a46f: Pull complete [2022-10-20T04:07:07.939Z] 33b1e0a273af: Pull complete [2022-10-20T04:07:07.939Z] 5d3b04190fa2: Pull complete [2022-10-20T04:07:12.129Z] 2f39f015ded8: Pull complete [2022-10-20T04:07:12.129Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-20T04:07:12.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T04:07:12.129Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T04:07:12.355Z] prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container [2022-10-20T04:07:12.392Z] $ 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-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-20T04:07:15.214Z] $ docker top bb28dd733375b5f210270dbf57da370080af5f2e96588128116a947bbabfb522 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T04:07:15.606Z] provisioning config files... [2022-10-20T04:07:15.629Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9412676867092346831tmp [Pipeline] { [2022-10-20T04:07:15.673Z] ---> job-cost.sh [2022-10-20T04:07:15.673Z] lf-activate-venv: SKIPPING [2022-10-20T04:07:15.673Z] INFO: No Stack... [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:07:15.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-20T04:07:16.017Z] ---> docker-login.sh [2022-10-20T04:07:16.017Z] nexus3.edgexfoundry.org:10001 [2022-10-20T04:07:16.496Z] INFO: Archiving Costs [Pipeline] sh [2022-10-20T04:07:16.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:07:16.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:07:16.604Z] Configure a credential helper to remove this warning. See [2022-10-20T04:07:16.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:07:16.604Z] [2022-10-20T04:07:16.604Z] Login Succeeded [2022-10-20T04:07:16.604Z] nexus3.edgexfoundry.org:10002 [2022-10-20T04:07:16.816Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives/cost.csv [2022-10-20T04:07:16.816Z] + cut -d, -f6 [Pipeline] lock [2022-10-20T04:07:16.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] [2022-10-20T04:07:16.867Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] did not exist. Created. [2022-10-20T04:07:16.867Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] [2022-10-20T04:07:16.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:07:16.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:07:16.875Z] Configure a credential helper to remove this warning. See [2022-10-20T04:07:16.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:07:16.876Z] [2022-10-20T04:07:16.876Z] Login Succeeded [2022-10-20T04:07:16.876Z] nexus3.edgexfoundry.org:10003 [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-20T04:07:17.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:07:17.301Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-20T04:07:17.360Z] Stashed 1 file(s) [Pipeline] } [2022-10-20T04:07:17.390Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] [2022-10-20T04:07:17.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:07:17.415Z] Configure a credential helper to remove this warning. See [2022-10-20T04:07:17.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:07:17.415Z] [2022-10-20T04:07:17.415Z] Login Succeeded [2022-10-20T04:07:17.415Z] nexus3.edgexfoundry.org:10004 [Pipeline] // lock [Pipeline] } [2022-10-20T04:07:17.500Z] $ docker stop --time=1 bb28dd733375b5f210270dbf57da370080af5f2e96588128116a947bbabfb522 [2022-10-20T04:07:17.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:07:17.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:07:17.687Z] Configure a credential helper to remove this warning. See [2022-10-20T04:07:17.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:07:17.687Z] [2022-10-20T04:07:17.687Z] Login Succeeded [2022-10-20T04:07:17.687Z] docker.io [2022-10-20T04:07:17.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T04:07:18.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T04:07:18.223Z] Configure a credential helper to remove this warning. See [2022-10-20T04:07:18.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T04:07:18.223Z] [2022-10-20T04:07:18.223Z] Login Succeeded [2022-10-20T04:07:18.223Z] ---> docker-login.sh ends [2022-10-20T04:07:18.664Z] $ docker rm -f bb28dd733375b5f210270dbf57da370080af5f2e96588128116a947bbabfb522 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2022-10-20T04:07:18.832Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2022-10-20T04:07:19.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T04:07:19.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T04:07:19.297Z] ========================================================= [2022-10-20T04:07:19.297Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-20T04:07:19.297Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:07:19.802Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-20T04:07:20.073Z] Sending build context to Docker daemon 5.396MB [2022-10-20T04:07:20.073Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T04:07:20.073Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-20T04:07:20.347Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-20T04:07:20.347Z] 9b18e9b68314: Pulling fs layer [2022-10-20T04:07:20.347Z] d32db5db7311: Pulling fs layer [2022-10-20T04:07:20.347Z] d0c4b47475fc: Pulling fs layer [2022-10-20T04:07:20.347Z] 5831b945b038: Pulling fs layer [2022-10-20T04:07:20.347Z] 86bbec2aaacd: Pulling fs layer [2022-10-20T04:07:20.347Z] e10730c5d714: Pulling fs layer [2022-10-20T04:07:20.347Z] 5dd5c2283517: Pulling fs layer [2022-10-20T04:07:20.347Z] d5ac0230b979: Pulling fs layer [2022-10-20T04:07:20.347Z] 5831b945b038: Waiting [2022-10-20T04:07:20.347Z] 86bbec2aaacd: Waiting [2022-10-20T04:07:20.347Z] e10730c5d714: Waiting [2022-10-20T04:07:20.347Z] 5dd5c2283517: Waiting [2022-10-20T04:07:20.347Z] d5ac0230b979: Waiting [2022-10-20T04:07:20.347Z] d0c4b47475fc: Verifying Checksum [2022-10-20T04:07:20.347Z] d0c4b47475fc: Download complete [2022-10-20T04:07:20.347Z] d32db5db7311: Verifying Checksum [2022-10-20T04:07:20.347Z] d32db5db7311: Download complete [2022-10-20T04:07:20.347Z] 86bbec2aaacd: Verifying Checksum [2022-10-20T04:07:20.347Z] 86bbec2aaacd: Download complete [2022-10-20T04:07:20.347Z] e10730c5d714: Verifying Checksum [2022-10-20T04:07:20.347Z] e10730c5d714: Download complete [2022-10-20T04:07:20.347Z] 9b18e9b68314: Verifying Checksum [2022-10-20T04:07:20.347Z] 9b18e9b68314: Download complete [2022-10-20T04:07:21.778Z] 9b18e9b68314: Pull complete [2022-10-20T04:07:21.778Z] d5ac0230b979: Verifying Checksum [2022-10-20T04:07:21.778Z] d5ac0230b979: Download complete [2022-10-20T04:07:22.385Z] d32db5db7311: Pull complete [2022-10-20T04:07:22.663Z] d0c4b47475fc: Pull complete [2022-10-20T04:07:23.055Z] 5dd5c2283517: Verifying Checksum [2022-10-20T04:07:23.055Z] 5dd5c2283517: Download complete [2022-10-20T04:07:24.047Z] 5831b945b038: Verifying Checksum [2022-10-20T04:07:24.047Z] 5831b945b038: Download complete [2022-10-20T04:07:39.042Z] 5831b945b038: Pull complete [2022-10-20T04:07:39.043Z] 86bbec2aaacd: Pull complete [2022-10-20T04:07:39.043Z] e10730c5d714: Pull complete [2022-10-20T04:07:43.310Z] 5dd5c2283517: Pull complete [2022-10-20T04:07:44.737Z] d5ac0230b979: Pull complete [2022-10-20T04:07:44.737Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-20T04:07:44.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-20T04:07:44.737Z] ---> 59b3b1a385d4 [2022-10-20T04:07:44.737Z] Step 3/11 : ARG MAKE=make build [2022-10-20T04:07:46.683Z] ---> Running in c16df354085b [2022-10-20T04:07:46.953Z] Removing intermediate container c16df354085b [2022-10-20T04:07:46.953Z] ---> 48025df7c149 [2022-10-20T04:07:46.953Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-20T04:07:46.953Z] ---> Running in 449b0937eea5 [2022-10-20T04:07:47.223Z] Removing intermediate container 449b0937eea5 [2022-10-20T04:07:47.223Z] ---> e3281b7549da [2022-10-20T04:07:47.223Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-20T04:07:47.494Z] ---> Running in 38750e841bba [2022-10-20T04:07:47.766Z] Removing intermediate container 38750e841bba [2022-10-20T04:07:47.766Z] ---> c24034a5b14f [2022-10-20T04:07:47.766Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T04:07:47.766Z] ---> Running in 47f027d38661 [2022-10-20T04:07:49.749Z] Removing intermediate container 47f027d38661 [2022-10-20T04:07:49.749Z] ---> e719fa6dc821 [2022-10-20T04:07:49.749Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-20T04:07:50.017Z] ---> Running in 4b32ff3339fd [2022-10-20T04:07:50.979Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T04:07:51.943Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T04:07:52.905Z] OK: 221 MiB in 51 packages [2022-10-20T04:07:53.873Z] Removing intermediate container 4b32ff3339fd [2022-10-20T04:07:53.873Z] ---> 82f38750e605 [2022-10-20T04:07:53.873Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-20T04:07:54.146Z] ---> efc6a420ed09 [2022-10-20T04:07:54.146Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T04:07:54.146Z] ---> Running in d72d6275ca2f [2022-10-20T04:08:41.070Z] Removing intermediate container d72d6275ca2f [2022-10-20T04:08:41.070Z] ---> f995df6a5d31 [2022-10-20T04:08:41.070Z] Step 10/11 : COPY . . [2022-10-20T04:08:41.661Z] ---> 5ac65ba426b5 [2022-10-20T04:08:41.661Z] Step 11/11 : RUN ${MAKE} [2022-10-20T04:08:41.944Z] ---> Running in 7c337161df20 [2022-10-20T04:08:42.917Z] noop [2022-10-20T04:08:43.505Z] Removing intermediate container 7c337161df20 [2022-10-20T04:08:43.505Z] ---> 63a8e00fbd23 [2022-10-20T04:08:43.505Z] Successfully built 63a8e00fbd23 [2022-10-20T04:08:43.505Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:08:43.974Z] + docker inspect -f . ci-base-image-arm64 [2022-10-20T04:08:43.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T04:08:44.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-8662 does not seem to be running inside a container [2022-10-20T04:08:44.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-20T04:08:45.507Z] $ docker top ac6eaa518c893df61127fdfc30a0377d91e98e0bf2bb800eea8c08f8a22ebe7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T04:08:46.403Z] + go version [2022-10-20T04:08:46.403Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-20T04:08:46.434Z] $ docker stop --time=1 ac6eaa518c893df61127fdfc30a0377d91e98e0bf2bb800eea8c08f8a22ebe7e [2022-10-20T04:08:48.076Z] $ docker rm -f ac6eaa518c893df61127fdfc30a0377d91e98e0bf2bb800eea8c08f8a22ebe7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:08:48.898Z] + docker inspect -f . ci-base-image-arm64 [2022-10-20T04:08:48.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T04:08:49.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-8662 does not seem to be running inside a container [2022-10-20T04:08:49.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-20T04:08:50.401Z] $ docker top f9b1d3b67f6320a891782281ded34c9d8aef8d4635f3ce152bbbfe179227e38a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T04:08:50.993Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-20T04:08:51.396Z] + make test [2022-10-20T04:08:51.669Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-20T04:09:23.908Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-20T04:11:15.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-20T04:11:15.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-20T04:11:15.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-20T04:11:15.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-20T04:11:15.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-20T04:11:18.880Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.481s coverage: 27.6% of statements [2022-10-20T04:11:20.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.682s coverage: 78.9% of statements [2022-10-20T04:11:20.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-20T04:11:25.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.739s coverage: 73.1% of statements [2022-10-20T04:11:25.648Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-20T04:11:25.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-20T04:11:31.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.696s coverage: 54.4% of statements [2022-10-20T04:11:31.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-20T04:11:31.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-20T04:11:31.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-20T04:11:31.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-20T04:11:31.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.628s coverage: 65.1% of statements [2022-10-20T04:11:31.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-20T04:11:31.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-20T04:11:31.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.293s coverage: 89.2% of statements [2022-10-20T04:11:31.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-20T04:11:34.354Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.313s coverage: 4.7% of statements [2022-10-20T04:11:34.354Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-20T04:11:34.621Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-20T04:11:34.621Z] GO111MODULE=on go vet ./... [2022-10-20T04:13:26.320Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-20T04:13:26.320Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-20T04:13:26.320Z] ./bin/test-attribution-txt.sh [2022-10-20T04:13:26.320Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-20T04:13:26.320Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-20T04:13:26.320Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-20T04:13:26.320Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-20T04:13:26.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-20T04:13:26.367Z] $ docker stop --time=1 f9b1d3b67f6320a891782281ded34c9d8aef8d4635f3ce152bbbfe179227e38a [2022-10-20T04:13:28.232Z] $ docker rm -f f9b1d3b67f6320a891782281ded34c9d8aef8d4635f3ce152bbbfe179227e38a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T04:13:29.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-20T04:13:29.757Z] Warning: overwriting stash ‘coverage-report’ [2022-10-20T04:13:30.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T04:13:30.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-20T04:13:31.242Z] + ls -al . [2022-10-20T04:13:31.242Z] total 272 [2022-10-20T04:13:31.242Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 04:08 . [2022-10-20T04:13:31.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 04:06 .. [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 04:06 .dockerignore [2022-10-20T04:13:31.242Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 04:06 .git [2022-10-20T04:13:31.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 04:06 .github [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 20 04:06 .gitignore [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 04:06 .golangci.yml [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 20 04:06 CHANGELOG.md [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 04:06 GOVERNANCE.md [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 20 04:06 Jenkinsfile [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 04:06 LICENSE [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 20 04:06 Makefile [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 20 04:06 OWNERS.md [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 20 04:06 README.md [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 04:04 VERSION [2022-10-20T04:13:31.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 04:06 bin [2022-10-20T04:13:31.242Z] -rw-r--r-- 1 jenkins jenkins 101758 Oct 20 04:11 coverage.out [2022-10-20T04:13:31.242Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 04:06 example [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 20 04:06 go.mod [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 20 04:06 go.sum [2022-10-20T04:13:31.242Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 20 04:06 internal [2022-10-20T04:13:31.242Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 04:06 openapi [2022-10-20T04:13:31.242Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 04:06 pkg [2022-10-20T04:13:31.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 04:06 snap [2022-10-20T04:13:31.242Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:13:31.656Z] + 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=4df858f7e36b16750546cfc8c77ea882965b39da --label arch=arm64 --label version=0.0.0 . [2022-10-20T04:13:31.925Z] Sending build context to Docker daemon 5.498MB [2022-10-20T04:13:32.193Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T04:13:32.193Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-20T04:13:32.193Z] ---> 63a8e00fbd23 [2022-10-20T04:13:32.193Z] Step 3/25 : ARG MAKE=make build [2022-10-20T04:13:32.193Z] ---> Running in 76da7c4c4ab0 [2022-10-20T04:13:32.460Z] Removing intermediate container 76da7c4c4ab0 [2022-10-20T04:13:32.460Z] ---> f7122cc4867e [2022-10-20T04:13:32.460Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-20T04:13:32.727Z] ---> Running in 8c8745612bb8 [2022-10-20T04:13:32.993Z] Removing intermediate container 8c8745612bb8 [2022-10-20T04:13:32.993Z] ---> d477fef69c63 [2022-10-20T04:13:32.993Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-20T04:13:32.993Z] ---> Running in 59643db3cf53 [2022-10-20T04:13:33.258Z] Removing intermediate container 59643db3cf53 [2022-10-20T04:13:33.258Z] ---> 09613fe1399b [2022-10-20T04:13:33.258Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T04:13:33.527Z] ---> Running in d60fbd280f7c [2022-10-20T04:13:35.469Z] Removing intermediate container d60fbd280f7c [2022-10-20T04:13:35.469Z] ---> 9b53dbd60c2c [2022-10-20T04:13:35.469Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-20T04:13:35.469Z] ---> Running in 9d64537a8ddc [2022-10-20T04:13:36.052Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T04:13:37.462Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T04:13:38.423Z] OK: 221 MiB in 51 packages [2022-10-20T04:13:39.008Z] Removing intermediate container 9d64537a8ddc [2022-10-20T04:13:39.008Z] ---> 510307e6f3a8 [2022-10-20T04:13:39.008Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-20T04:13:39.595Z] ---> 3c45d1e153c2 [2022-10-20T04:13:39.595Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T04:13:39.595Z] ---> Running in 53db529a4634 [2022-10-20T04:13:41.542Z] Removing intermediate container 53db529a4634 [2022-10-20T04:13:41.543Z] ---> 2b17f4cb7dcc [2022-10-20T04:13:41.543Z] Step 10/25 : COPY . . [2022-10-20T04:13:42.958Z] ---> a347abb0e5cf [2022-10-20T04:13:42.958Z] Step 11/25 : RUN ${MAKE} [2022-10-20T04:13:42.958Z] ---> Running in da63014e6dc2 [2022-10-20T04:13:43.928Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-20T04:16:05.822Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-20T04:16:07.806Z] Removing intermediate container da63014e6dc2 [2022-10-20T04:16:07.806Z] ---> cbffddbe1746 [2022-10-20T04:16:07.806Z] Step 12/25 : FROM alpine:3.16 [2022-10-20T04:16:08.768Z] 3.16: Pulling from library/alpine [2022-10-20T04:16:08.768Z] 9b18e9b68314: Already exists [2022-10-20T04:16:09.036Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-20T04:16:09.036Z] Status: Downloaded newer image for alpine:3.16 [2022-10-20T04:16:09.036Z] ---> a6215f271958 [2022-10-20T04:16:09.036Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-20T04:16:09.036Z] ---> Running in 359c490ebbad [2022-10-20T04:16:09.307Z] Removing intermediate container 359c490ebbad [2022-10-20T04:16:09.307Z] ---> 8785ff53e308 [2022-10-20T04:16:09.307Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T04:16:09.307Z] ---> Running in 1e4923344de2 [2022-10-20T04:16:11.267Z] Removing intermediate container 1e4923344de2 [2022-10-20T04:16:11.267Z] ---> a300acab3eb5 [2022-10-20T04:16:11.267Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-20T04:16:11.267Z] ---> Running in 6004b2adba62 [2022-10-20T04:16:12.232Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T04:16:13.192Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T04:16:14.154Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-20T04:16:14.427Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-20T04:16:14.427Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-20T04:16:14.699Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-20T04:16:14.699Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-20T04:16:14.966Z] Executing busybox-1.35.0-r17.trigger [2022-10-20T04:16:14.966Z] OK: 8 MiB in 19 packages [2022-10-20T04:16:15.929Z] Removing intermediate container 6004b2adba62 [2022-10-20T04:16:15.929Z] ---> dd90d548e3be [2022-10-20T04:16:15.929Z] Step 16/25 : WORKDIR / [2022-10-20T04:16:15.929Z] ---> Running in 72c3fd2b9ff6 [2022-10-20T04:16:16.196Z] Removing intermediate container 72c3fd2b9ff6 [2022-10-20T04:16:16.196Z] ---> 698cc8f4e269 [2022-10-20T04:16:16.196Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-20T04:16:16.792Z] ---> b1754050106e [2022-10-20T04:16:16.792Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-20T04:16:18.201Z] ---> 4ee007b3ca93 [2022-10-20T04:16:18.201Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-20T04:16:18.786Z] ---> 51e837650279 [2022-10-20T04:16:18.786Z] Step 20/25 : EXPOSE 59999 [2022-10-20T04:16:18.786Z] ---> Running in bdac7cc5bb34 [2022-10-20T04:16:19.054Z] Removing intermediate container bdac7cc5bb34 [2022-10-20T04:16:19.054Z] ---> bf5a66cc601a [2022-10-20T04:16:19.054Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-20T04:16:19.322Z] ---> Running in 706d4fd9ce9e [2022-10-20T04:16:19.589Z] Removing intermediate container 706d4fd9ce9e [2022-10-20T04:16:19.589Z] ---> 0161ce56a2f2 [2022-10-20T04:16:19.589Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-20T04:16:19.589Z] ---> Running in 93730bb7fc38 [2022-10-20T04:16:19.858Z] Removing intermediate container 93730bb7fc38 [2022-10-20T04:16:19.858Z] ---> 06f57562f3c0 [2022-10-20T04:16:19.858Z] Step 23/25 : LABEL arch=arm64 [2022-10-20T04:16:20.127Z] ---> Running in 2d1573fbefa6 [2022-10-20T04:16:20.397Z] Removing intermediate container 2d1573fbefa6 [2022-10-20T04:16:20.397Z] ---> 1a79b7bce535 [2022-10-20T04:16:20.397Z] Step 24/25 : LABEL git_sha=4df858f7e36b16750546cfc8c77ea882965b39da [2022-10-20T04:16:20.397Z] ---> Running in 46abf611b1b3 [2022-10-20T04:16:20.668Z] Removing intermediate container 46abf611b1b3 [2022-10-20T04:16:20.668Z] ---> 0e8cace476fd [2022-10-20T04:16:20.668Z] Step 25/25 : LABEL version=0.0.0 [2022-10-20T04:16:20.668Z] ---> Running in c470cc0cf31e [2022-10-20T04:16:21.255Z] Removing intermediate container c470cc0cf31e [2022-10-20T04:16:21.255Z] ---> 1deb9c65e9a6 [2022-10-20T04:16:21.255Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-20T04:16:21.255Z] Successfully built 1deb9c65e9a6 [2022-10-20T04:16:21.255Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:16:22.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T04:16:22.079Z] [2022-10-20T04:16:22.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:16:22.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T04:16:22.490Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-20T04:16:22.490Z] 8998bd30e6a1: Pulling fs layer [2022-10-20T04:16:22.490Z] 04944245beec: Pulling fs layer [2022-10-20T04:16:22.490Z] 699f458cf7ca: Pulling fs layer [2022-10-20T04:16:22.490Z] 765212b225bb: Pulling fs layer [2022-10-20T04:16:22.490Z] f23df028b6ca: Pulling fs layer [2022-10-20T04:16:22.490Z] d65c8cfc05b1: Pulling fs layer [2022-10-20T04:16:22.490Z] 2437ff75d9bd: Pulling fs layer [2022-10-20T04:16:22.490Z] f23df028b6ca: Waiting [2022-10-20T04:16:22.490Z] 2437ff75d9bd: Waiting [2022-10-20T04:16:22.490Z] d65c8cfc05b1: Waiting [2022-10-20T04:16:22.760Z] 04944245beec: Verifying Checksum [2022-10-20T04:16:22.760Z] 04944245beec: Download complete [2022-10-20T04:16:22.760Z] 765212b225bb: Verifying Checksum [2022-10-20T04:16:22.760Z] 765212b225bb: Download complete [2022-10-20T04:16:22.760Z] f23df028b6ca: Verifying Checksum [2022-10-20T04:16:22.760Z] f23df028b6ca: Download complete [2022-10-20T04:16:22.760Z] d65c8cfc05b1: Verifying Checksum [2022-10-20T04:16:22.760Z] d65c8cfc05b1: Download complete [2022-10-20T04:16:23.031Z] 699f458cf7ca: Verifying Checksum [2022-10-20T04:16:23.031Z] 699f458cf7ca: Download complete [2022-10-20T04:16:23.300Z] 8998bd30e6a1: Download complete [2022-10-20T04:16:25.891Z] 2437ff75d9bd: Verifying Checksum [2022-10-20T04:16:25.891Z] 2437ff75d9bd: Download complete [2022-10-20T04:16:27.848Z] 8998bd30e6a1: Pull complete [2022-10-20T04:16:28.120Z] 04944245beec: Pull complete [2022-10-20T04:16:29.532Z] 699f458cf7ca: Pull complete [2022-10-20T04:16:29.532Z] 765212b225bb: Pull complete [2022-10-20T04:16:30.494Z] f23df028b6ca: Pull complete [2022-10-20T04:16:30.762Z] d65c8cfc05b1: Pull complete [2022-10-20T04:16:45.783Z] 2437ff75d9bd: Pull complete [2022-10-20T04:16:45.783Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-20T04:16:45.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T04:16:45.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T04:16:46.134Z] prd-ubuntu20.04-docker-arm64-4c-16g-8662 does not seem to be running inside a container [2022-10-20T04:16:46.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-20T04:16:49.452Z] $ docker top 546e4d3a849388af9e1533d65fb33575bf81235cc3ca1390d8e93fe3dff17bb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:16:50.404Z] ---> job-cost.sh [2022-10-20T04:16:50.404Z] lf-activate-venv: SKIPPING [2022-10-20T04:16:50.404Z] INFO: No Stack... [2022-10-20T04:16:50.989Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-20T04:16:51.572Z] INFO: Archiving Costs [Pipeline] sh [2022-10-20T04:16:52.228Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-20T04:16:52.228Z] + cut -d, -f6 [Pipeline] lock [2022-10-20T04:16:52.323Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] [2022-10-20T04:16:52.328Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] did not exist. Created. [2022-10-20T04:16:52.328Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-20T04:16:53.058Z] /w/workspace/device-sdk-go/1@tmp/durable-17b45b24/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-20T04:16:53.740Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-20T04:16:53.777Z] Warning: overwriting stash ‘stack-cost’ [2022-10-20T04:16:53.851Z] Stashed 1 file(s) [Pipeline] } [2022-10-20T04:16:53.866Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-20T04:16:53.953Z] $ docker stop --time=1 546e4d3a849388af9e1533d65fb33575bf81235cc3ca1390d8e93fe3dff17bb6 [2022-10-20T04:16:55.482Z] $ docker rm -f 546e4d3a849388af9e1533d65fb33575bf81235cc3ca1390d8e93fe3dff17bb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-20T04:16:56.504Z] provisioning config files... [2022-10-20T04:16:56.512Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/config12372608521209147986tmp [Pipeline] { [Pipeline] sh [2022-10-20T04:16:56.865Z] + set +x [2022-10-20T04:16:56.865Z] + bash -s -- [2022-10-20T04:16:56.865Z] + curl -s https://codecov.io/bash [2022-10-20T04:16:56.865Z] [2022-10-20T04:16:56.865Z] _____ _ [2022-10-20T04:16:56.865Z] / ____| | | [2022-10-20T04:16:56.865Z] | | ___ __| | ___ ___ _____ __ [2022-10-20T04:16:56.865Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-20T04:16:56.865Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-20T04:16:56.865Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-20T04:16:56.865Z] Bash-1.0.6 [2022-10-20T04:16:56.865Z] [2022-10-20T04:16:56.865Z] [2022-10-20T04:16:56.865Z] ==> git version 2.25.1 found [2022-10-20T04:16:56.865Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-20T04:16:56.865Z] Release-Date: 2020-01-08 [2022-10-20T04:16:56.865Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-20T04:16:56.865Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-20T04:16:56.865Z] ==> Jenkins CI detected. [2022-10-20T04:16:56.865Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1242 [2022-10-20T04:16:56.865Z] project root: . [2022-10-20T04:16:56.865Z] --> token set from env [2022-10-20T04:16:56.865Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-20T04:16:57.124Z] ==> Running gcov in . (disable via -X gcov) [2022-10-20T04:16:57.124Z] ==> Python coveragepy not found [2022-10-20T04:16:57.124Z] ==> Searching for coverage reports in: [2022-10-20T04:16:57.124Z] + . [2022-10-20T04:16:57.124Z] -> Found 1 reports [2022-10-20T04:16:57.124Z] ==> Detecting git/mercurial file structure [2022-10-20T04:16:57.124Z] ==> Reading reports [2022-10-20T04:16:57.124Z] + ./coverage.out bytes=101758 [2022-10-20T04:16:57.124Z] ==> Appending adjustments [2022-10-20T04:16:57.124Z] https://docs.codecov.io/docs/fixing-reports [2022-10-20T04:16:57.383Z] + Found adjustments [2022-10-20T04:16:57.383Z] ==> Gzipping contents [2022-10-20T04:16:57.383Z] 16K /tmp/codecov.F1udGi.gz [2022-10-20T04:16:57.383Z] ==> Uploading reports [2022-10-20T04:16:57.383Z] url: https://codecov.io [2022-10-20T04:16:57.383Z] query: branch=PR-1242&commit=4df858f7e36b16750546cfc8c77ea882965b39da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1242%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1242&job=&cmd_args= [2022-10-20T04:16:57.383Z] -> Pinging Codecov [2022-10-20T04:16:57.383Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1242&commit=4df858f7e36b16750546cfc8c77ea882965b39da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1242%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1242&job=&cmd_args= [2022-10-20T04:16:57.642Z] -> Uploading to [2022-10-20T04:16:57.642Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-20/7E55EF52A471D76F132DFD9A03CDDE97/4df858f7e36b16750546cfc8c77ea882965b39da/28dc049e-8d2e-4bce-abd7-a136bf87c382.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221020T041657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=faff9fafc28a80c60afbca46198bf1e6099183ff5413226ead7fa4f9b5ddf766 [2022-10-20T04:16:57.642Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-20T04:16:57.642Z] Dload Upload Total Spent Left Speed [2022-10-20T04:16:57.901Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14708 0 0 100 14708 0 72098 --:--:-- --:--:-- --:--:-- 71746 100 14708 0 0 100 14708 0 71398 --:--:-- --:--:-- --:--:-- 71053 [2022-10-20T04:16:57.901Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] } [2022-10-20T04:16:57.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-20T04:16:59.802Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives ] [2022-10-20T04:16:59.802Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives [2022-10-20T04:16:59.802Z] total 16 [2022-10-20T04:16:59.802Z] drwxr-xr-x 3 root root 4096 Oct 20 04:07 . [2022-10-20T04:16:59.802Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 20 04:07 .. [2022-10-20T04:16:59.802Z] drwxr-xr-x 2 root root 4096 Oct 20 04:07 cost [2022-10-20T04:16:59.802Z] -rw-r--r-- 1 root root 86 Oct 20 04:07 cost.csv [2022-10-20T04:16:59.802Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives [2022-10-20T04:16:59.802Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives [2022-10-20T04:16:59.802Z] total 16 [2022-10-20T04:16:59.802Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 04:07 . [2022-10-20T04:16:59.802Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 20 04:07 .. [2022-10-20T04:16:59.802Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 04:07 cost [2022-10-20T04:16:59.802Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 20 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:17:00.128Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:17:01.014Z] ---> package-listing.sh [2022-10-20T04:17:01.014Z] ++ facter osfamily [2022-10-20T04:17:01.014Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-20T04:17:01.274Z] + OS_FAMILY=debian [2022-10-20T04:17:01.274Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1242 [2022-10-20T04:17:01.274Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-20T04:17:01.274Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-20T04:17:01.274Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-20T04:17:01.274Z] + PACKAGES=/tmp/packages_start.txt [2022-10-20T04:17:01.274Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1242 ']' [2022-10-20T04:17:01.274Z] + PACKAGES=/tmp/packages_end.txt [2022-10-20T04:17:01.274Z] + case "${OS_FAMILY}" in [2022-10-20T04:17:01.274Z] + dpkg -l [2022-10-20T04:17:01.274Z] + grep '^ii' [2022-10-20T04:17:01.274Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-20T04:17:01.274Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-20T04:17:01.274Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-20T04:17:01.274Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1242 ']' [2022-10-20T04:17:01.274Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives/ [2022-10-20T04:17:01.274Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives/ [Pipeline] echo [2022-10-20T04:17:01.302Z] 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-1242/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-20T04:17:01.591Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T04:17:02.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T04:17:02.206Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T04:17:02.354Z] prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container [2022-10-20T04:17:02.368Z] $ 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-1242/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-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-20T04:17:02.548Z] $ docker top 0e16df6107dd717fcebe97b6881f9c4b4e98a834bd9e991ff50becddea5d5515 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T04:17:02.956Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-20T04:17:03.264Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-20T04:17:03.571Z] + ls /var/log/sa-host [2022-10-20T04:17:03.571Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T04:17:03.777Z] provisioning config files... [2022-10-20T04:17:03.786Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/config1695956895232585395tmp [Pipeline] { [Pipeline] echo [2022-10-20T04:17:03.836Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:17:04.145Z] ---> create-netrc.sh [Pipeline] } [2022-10-20T04:17:04.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:17:04.566Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-20T04:17:04.598Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:17:04.909Z] ---> sudo-logs.sh [2022-10-20T04:17:04.909Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-20T04:17:04.991Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:17:05.305Z] ---> job-cost.sh [2022-10-20T04:17:05.305Z] lf-activate-venv: SKIPPING [2022-10-20T04:17:05.305Z] DEBUG: total: 0.2199999988079071 [2022-10-20T04:17:05.305Z] INFO: Retrieving Stack Cost... [2022-10-20T04:17:05.564Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-20T04:17:06.132Z] INFO: Archiving Costs [Pipeline] echo [2022-10-20T04:17:06.165Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T04:17:06.476Z] ---> logs-deploy.sh [2022-10-20T04:17:06.476Z] lf-activate-venv: SKIPPING [2022-10-20T04:17:06.476Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1242/1 [2022-10-20T04:17:06.476Z] INFO: archiving workspace using pattern(s): [2022-10-20T04:17:07.413Z] Archives upload complete. [2022-10-20T04:17:07.675Z] INFO: archiving logs to Nexus