Pull request #127 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 2781d57b959cc2e1bf910bec88c926741b9525f6+9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 (b34fb6eff5dce665be76781cfdf2f20b072d450a) 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-ssh15009950078460875023.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh11319740613245295701.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-onvif-camera/branches/PR-127/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-onvif-camera/branches/PR-127/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8095399876982923543.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-127/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4528125110231012338.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh3797892482019071962.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-onvif-camera/branches/PR-127/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-onvif-camera/branches/PR-127/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10145322330359646692.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-onvif-camera] ========================================================= [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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-22256 in /w/workspace/undry_device-onvif-camera_PR-127 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-127 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 2781d57b959cc2e1bf910bec88c926741b9525f6 Merge succeeded, producing 2781d57b959cc2e1bf910bec88c926741b9525f6 Checking out Revision 2781d57b959cc2e1bf910bec88c926741b9525f6 (PR-127) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2781d57b959cc2e1bf910bec88c926741b9525f6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2781d57b959cc2e1bf910bec88c926741b9525f6 # timeout=10 Commit message: "build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-09T21:18:40.666Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-09T21:18:40.861Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-09T21:18:40.963Z] ========================================================= [2022-08-09T21:18:40.963Z] EdgeX Global Pipelines Version Info [2022-08-09T21:18:40.963Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:18:41.784Z] ------------------- [2022-08-09T21:18:41.784Z] stable info: [2022-08-09T21:18:41.784Z] ------------------- [2022-08-09T21:18:41.784Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T21:18:41.784Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T21:18:41.784Z] Message: update stable to v1.0.238 [2022-08-09T21:18:42.359Z] ------------------- [2022-08-09T21:18:42.359Z] experimental info: [2022-08-09T21:18:42.359Z] ------------------- [2022-08-09T21:18:42.359Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T21:18:42.359Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T21:18:42.359Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-09T21:18:42.656Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-09T21:18:42.697Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-09T21:18:42.740Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-09T21:18:42.774Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-09T21:18:42.816Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-09T21:18:42.856Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-09T21:18:42.895Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-09T21:18:42.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-09T21:18:42.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-09T21:18:43.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-09T21:18:43.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-09T21:18:43.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-09T21:18:43.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-09T21:18:43.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-09T21:18:43.224Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T21:18:43.265Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T21:18:43.310Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T21:18:43.353Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T21:18:43.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-09T21:18:43.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-09T21:18:43.475Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-09T21:18:43.517Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-09T21:18:43.563Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-09T21:18:43.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-09T21:18:43.651Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-09T21:18:43.699Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-09T21:18:43.746Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-09T21:18:43.790Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2022-08-09T21:18:43.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2022-08-09T21:18:43.875Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2022-08-09T21:18:43.919Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2781d57b959cc2e1bf910bec88c926741b9525f6 [Pipeline] echo [2022-08-09T21:18:43.962Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2781d57 [Pipeline] echo [2022-08-09T21:18:44.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T21:18:44.125Z] provisioning config files... [2022-08-09T21:18:44.138Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-127@tmp/config7253951458998325235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:18:44.488Z] ---> docker-login.sh [2022-08-09T21:18:44.489Z] nexus3.edgexfoundry.org:10001 [2022-08-09T21:18:44.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:18:45.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:18:45.015Z] Configure a credential helper to remove this warning. See [2022-08-09T21:18:45.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:18:45.015Z] [2022-08-09T21:18:45.015Z] Login Succeeded [2022-08-09T21:18:45.015Z] nexus3.edgexfoundry.org:10002 [2022-08-09T21:18:45.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:18:45.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:18:45.280Z] Configure a credential helper to remove this warning. See [2022-08-09T21:18:45.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:18:45.280Z] [2022-08-09T21:18:45.280Z] Login Succeeded [2022-08-09T21:18:45.280Z] nexus3.edgexfoundry.org:10003 [2022-08-09T21:18:45.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:18:45.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:18:45.280Z] Configure a credential helper to remove this warning. See [2022-08-09T21:18:45.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:18:45.280Z] [2022-08-09T21:18:45.280Z] Login Succeeded [2022-08-09T21:18:45.280Z] nexus3.edgexfoundry.org:10004 [2022-08-09T21:18:45.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:18:45.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:18:45.541Z] Configure a credential helper to remove this warning. See [2022-08-09T21:18:45.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:18:45.541Z] [2022-08-09T21:18:45.541Z] Login Succeeded [2022-08-09T21:18:45.541Z] docker.io [2022-08-09T21:18:45.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:18:45.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:18:45.802Z] Configure a credential helper to remove this warning. See [2022-08-09T21:18:45.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:18:45.802Z] [2022-08-09T21:18:45.802Z] Login Succeeded [2022-08-09T21:18:45.802Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T21:18:45.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-09T21:18:46.471Z] + git rev-list -1 --merges 2781d57b959cc2e1bf910bec88c926741b9525f6~1..2781d57b959cc2e1bf910bec88c926741b9525f6 [Pipeline] echo [2022-08-09T21:18:46.509Z] -----------> git rev-list -1 --merges 2781d57b959cc2e1bf910bec88c926741b9525f6~1..2781d57b959cc2e1bf910bec88c926741b9525f6 2781d57b959cc2e1bf910bec88c926741b9525f6 [false] [Pipeline] sh [2022-08-09T21:18:46.820Z] + git log --format=format:%s -1 2781d57b959cc2e1bf910bec88c926741b9525f6 [Pipeline] echo [2022-08-09T21:18:46.853Z] ========================================================= [2022-08-09T21:18:46.853Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-09T21:18:46.853Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T21:18:47.297Z] + git log --format=format:%s -1 2781d57b959cc2e1bf910bec88c926741b9525f6 [Pipeline] echo [2022-08-09T21:18:47.329Z] [semverPrep] GIT_COMMIT: 2781d57b959cc2e1bf910bec88c926741b9525f6, Commit Message: build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions [Pipeline] echo [2022-08-09T21:18:47.355Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-09T21:18:47.754Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-09T21:18:47.754Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-09T21:18:47.754Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-09T21:18:47.754Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-09T21:18:47.754Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-09T21:18:47.754Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-09T21:18:47.755Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:18:48.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T21:18:48.247Z] [2022-08-09T21:18:48.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:18:48.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T21:18:48.626Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-09T21:18:48.626Z] b85a868b505f: Pulling fs layer [2022-08-09T21:18:48.626Z] e2be974225ed: Pulling fs layer [2022-08-09T21:18:48.626Z] 339a4e72a1f5: Pulling fs layer [2022-08-09T21:18:48.626Z] 988bab9f4d93: Pulling fs layer [2022-08-09T21:18:48.626Z] 1469e6f7b9e6: Pulling fs layer [2022-08-09T21:18:48.626Z] eaf3925da568: Pulling fs layer [2022-08-09T21:18:48.626Z] bab4dde63d76: Pulling fs layer [2022-08-09T21:18:48.626Z] bde34c3a00c8: Pulling fs layer [2022-08-09T21:18:48.626Z] b352a97aabf1: Pulling fs layer [2022-08-09T21:18:48.626Z] 4872d77fe225: Pulling fs layer [2022-08-09T21:18:48.626Z] 988bab9f4d93: Waiting [2022-08-09T21:18:48.626Z] 5851b861e8e6: Pulling fs layer [2022-08-09T21:18:48.626Z] bab4dde63d76: Waiting [2022-08-09T21:18:48.626Z] 1469e6f7b9e6: Waiting [2022-08-09T21:18:48.626Z] 4872d77fe225: Waiting [2022-08-09T21:18:48.626Z] eaf3925da568: Waiting [2022-08-09T21:18:48.626Z] 5851b861e8e6: Waiting [2022-08-09T21:18:48.626Z] b352a97aabf1: Waiting [2022-08-09T21:18:48.626Z] e2be974225ed: Download complete [2022-08-09T21:18:48.626Z] 988bab9f4d93: Download complete [2022-08-09T21:18:48.886Z] 1469e6f7b9e6: Verifying Checksum [2022-08-09T21:18:48.886Z] 1469e6f7b9e6: Download complete [2022-08-09T21:18:48.886Z] 339a4e72a1f5: Verifying Checksum [2022-08-09T21:18:48.886Z] 339a4e72a1f5: Download complete [2022-08-09T21:18:48.886Z] eaf3925da568: Download complete [2022-08-09T21:18:48.886Z] bde34c3a00c8: Download complete [2022-08-09T21:18:48.886Z] b352a97aabf1: Download complete [2022-08-09T21:18:48.886Z] 4872d77fe225: Verifying Checksum [2022-08-09T21:18:48.886Z] 4872d77fe225: Download complete [2022-08-09T21:18:48.886Z] 5851b861e8e6: Download complete [2022-08-09T21:18:48.886Z] b85a868b505f: Verifying Checksum [2022-08-09T21:18:48.886Z] b85a868b505f: Download complete [2022-08-09T21:18:49.144Z] bab4dde63d76: Verifying Checksum [2022-08-09T21:18:49.144Z] bab4dde63d76: Download complete [2022-08-09T21:18:50.080Z] b85a868b505f: Pull complete [2022-08-09T21:18:50.338Z] e2be974225ed: Pull complete [2022-08-09T21:18:50.907Z] 339a4e72a1f5: Pull complete [2022-08-09T21:18:50.907Z] 988bab9f4d93: Pull complete [2022-08-09T21:18:51.165Z] 1469e6f7b9e6: Pull complete [2022-08-09T21:18:51.165Z] eaf3925da568: Pull complete [2022-08-09T21:18:53.073Z] bab4dde63d76: Pull complete [2022-08-09T21:18:53.073Z] bde34c3a00c8: Pull complete [2022-08-09T21:18:53.073Z] b352a97aabf1: Pull complete [2022-08-09T21:18:53.073Z] 4872d77fe225: Pull complete [2022-08-09T21:18:53.073Z] 5851b861e8e6: Pull complete [2022-08-09T21:18:53.073Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-09T21:18:53.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T21:18:53.073Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T21:18:53.327Z] prd-ubuntu20.04-docker-8c-8g-22256 does not seem to be running inside a container [2022-08-09T21:18:53.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-127 -v /w/workspace/undry_device-onvif-camera_PR-127:/w/workspace/undry_device-onvif-camera_PR-127:rw,z -v /w/workspace/undry_device-onvif-camera_PR-127@tmp:/w/workspace/undry_device-onvif-camera_PR-127@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-devops/py-git-semver:0.1.4 cat [2022-08-09T21:18:55.509Z] $ docker top 30dbfb83d4807c88495680a430cd02ef671b2fab07864dde97b2b9a4239da7e1 -eo pid,comm [2022-08-09T21:18:55.725Z] 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-08-09T21:18:55.725Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-09T21:18:55.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T21:18:55.854Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T21:18:56.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T21:18:56.005Z] $ docker exec 30dbfb83d4807c88495680a430cd02ef671b2fab07864dde97b2b9a4239da7e1 ssh-agent [2022-08-09T21:18:56.149Z] SSH_AUTH_SOCK=/tmp/ssh-lIdqDfum3Oqg/agent.34 [2022-08-09T21:18:56.149Z] SSH_AGENT_PID=41 [2022-08-09T21:18:56.157Z] Running ssh-add (command line suppressed) [2022-08-09T21:18:56.268Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-127@tmp/private_key_8563098735104306993.key (/w/workspace/undry_device-onvif-camera_PR-127@tmp/private_key_8563098735104306993.key) [2022-08-09T21:18:56.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T21:18:56.630Z] + git tag --points-at HEAD [Pipeline] } [2022-08-09T21:18:56.653Z] $ docker exec --env ******** --env ******** 30dbfb83d4807c88495680a430cd02ef671b2fab07864dde97b2b9a4239da7e1 ssh-agent -k [2022-08-09T21:18:56.754Z] unset SSH_AUTH_SOCK; [2022-08-09T21:18:56.754Z] unset SSH_AGENT_PID; [2022-08-09T21:18:56.754Z] echo Agent pid 41 killed; [2022-08-09T21:18:56.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-09T21:18:56.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T21:18:56.885Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T21:18:57.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T21:18:57.026Z] $ docker exec 30dbfb83d4807c88495680a430cd02ef671b2fab07864dde97b2b9a4239da7e1 ssh-agent [2022-08-09T21:18:57.174Z] SSH_AUTH_SOCK=/tmp/ssh-XAXo8zz7OrTn/agent.73 [2022-08-09T21:18:57.174Z] SSH_AGENT_PID=79 [2022-08-09T21:18:57.181Z] Running ssh-add (command line suppressed) [2022-08-09T21:18:57.287Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-127@tmp/private_key_6247829152126281367.key (/w/workspace/undry_device-onvif-camera_PR-127@tmp/private_key_6247829152126281367.key) [2022-08-09T21:18:57.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T21:18:57.644Z] + git semver init [2022-08-09T21:18:57.905Z] 2022-08-09 21:18:57,852 [run_init] DEBUG init version:0.0.0 force:False [2022-08-09T21:18:57.905Z] 2022-08-09 21:18:57,852 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-127/.semver [2022-08-09T21:18:57.905Z] 2022-08-09 21:18:57,853 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-127/.semver [2022-08-09T21:18:57.905Z] 2022-08-09 21:18:57,853 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-127/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-127, universal_newlines=False, shell=None, istream=None) [2022-08-09T21:18:58.849Z] 2022-08-09 21:18:58,725 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-127/.git/info/exclude [2022-08-09T21:18:58.849Z] 2022-08-09 21:18:58,726 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-127/.semver/PR-127 with force:False [2022-08-09T21:18:58.849Z] 2022-08-09 21:18:58,726 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-127/.semver/PR-127 [2022-08-09T21:18:58.849Z] 2022-08-09 21:18:58,731 [execute] INFO git cat-file --batch-check [2022-08-09T21:18:58.849Z] 2022-08-09 21:18:58,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-127/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T21:18:58.849Z] 2022-08-09 21:18:58,738 [execute] INFO git cat-file --batch [2022-08-09T21:18:58.849Z] 2022-08-09 21:18:58,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-127/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T21:18:58.849Z] 2022-08-09 21:18:58,750 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-127/.semver/PR-127 [2022-08-09T21:18:58.849Z] 0.0.0 [Pipeline] } [2022-08-09T21:18:58.873Z] $ docker exec --env ******** --env ******** 30dbfb83d4807c88495680a430cd02ef671b2fab07864dde97b2b9a4239da7e1 ssh-agent -k [2022-08-09T21:18:58.984Z] unset SSH_AUTH_SOCK; [2022-08-09T21:18:58.984Z] unset SSH_AGENT_PID; [2022-08-09T21:18:58.985Z] echo Agent pid 79 killed; [2022-08-09T21:18:59.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-09T21:18:59.424Z] + git semver [Pipeline] } [2022-08-09T21:18:59.708Z] $ docker stop --time=1 30dbfb83d4807c88495680a430cd02ef671b2fab07864dde97b2b9a4239da7e1 [2022-08-09T21:19:01.017Z] $ docker rm -f 30dbfb83d4807c88495680a430cd02ef671b2fab07864dde97b2b9a4239da7e1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T21:19:01.527Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-09T21:19:01.814Z] Stashed 1 file(s) [Pipeline] echo [2022-08-09T21:19:01.831Z] [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-08-09T21:19:02.419Z] provisioning config files... [2022-08-09T21:19:02.430Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-127@tmp/config8776984945173835091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:19:02.808Z] ---> docker-login.sh [2022-08-09T21:19:02.808Z] nexus3.edgexfoundry.org:10001 [2022-08-09T21:19:02.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:19:02.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:19:02.808Z] Configure a credential helper to remove this warning. See [2022-08-09T21:19:02.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:19:02.808Z] [2022-08-09T21:19:02.808Z] Login Succeeded [2022-08-09T21:19:02.808Z] nexus3.edgexfoundry.org:10002 [2022-08-09T21:19:02.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:19:03.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:19:03.071Z] Configure a credential helper to remove this warning. See [2022-08-09T21:19:03.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:19:03.071Z] [2022-08-09T21:19:03.071Z] Login Succeeded [2022-08-09T21:19:03.071Z] nexus3.edgexfoundry.org:10003 [2022-08-09T21:19:03.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:19:03.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:19:03.071Z] Configure a credential helper to remove this warning. See [2022-08-09T21:19:03.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:19:03.071Z] [2022-08-09T21:19:03.071Z] Login Succeeded [2022-08-09T21:19:03.071Z] nexus3.edgexfoundry.org:10004 [2022-08-09T21:19:03.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:19:03.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:19:03.334Z] Configure a credential helper to remove this warning. See [2022-08-09T21:19:03.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:19:03.334Z] [2022-08-09T21:19:03.334Z] Login Succeeded [2022-08-09T21:19:03.334Z] docker.io [2022-08-09T21:19:03.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:19:03.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:19:03.596Z] Configure a credential helper to remove this warning. See [2022-08-09T21:19:03.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:19:03.596Z] [2022-08-09T21:19:03.596Z] Login Succeeded [2022-08-09T21:19:03.596Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T21:19:03.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T21:19:03.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T21:19:03.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T21:19:03.895Z] ========================================================= [2022-08-09T21:19:03.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-09T21:19:03.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:19:04.367Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-09T21:19:04.367Z] Sending build context to Docker daemon 20.03MB [2022-08-09T21:19:04.367Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T21:19:04.367Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T21:19:04.631Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-09T21:19:04.631Z] 2408cc74d12b: Pulling fs layer [2022-08-09T21:19:04.631Z] ea60b727a1ce: Pulling fs layer [2022-08-09T21:19:04.631Z] 30c4a7721957: Pulling fs layer [2022-08-09T21:19:04.631Z] 370296b7ddb6: Pulling fs layer [2022-08-09T21:19:04.631Z] 7c6cee850709: Pulling fs layer [2022-08-09T21:19:04.631Z] 39a5fcdaea64: Pulling fs layer [2022-08-09T21:19:04.631Z] d94ebbe4e438: Pulling fs layer [2022-08-09T21:19:04.631Z] bcfd1f05c69d: Pulling fs layer [2022-08-09T21:19:04.631Z] 59ccb84bbe0f: Pulling fs layer [2022-08-09T21:19:04.631Z] 370296b7ddb6: Waiting [2022-08-09T21:19:04.631Z] 7c6cee850709: Waiting [2022-08-09T21:19:04.631Z] 39a5fcdaea64: Waiting [2022-08-09T21:19:04.631Z] d94ebbe4e438: Waiting [2022-08-09T21:19:04.631Z] bcfd1f05c69d: Waiting [2022-08-09T21:19:04.631Z] 59ccb84bbe0f: Waiting [2022-08-09T21:19:04.631Z] 30c4a7721957: Verifying Checksum [2022-08-09T21:19:04.631Z] 30c4a7721957: Download complete [2022-08-09T21:19:04.631Z] ea60b727a1ce: Verifying Checksum [2022-08-09T21:19:04.631Z] ea60b727a1ce: Download complete [2022-08-09T21:19:04.631Z] 7c6cee850709: Verifying Checksum [2022-08-09T21:19:04.631Z] 7c6cee850709: Download complete [2022-08-09T21:19:04.631Z] 39a5fcdaea64: Verifying Checksum [2022-08-09T21:19:04.631Z] 39a5fcdaea64: Download complete [2022-08-09T21:19:04.631Z] 2408cc74d12b: Verifying Checksum [2022-08-09T21:19:04.631Z] 2408cc74d12b: Download complete [2022-08-09T21:19:04.631Z] d94ebbe4e438: Download complete [2022-08-09T21:19:04.631Z] 2408cc74d12b: Pull complete [2022-08-09T21:19:04.892Z] ea60b727a1ce: Pull complete [2022-08-09T21:19:04.892Z] 30c4a7721957: Pull complete [2022-08-09T21:19:04.892Z] 59ccb84bbe0f: Verifying Checksum [2022-08-09T21:19:04.892Z] 59ccb84bbe0f: Download complete [2022-08-09T21:19:05.152Z] bcfd1f05c69d: Verifying Checksum [2022-08-09T21:19:05.152Z] bcfd1f05c69d: Download complete [2022-08-09T21:19:05.414Z] 370296b7ddb6: Verifying Checksum [2022-08-09T21:19:05.414Z] 370296b7ddb6: Download complete [2022-08-09T21:19:09.610Z] 370296b7ddb6: Pull complete [2022-08-09T21:19:09.610Z] 7c6cee850709: Pull complete [2022-08-09T21:19:09.610Z] 39a5fcdaea64: Pull complete [2022-08-09T21:19:09.610Z] d94ebbe4e438: Pull complete [2022-08-09T21:19:11.516Z] bcfd1f05c69d: Pull complete [2022-08-09T21:19:12.084Z] 59ccb84bbe0f: Pull complete [2022-08-09T21:19:12.344Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-09T21:19:12.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-09T21:19:12.345Z] ---> a4fb48ad2a94 [2022-08-09T21:19:12.345Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T21:19:17.243Z] Still waiting to schedule task [2022-08-09T21:19:17.244Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-09T21:19:17.660Z] ---> Running in cab961f7e7e7 [2022-08-09T21:19:17.660Z] Removing intermediate container cab961f7e7e7 [2022-08-09T21:19:17.660Z] ---> f65b91df436a [2022-08-09T21:19:17.661Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T21:19:17.661Z] ---> Running in 1e1f998c3fc0 [2022-08-09T21:19:17.661Z] Removing intermediate container 1e1f998c3fc0 [2022-08-09T21:19:17.661Z] ---> 0276b833c229 [2022-08-09T21:19:17.661Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T21:19:17.661Z] ---> Running in 3457c2cbe5ff [2022-08-09T21:19:17.661Z] Removing intermediate container 3457c2cbe5ff [2022-08-09T21:19:17.661Z] ---> 44c3232a11a3 [2022-08-09T21:19:17.661Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T21:19:17.661Z] ---> Running in bc401e550bcf [2022-08-09T21:19:17.661Z] Removing intermediate container bc401e550bcf [2022-08-09T21:19:17.661Z] ---> 1c1cb5a21bf8 [2022-08-09T21:19:17.661Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T21:19:17.661Z] ---> Running in 27aca1a356d5 [2022-08-09T21:19:17.922Z] Removing intermediate container 27aca1a356d5 [2022-08-09T21:19:17.922Z] ---> e3198aa6d0dd [2022-08-09T21:19:17.922Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T21:19:17.922Z] ---> Running in 57b7dc460f1a [2022-08-09T21:19:18.184Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T21:19:19.131Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T21:19:19.392Z] OK: 211 MiB in 51 packages [2022-08-09T21:19:19.964Z] Removing intermediate container 57b7dc460f1a [2022-08-09T21:19:19.964Z] ---> 504bb1b8da8e [2022-08-09T21:19:19.964Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T21:19:19.964Z] ---> Running in 6ee85b2441c6 [2022-08-09T21:19:19.964Z] Removing intermediate container 6ee85b2441c6 [2022-08-09T21:19:19.964Z] ---> d798aaf7bd93 [2022-08-09T21:19:19.964Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T21:19:19.964Z] ---> 26ff2a30fa8f [2022-08-09T21:19:19.964Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T21:19:19.964Z] ---> Running in 45c0ca28c15a [2022-08-09T21:19:46.564Z] Removing intermediate container 45c0ca28c15a [2022-08-09T21:19:46.564Z] ---> f8a875f977ca [2022-08-09T21:19:46.564Z] Step 12/13 : COPY . . [2022-08-09T21:19:46.564Z] ---> 2cc67fd070f0 [2022-08-09T21:19:46.564Z] Step 13/13 : RUN ${MAKE} [2022-08-09T21:19:46.564Z] ---> Running in a160256d90f9 [2022-08-09T21:19:46.564Z] noop [2022-08-09T21:19:46.564Z] Removing intermediate container a160256d90f9 [2022-08-09T21:19:46.564Z] ---> f8f73e0f1419 [2022-08-09T21:19:46.564Z] Successfully built f8f73e0f1419 [2022-08-09T21:19:46.564Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:19:47.033Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T21:19:47.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T21:19:47.185Z] prd-ubuntu20.04-docker-8c-8g-22256 does not seem to be running inside a container [2022-08-09T21:19:47.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-127 -v /w/workspace/undry_device-onvif-camera_PR-127:/w/workspace/undry_device-onvif-camera_PR-127:rw,z -v /w/workspace/undry_device-onvif-camera_PR-127@tmp:/w/workspace/undry_device-onvif-camera_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-09T21:19:47.599Z] $ docker top 8d012bd213e0a9d9d852c5fb97894552627b5a584957c2d0e686e66e493a0fdd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T21:19:48.011Z] + go version [2022-08-09T21:19:48.011Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-09T21:19:48.039Z] $ docker stop --time=1 8d012bd213e0a9d9d852c5fb97894552627b5a584957c2d0e686e66e493a0fdd [2022-08-09T21:19:49.411Z] $ docker rm -f 8d012bd213e0a9d9d852c5fb97894552627b5a584957c2d0e686e66e493a0fdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:19:50.139Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T21:19:50.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T21:19:50.306Z] prd-ubuntu20.04-docker-8c-8g-22256 does not seem to be running inside a container [2022-08-09T21:19:50.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-127 -v /w/workspace/undry_device-onvif-camera_PR-127:/w/workspace/undry_device-onvif-camera_PR-127:rw,z -v /w/workspace/undry_device-onvif-camera_PR-127@tmp:/w/workspace/undry_device-onvif-camera_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-09T21:19:50.715Z] $ docker top 35295c9c269fb0de3d0de11bcf136a047d3dd4f4a4cd66e561afab6db330c8e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T21:19:51.117Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-127 [Pipeline] fileExists [Pipeline] sh [2022-08-09T21:19:51.474Z] + make test [2022-08-09T21:19:51.474Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T21:19:51.737Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T21:20:03.955Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T21:20:03.955Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 10.6% of statements [2022-08-09T21:20:03.955Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T21:20:05.866Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.188s coverage: 13.8% of statements [2022-08-09T21:20:14.003Z] 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-08-09T21:20:14.003Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T21:20:15.912Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T21:20:15.912Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T21:20:15.912Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T21:20:15.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T21:20:15.971Z] $ docker stop --time=1 35295c9c269fb0de3d0de11bcf136a047d3dd4f4a4cd66e561afab6db330c8e8 [2022-08-09T21:20:18.709Z] $ docker rm -f 35295c9c269fb0de3d0de11bcf136a047d3dd4f4a4cd66e561afab6db330c8e8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T21:20:19.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T21:20:19.337Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-09T21:20:20.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T21:20:20.372Z] + ls -al . [2022-08-09T21:20:20.372Z] total 232 [2022-08-09T21:20:20.372Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 21:19 . [2022-08-09T21:20:20.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:18 .. [2022-08-09T21:20:20.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 21:20 .git [2022-08-09T21:20:20.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:18 .github [2022-08-09T21:20:20.372Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 21:18 .gitignore [2022-08-09T21:20:20.372Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 21:18 .golangci.yml [2022-08-09T21:20:20.372Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 21:18 .semver [2022-08-09T21:20:20.372Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 9 21:18 Attribution.txt [2022-08-09T21:20:20.372Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 21:18 CHANGELOG.md [2022-08-09T21:20:20.372Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 21:18 Dockerfile [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 21:18 GOVERNANCE.md [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 21:18 Jenkinsfile [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 21:18 LICENSE [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 9 21:18 Makefile [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 21:18 OWNERS.md [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 21:18 README.md [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 21:19 VERSION [2022-08-09T21:20:20.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 21:18 bin [2022-08-09T21:20:20.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:18 cmd [2022-08-09T21:20:20.373Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 21:20 coverage.out [2022-08-09T21:20:20.373Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 21:18 doc [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 9 21:18 go.mod [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 9 21:18 go.sum [2022-08-09T21:20:20.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:18 internal [2022-08-09T21:20:20.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:18 snap [2022-08-09T21:20:20.373Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 21:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:20:20.780Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2781d57b959cc2e1bf910bec88c926741b9525f6 --label arch=amd64 --label version=0.0.0 . [2022-08-09T21:20:20.781Z] Sending build context to Docker daemon 20.11MB [2022-08-09T21:20:20.781Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T21:20:20.781Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T21:20:20.781Z] ---> f8f73e0f1419 [2022-08-09T21:20:20.781Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T21:20:21.040Z] ---> Running in b44e57a4346a [2022-08-09T21:20:21.040Z] Removing intermediate container b44e57a4346a [2022-08-09T21:20:21.040Z] ---> 59eb8dc236dc [2022-08-09T21:20:21.040Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T21:20:21.040Z] ---> Running in 52370d1355e7 [2022-08-09T21:20:21.300Z] Removing intermediate container 52370d1355e7 [2022-08-09T21:20:21.300Z] ---> 5b396b634c26 [2022-08-09T21:20:21.300Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T21:20:21.300Z] ---> Running in 047a3deb737f [2022-08-09T21:20:21.300Z] Removing intermediate container 047a3deb737f [2022-08-09T21:20:21.300Z] ---> 968bbd7e303f [2022-08-09T21:20:21.300Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T21:20:21.300Z] ---> Running in 0f27a3870e8f [2022-08-09T21:20:21.300Z] Removing intermediate container 0f27a3870e8f [2022-08-09T21:20:21.300Z] ---> 28bc1c4ee147 [2022-08-09T21:20:21.300Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T21:20:21.300Z] ---> Running in 2e6ede033b75 [2022-08-09T21:20:21.868Z] Removing intermediate container 2e6ede033b75 [2022-08-09T21:20:21.868Z] ---> 53e459fab7ba [2022-08-09T21:20:21.869Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T21:20:21.869Z] ---> Running in c0ebd82d24bb [2022-08-09T21:20:22.132Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T21:20:23.072Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T21:20:23.334Z] OK: 211 MiB in 51 packages [2022-08-09T21:20:23.595Z] Removing intermediate container c0ebd82d24bb [2022-08-09T21:20:23.595Z] ---> f570e9de132a [2022-08-09T21:20:23.595Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T21:20:23.595Z] ---> Running in e95fd491d6e1 [2022-08-09T21:20:23.856Z] Removing intermediate container e95fd491d6e1 [2022-08-09T21:20:23.856Z] ---> 8df53bd25768 [2022-08-09T21:20:23.856Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T21:20:23.856Z] ---> 74c233e18ebd [2022-08-09T21:20:23.856Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T21:20:23.856Z] ---> Running in 4e2e5578c192 [2022-08-09T21:20:24.795Z] Removing intermediate container 4e2e5578c192 [2022-08-09T21:20:24.795Z] ---> b56c874d9121 [2022-08-09T21:20:24.795Z] Step 12/26 : COPY . . [2022-08-09T21:20:25.366Z] ---> b30512d987b6 [2022-08-09T21:20:25.366Z] Step 13/26 : RUN ${MAKE} [2022-08-09T21:20:25.366Z] ---> Running in 04e149f6123a [2022-08-09T21:20:25.641Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T21:20:47.595Z] Removing intermediate container 04e149f6123a [2022-08-09T21:20:47.595Z] ---> 4feb52f77ddf [2022-08-09T21:20:47.595Z] Step 14/26 : FROM alpine:3.16 [2022-08-09T21:20:47.595Z] 3.16: Pulling from library/alpine [2022-08-09T21:20:47.595Z] 213ec9aee27d: Pulling fs layer [2022-08-09T21:20:47.856Z] 213ec9aee27d: Verifying Checksum [2022-08-09T21:20:47.856Z] 213ec9aee27d: Download complete [2022-08-09T21:20:48.114Z] 213ec9aee27d: Pull complete [2022-08-09T21:20:48.114Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-09T21:20:48.114Z] Status: Downloaded newer image for alpine:3.16 [2022-08-09T21:20:48.114Z] ---> 9c6f07244728 [2022-08-09T21:20:48.114Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T21:20:48.114Z] ---> Running in c668853220b4 [2022-08-09T21:20:48.114Z] Removing intermediate container c668853220b4 [2022-08-09T21:20:48.114Z] ---> 647f2b710d20 [2022-08-09T21:20:48.114Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T21:20:48.114Z] ---> Running in d76e38e1f953 [2022-08-09T21:20:48.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T21:20:48.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T21:20:48.896Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T21:20:48.896Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-09T21:20:48.896Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T21:20:48.896Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-09T21:20:48.896Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T21:20:48.896Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T21:20:48.896Z] Executing busybox-1.35.0-r17.trigger [2022-08-09T21:20:48.896Z] OK: 8 MiB in 20 packages [2022-08-09T21:20:49.468Z] Removing intermediate container d76e38e1f953 [2022-08-09T21:20:49.468Z] ---> 3c6f433a99b4 [2022-08-09T21:20:49.468Z] Step 17/26 : WORKDIR / [2022-08-09T21:20:49.468Z] ---> Running in 3676ac9ad78b [2022-08-09T21:20:49.468Z] Removing intermediate container 3676ac9ad78b [2022-08-09T21:20:49.468Z] ---> 7b6ad26babf4 [2022-08-09T21:20:49.468Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T21:20:50.038Z] ---> d25794297fa0 [2022-08-09T21:20:50.038Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T21:20:50.039Z] ---> 0926ed30d720 [2022-08-09T21:20:50.039Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T21:20:50.298Z] ---> 31e6ccf342e9 [2022-08-09T21:20:50.298Z] Step 21/26 : EXPOSE 59984 [2022-08-09T21:20:50.298Z] ---> Running in d3a2ba6ef66a [2022-08-09T21:20:50.298Z] Removing intermediate container d3a2ba6ef66a [2022-08-09T21:20:50.298Z] ---> 4237c3fdbf03 [2022-08-09T21:20:50.298Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T21:20:50.298Z] ---> Running in 9a500e8237e7 [2022-08-09T21:20:50.557Z] Removing intermediate container 9a500e8237e7 [2022-08-09T21:20:50.557Z] ---> de6f6292046c [2022-08-09T21:20:50.557Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T21:20:50.557Z] ---> Running in 68dd78c72c76 [2022-08-09T21:20:50.557Z] Removing intermediate container 68dd78c72c76 [2022-08-09T21:20:50.557Z] ---> ee57ab060d1a [2022-08-09T21:20:50.557Z] Step 24/26 : LABEL arch=amd64 [2022-08-09T21:20:50.557Z] ---> Running in 33c82ddc2353 [2022-08-09T21:20:50.557Z] Removing intermediate container 33c82ddc2353 [2022-08-09T21:20:50.557Z] ---> 737add89b50f [2022-08-09T21:20:50.557Z] Step 25/26 : LABEL git_sha=2781d57b959cc2e1bf910bec88c926741b9525f6 [2022-08-09T21:20:50.557Z] ---> Running in c0cc076b1ed8 [2022-08-09T21:20:50.841Z] Removing intermediate container c0cc076b1ed8 [2022-08-09T21:20:50.841Z] ---> 3364b0b1f6e0 [2022-08-09T21:20:50.841Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T21:20:50.841Z] ---> Running in ca56481a6011 [2022-08-09T21:20:50.841Z] Removing intermediate container ca56481a6011 [2022-08-09T21:20:50.841Z] ---> a0e254d95eac [2022-08-09T21:20:50.841Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T21:20:50.841Z] Successfully built a0e254d95eac [2022-08-09T21:20:50.841Z] Successfully tagged device-onvif-camera: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-08-09T21:20:51.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T21:20:51.727Z] [2022-08-09T21:20:51.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:20:52.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T21:20:52.123Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-09T21:20:52.123Z] 5eb5b503b376: Pulling fs layer [2022-08-09T21:20:52.123Z] 5c69ac0246d0: Pulling fs layer [2022-08-09T21:20:52.123Z] ec43610c2a17: Pulling fs layer [2022-08-09T21:20:52.123Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-09T21:20:52.123Z] 33b1e0a273af: Pulling fs layer [2022-08-09T21:20:52.123Z] 5d3b04190fa2: Pulling fs layer [2022-08-09T21:20:52.123Z] 2f39f015ded8: Pulling fs layer [2022-08-09T21:20:52.123Z] 3a2ae6a8a46f: Waiting [2022-08-09T21:20:52.123Z] 33b1e0a273af: Waiting [2022-08-09T21:20:52.123Z] 5d3b04190fa2: Waiting [2022-08-09T21:20:52.123Z] 2f39f015ded8: Waiting [2022-08-09T21:20:52.123Z] 5c69ac0246d0: Verifying Checksum [2022-08-09T21:20:52.123Z] 5c69ac0246d0: Download complete [2022-08-09T21:20:52.123Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-09T21:20:52.123Z] 3a2ae6a8a46f: Download complete [2022-08-09T21:20:52.123Z] 33b1e0a273af: Verifying Checksum [2022-08-09T21:20:52.123Z] 33b1e0a273af: Download complete [2022-08-09T21:20:52.382Z] ec43610c2a17: Verifying Checksum [2022-08-09T21:20:52.382Z] ec43610c2a17: Download complete [2022-08-09T21:20:52.382Z] 5d3b04190fa2: Verifying Checksum [2022-08-09T21:20:52.382Z] 5d3b04190fa2: Download complete [2022-08-09T21:20:52.382Z] 5eb5b503b376: Verifying Checksum [2022-08-09T21:20:52.382Z] 5eb5b503b376: Download complete [2022-08-09T21:20:52.949Z] 2f39f015ded8: Download complete [2022-08-09T21:20:53.518Z] 5eb5b503b376: Pull complete [2022-08-09T21:20:53.779Z] 5c69ac0246d0: Pull complete [2022-08-09T21:20:54.039Z] ec43610c2a17: Pull complete [2022-08-09T21:20:54.298Z] 3a2ae6a8a46f: Pull complete [2022-08-09T21:20:54.558Z] 33b1e0a273af: Pull complete [2022-08-09T21:20:54.558Z] 5d3b04190fa2: Pull complete [2022-08-09T21:20:57.218Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22266 in /w/workspace/undry_device-onvif-camera_PR-127 [Pipeline] { [Pipeline] ws [2022-08-09T21:20:57.258Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-09T21:20:57.347Z] Selected Git installation does not exist. Using Default [2022-08-09T21:20:57.347Z] The recommended git tool is: NONE [2022-08-09T21:20:58.752Z] 2f39f015ded8: Pull complete [2022-08-09T21:20:58.753Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-09T21:20:58.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T21:20:58.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T21:20:58.985Z] prd-ubuntu20.04-docker-8c-8g-22256 does not seem to be running inside a container [2022-08-09T21:20:59.019Z] $ 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/undry_device-onvif-camera_PR-127 -v /w/workspace/undry_device-onvif-camera_PR-127:/w/workspace/undry_device-onvif-camera_PR-127:rw,z -v /w/workspace/undry_device-onvif-camera_PR-127@tmp:/w/workspace/undry_device-onvif-camera_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T21:21:02.154Z] $ docker top 278f6535b51967801edbcaf9252fec2b88e50aa74d717fc9221b1ba538d7adc1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:21:02.645Z] ---> job-cost.sh [2022-08-09T21:21:02.645Z] lf-activate-venv: SKIPPING [2022-08-09T21:21:02.645Z] INFO: No Stack... [2022-08-09T21:21:02.905Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T21:21:03.476Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T21:21:03.799Z] + cat /w/workspace/undry_device-onvif-camera_PR-127/archives/cost.csv [2022-08-09T21:21:03.799Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T21:21:03.837Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-127-1-stack-cost] [2022-08-09T21:21:03.842Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-127-1-stack-cost] did not exist. Created. [2022-08-09T21:21:03.842Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-127-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T21:21:03.959Z] using credential edgex-jenkins-ssh [2022-08-09T21:21:03.977Z] Cloning the remote Git repository [2022-08-09T21:21:04.238Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-09T21:21:04.297Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T21:21:04.327Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-127-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T21:21:04.401Z] $ docker stop --time=1 278f6535b51967801edbcaf9252fec2b88e50aa74d717fc9221b1ba538d7adc1 [2022-08-09T21:21:04.041Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T21:21:04.117Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-09T21:21:04.188Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T21:21:04.189Z] > git --version # timeout=10 [2022-08-09T21:21:04.212Z] > git --version # 'git version 2.25.1' [2022-08-09T21:21:04.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T21:21:04.296Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T21:21:05.609Z] $ docker rm -f 278f6535b51967801edbcaf9252fec2b88e50aa74d717fc9221b1ba538d7adc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-09T21:21:06.006Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 2781d57b959cc2e1bf910bec88c926741b9525f6 [2022-08-09T21:21:05.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T21:21:05.401Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T21:21:05.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T21:21:05.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T21:21:05.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T21:21:05.499Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-09T21:21:06.030Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T21:21:06.105Z] > git checkout -f 2781d57b959cc2e1bf910bec88c926741b9525f6 # timeout=10 [2022-08-09T21:21:06.447Z] Merge succeeded, producing 2781d57b959cc2e1bf910bec88c926741b9525f6 [2022-08-09T21:21:06.448Z] Checking out Revision 2781d57b959cc2e1bf910bec88c926741b9525f6 (PR-127) [2022-08-09T21:21:06.352Z] > git remote # timeout=10 [2022-08-09T21:21:06.368Z] > git config --get remote.origin.url # timeout=10 [2022-08-09T21:21:06.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T21:21:06.402Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-09T21:21:06.427Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-09T21:21:06.457Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T21:21:06.471Z] > git checkout -f 2781d57b959cc2e1bf910bec88c926741b9525f6 # timeout=10 [2022-08-09T21:21:10.875Z] Commit message: "build: Upgrade to Go 1.18, Alpine 3.16, linter version and latest SDK/go-mod versions" [2022-08-09T21:21:10.933Z] > git --version # timeout=10 [2022-08-09T21:21:10.947Z] > git --version # 'git version 2.25.1' [2022-08-09T21:21:10.969Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T21:21:12.040Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-09T21:21:12.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T21:21:12.040Z] Dload Upload Total Spent Left Speed [2022-08-09T21:21:12.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 91348 0 --:--:-- --:--:-- --:--:-- 91348 [Pipeline] sh [2022-08-09T21:21:12.771Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-09T21:21:13.136Z] + + sudo tee /etc/docker/daemon.new [2022-08-09T21:21:13.136Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-09T21:21:13.136Z] { [2022-08-09T21:21:13.136Z] "registry-mirrors": [ [2022-08-09T21:21:13.136Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-09T21:21:13.136Z] ], [2022-08-09T21:21:13.136Z] "bip": "10.250.0.254/24", [2022-08-09T21:21:13.136Z] "hosts": [ [2022-08-09T21:21:13.136Z] "tcp://0.0.0.0:5555", [2022-08-09T21:21:13.136Z] "unix:///var/run/docker.sock" [2022-08-09T21:21:13.136Z] ], [2022-08-09T21:21:13.136Z] "mtu": 1458, [2022-08-09T21:21:13.136Z] "selinux-enabled": true, [2022-08-09T21:21:13.136Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-09T21:21:13.136Z] } [Pipeline] sh [2022-08-09T21:21:13.593Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-09T21:21:13.949Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T21:21:32.512Z] provisioning config files... [2022-08-09T21:21:32.537Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1022513027018330915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:21:32.939Z] ---> docker-login.sh [2022-08-09T21:21:32.939Z] nexus3.edgexfoundry.org:10001 [2022-08-09T21:21:33.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:21:33.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:21:33.821Z] Configure a credential helper to remove this warning. See [2022-08-09T21:21:33.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:21:33.821Z] [2022-08-09T21:21:33.821Z] Login Succeeded [2022-08-09T21:21:33.821Z] nexus3.edgexfoundry.org:10002 [2022-08-09T21:21:34.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:21:34.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:21:34.097Z] Configure a credential helper to remove this warning. See [2022-08-09T21:21:34.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:21:34.097Z] [2022-08-09T21:21:34.097Z] Login Succeeded [2022-08-09T21:21:34.097Z] nexus3.edgexfoundry.org:10003 [2022-08-09T21:21:34.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:21:34.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:21:34.704Z] Configure a credential helper to remove this warning. See [2022-08-09T21:21:34.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:21:34.704Z] [2022-08-09T21:21:34.704Z] Login Succeeded [2022-08-09T21:21:34.704Z] nexus3.edgexfoundry.org:10004 [2022-08-09T21:21:34.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:21:35.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:21:35.260Z] Configure a credential helper to remove this warning. See [2022-08-09T21:21:35.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:21:35.260Z] [2022-08-09T21:21:35.260Z] Login Succeeded [2022-08-09T21:21:35.260Z] docker.io [2022-08-09T21:21:35.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T21:21:35.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T21:21:35.810Z] Configure a credential helper to remove this warning. See [2022-08-09T21:21:35.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T21:21:35.810Z] [2022-08-09T21:21:35.810Z] Login Succeeded [2022-08-09T21:21:35.810Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T21:21:35.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T21:21:36.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T21:21:36.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T21:21:36.308Z] ========================================================= [2022-08-09T21:21:36.308Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-09T21:21:36.308Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:21:36.843Z] + docker build -t ci-base-image-arm64 -f 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-08-09T21:21:37.445Z] Sending build context to Docker daemon 13.66MB [2022-08-09T21:21:37.445Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T21:21:37.445Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T21:21:37.445Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-09T21:21:37.445Z] b3c136eddcbf: Pulling fs layer [2022-08-09T21:21:37.445Z] c0a3192eca97: Pulling fs layer [2022-08-09T21:21:37.445Z] a050256f5b6f: Pulling fs layer [2022-08-09T21:21:37.445Z] 656be50a0ddc: Pulling fs layer [2022-08-09T21:21:37.445Z] 2bbca73fdf42: Pulling fs layer [2022-08-09T21:21:37.445Z] 46d945488cbd: Pulling fs layer [2022-08-09T21:21:37.445Z] 8a5474983e97: Pulling fs layer [2022-08-09T21:21:37.445Z] 329c88fbcd65: Pulling fs layer [2022-08-09T21:21:37.445Z] 656be50a0ddc: Waiting [2022-08-09T21:21:37.445Z] 2bbca73fdf42: Waiting [2022-08-09T21:21:37.445Z] 46d945488cbd: Waiting [2022-08-09T21:21:37.445Z] 8a5474983e97: Waiting [2022-08-09T21:21:37.445Z] 329c88fbcd65: Waiting [2022-08-09T21:21:37.445Z] a050256f5b6f: Verifying Checksum [2022-08-09T21:21:37.445Z] a050256f5b6f: Download complete [2022-08-09T21:21:37.445Z] c0a3192eca97: Verifying Checksum [2022-08-09T21:21:37.445Z] c0a3192eca97: Download complete [2022-08-09T21:21:37.724Z] 2bbca73fdf42: Verifying Checksum [2022-08-09T21:21:37.724Z] 2bbca73fdf42: Download complete [2022-08-09T21:21:37.724Z] 46d945488cbd: Verifying Checksum [2022-08-09T21:21:37.724Z] 46d945488cbd: Download complete [2022-08-09T21:21:37.724Z] b3c136eddcbf: Verifying Checksum [2022-08-09T21:21:37.724Z] b3c136eddcbf: Download complete [2022-08-09T21:21:38.718Z] b3c136eddcbf: Pull complete [2022-08-09T21:21:38.718Z] 329c88fbcd65: Verifying Checksum [2022-08-09T21:21:38.718Z] 329c88fbcd65: Download complete [2022-08-09T21:21:39.321Z] c0a3192eca97: Pull complete [2022-08-09T21:21:39.596Z] a050256f5b6f: Pull complete [2022-08-09T21:21:39.871Z] 8a5474983e97: Verifying Checksum [2022-08-09T21:21:39.871Z] 8a5474983e97: Download complete [2022-08-09T21:21:40.467Z] 656be50a0ddc: Download complete [2022-08-09T21:21:52.886Z] 656be50a0ddc: Pull complete [2022-08-09T21:21:53.485Z] 2bbca73fdf42: Pull complete [2022-08-09T21:21:53.485Z] 46d945488cbd: Pull complete [2022-08-09T21:22:00.214Z] 8a5474983e97: Pull complete [2022-08-09T21:22:01.651Z] 329c88fbcd65: Pull complete [2022-08-09T21:22:01.652Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-09T21:22:01.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-09T21:22:01.926Z] ---> ff4287adb874 [2022-08-09T21:22:01.926Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T21:22:03.916Z] ---> Running in 567665f50df3 [2022-08-09T21:22:03.916Z] Removing intermediate container 567665f50df3 [2022-08-09T21:22:03.916Z] ---> 52c6df709698 [2022-08-09T21:22:03.916Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T21:22:03.916Z] ---> Running in ca6d8999426e [2022-08-09T21:22:04.193Z] Removing intermediate container ca6d8999426e [2022-08-09T21:22:04.193Z] ---> 0d941eff6bf1 [2022-08-09T21:22:04.193Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T21:22:04.482Z] ---> Running in 310de216cc53 [2022-08-09T21:22:05.911Z] Removing intermediate container 310de216cc53 [2022-08-09T21:22:05.911Z] ---> 1e672f647c0f [2022-08-09T21:22:05.911Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T21:22:05.911Z] ---> Running in c5e6719132e8 [2022-08-09T21:22:05.911Z] Removing intermediate container c5e6719132e8 [2022-08-09T21:22:05.911Z] ---> 5f066e616ff8 [2022-08-09T21:22:05.911Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T21:22:05.911Z] ---> Running in d536a12d9e98 [2022-08-09T21:22:07.886Z] Removing intermediate container d536a12d9e98 [2022-08-09T21:22:07.886Z] ---> 5527169ca7c8 [2022-08-09T21:22:07.886Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T21:22:07.886Z] ---> Running in ef5892240f8c [2022-08-09T21:22:08.867Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T21:22:09.463Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T21:22:10.434Z] OK: 221 MiB in 51 packages [2022-08-09T21:22:11.419Z] Removing intermediate container ef5892240f8c [2022-08-09T21:22:11.419Z] ---> 79c38953e961 [2022-08-09T21:22:11.419Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T21:22:11.419Z] ---> Running in 1623087ba5d1 [2022-08-09T21:22:11.691Z] Removing intermediate container 1623087ba5d1 [2022-08-09T21:22:11.691Z] ---> 72e5b39828d2 [2022-08-09T21:22:11.691Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T21:22:12.289Z] ---> b8e1bafbf089 [2022-08-09T21:22:12.289Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T21:22:12.289Z] ---> Running in cc658754c474 [2022-08-09T21:23:08.866Z] Removing intermediate container cc658754c474 [2022-08-09T21:23:08.866Z] ---> 0d9c6a4232ba [2022-08-09T21:23:08.866Z] Step 12/13 : COPY . . [2022-08-09T21:23:08.866Z] ---> 6e288ffd798f [2022-08-09T21:23:08.866Z] Step 13/13 : RUN ${MAKE} [2022-08-09T21:23:08.866Z] ---> Running in ea4d928769e6 [2022-08-09T21:23:08.866Z] noop [2022-08-09T21:23:08.866Z] Removing intermediate container ea4d928769e6 [2022-08-09T21:23:08.866Z] ---> a1740d2d16c3 [2022-08-09T21:23:08.866Z] Successfully built a1740d2d16c3 [2022-08-09T21:23:08.866Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:23:09.360Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T21:23:09.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T21:23:09.688Z] prd-ubuntu20.04-docker-arm64-4c-16g-22266 does not seem to be running inside a container [2022-08-09T21:23:09.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-09T21:23:11.121Z] $ docker top c87cd536c70705e35022893a0252a4f992ef79d4c376b5fee11a43a0969b1f93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T21:23:12.070Z] + go version [2022-08-09T21:23:12.070Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-09T21:23:12.110Z] $ docker stop --time=1 c87cd536c70705e35022893a0252a4f992ef79d4c376b5fee11a43a0969b1f93 [2022-08-09T21:23:13.737Z] $ docker rm -f c87cd536c70705e35022893a0252a4f992ef79d4c376b5fee11a43a0969b1f93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:23:14.653Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T21:23:14.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T21:23:14.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-22266 does not seem to be running inside a container [2022-08-09T21:23:15.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-09T21:23:16.398Z] $ docker top 719f2b857c2f76b0e96605f2f71359339af5cb340eb5d556a176326b821fab05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T21:23:17.366Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-09T21:23:18.089Z] + make test [2022-08-09T21:23:18.089Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T21:23:20.074Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T21:24:41.933Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T21:24:47.378Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.128s coverage: 10.6% of statements [2022-08-09T21:24:47.378Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T21:25:14.184Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.796s coverage: 13.8% of statements [2022-08-09T21:25:14.184Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-09T21:25:14.184Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T21:25:32.541Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T21:25:32.541Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T21:25:32.541Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T21:25:32.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T21:25:32.622Z] $ docker stop --time=1 719f2b857c2f76b0e96605f2f71359339af5cb340eb5d556a176326b821fab05 [2022-08-09T21:25:34.387Z] $ docker rm -f 719f2b857c2f76b0e96605f2f71359339af5cb340eb5d556a176326b821fab05 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T21:25:35.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T21:25:35.720Z] Warning: overwriting stash ‘coverage-report’ [2022-08-09T21:25:36.289Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T21:25:36.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T21:25:37.225Z] + ls -al . [2022-08-09T21:25:37.225Z] total 228 [2022-08-09T21:25:37.225Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 21:23 . [2022-08-09T21:25:37.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:21 .. [2022-08-09T21:25:37.225Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 21:21 .git [2022-08-09T21:25:37.225Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:21 .github [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 21:21 .gitignore [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 21:21 .golangci.yml [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 9 21:21 Attribution.txt [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 21:21 CHANGELOG.md [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 21:21 Dockerfile [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 21:21 GOVERNANCE.md [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 21:21 Jenkinsfile [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 21:21 LICENSE [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 2473 Aug 9 21:21 Makefile [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 21:21 OWNERS.md [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 21:21 README.md [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 21:19 VERSION [2022-08-09T21:25:37.225Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 21:21 bin [2022-08-09T21:25:37.225Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 21:21 cmd [2022-08-09T21:25:37.225Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 21:25 coverage.out [2022-08-09T21:25:37.225Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 21:21 doc [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 9 21:21 go.mod [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 9 21:21 go.sum [2022-08-09T21:25:37.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:21 internal [2022-08-09T21:25:37.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 21:21 snap [2022-08-09T21:25:37.225Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:25:37.663Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2781d57b959cc2e1bf910bec88c926741b9525f6 --label arch=arm64 --label version=0.0.0 . [2022-08-09T21:25:38.271Z] Sending build context to Docker daemon 13.73MB [2022-08-09T21:25:38.271Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T21:25:38.271Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T21:25:38.271Z] ---> a1740d2d16c3 [2022-08-09T21:25:38.271Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T21:25:38.271Z] ---> Running in 8ae77b962d84 [2022-08-09T21:25:38.555Z] Removing intermediate container 8ae77b962d84 [2022-08-09T21:25:38.555Z] ---> 595eeaf36527 [2022-08-09T21:25:38.555Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T21:25:38.839Z] ---> Running in d3eba7f0b7f0 [2022-08-09T21:25:39.114Z] Removing intermediate container d3eba7f0b7f0 [2022-08-09T21:25:39.114Z] ---> b83f4b294487 [2022-08-09T21:25:39.114Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T21:25:39.114Z] ---> Running in cedaec4d6511 [2022-08-09T21:25:39.397Z] Removing intermediate container cedaec4d6511 [2022-08-09T21:25:39.397Z] ---> 37759d2a8478 [2022-08-09T21:25:39.397Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T21:25:39.397Z] ---> Running in 83929ee50eac [2022-08-09T21:25:39.673Z] Removing intermediate container 83929ee50eac [2022-08-09T21:25:39.948Z] ---> fcbb2af3c899 [2022-08-09T21:25:39.948Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T21:25:39.948Z] ---> Running in 8457562a7b8f [2022-08-09T21:25:41.945Z] Removing intermediate container 8457562a7b8f [2022-08-09T21:25:41.945Z] ---> 7fad54e4d33a [2022-08-09T21:25:41.945Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T21:25:41.945Z] ---> Running in a6e945ec5cd4 [2022-08-09T21:25:42.542Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T21:25:43.524Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T21:25:44.509Z] OK: 221 MiB in 51 packages [2022-08-09T21:25:45.113Z] Removing intermediate container a6e945ec5cd4 [2022-08-09T21:25:45.113Z] ---> a0f69d7d66a9 [2022-08-09T21:25:45.113Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T21:25:45.392Z] ---> Running in d329767beecd [2022-08-09T21:25:45.670Z] Removing intermediate container d329767beecd [2022-08-09T21:25:45.670Z] ---> 1eb09128edcd [2022-08-09T21:25:45.670Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T21:25:46.272Z] ---> c2c346363520 [2022-08-09T21:25:46.272Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T21:25:46.272Z] ---> Running in e018b730e064 [2022-08-09T21:25:48.258Z] Removing intermediate container e018b730e064 [2022-08-09T21:25:48.258Z] ---> 166acd519a2d [2022-08-09T21:25:48.258Z] Step 12/26 : COPY . . [2022-08-09T21:25:49.698Z] ---> 23c59ee35514 [2022-08-09T21:25:49.698Z] Step 13/26 : RUN ${MAKE} [2022-08-09T21:25:49.698Z] ---> Running in bed160a3d52e [2022-08-09T21:25:50.685Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T21:27:57.639Z] Removing intermediate container bed160a3d52e [2022-08-09T21:27:57.639Z] ---> f898f9ae7a50 [2022-08-09T21:27:57.639Z] Step 14/26 : FROM alpine:3.16 [2022-08-09T21:27:57.639Z] 3.16: Pulling from library/alpine [2022-08-09T21:27:57.639Z] 9b18e9b68314: Pulling fs layer [2022-08-09T21:27:57.639Z] 9b18e9b68314: Verifying Checksum [2022-08-09T21:27:57.639Z] 9b18e9b68314: Download complete [2022-08-09T21:27:58.239Z] 9b18e9b68314: Pull complete [2022-08-09T21:27:58.239Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-09T21:27:58.239Z] Status: Downloaded newer image for alpine:3.16 [2022-08-09T21:27:58.239Z] ---> a6215f271958 [2022-08-09T21:27:58.239Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T21:27:58.514Z] ---> Running in 1bd26bcb8daa [2022-08-09T21:27:58.792Z] Removing intermediate container 1bd26bcb8daa [2022-08-09T21:27:58.792Z] ---> 3f51ab5cbc76 [2022-08-09T21:27:58.792Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T21:27:58.792Z] ---> Running in 2a649c1bc972 [2022-08-09T21:27:59.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T21:28:00.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T21:28:01.035Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T21:28:01.035Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-09T21:28:01.035Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T21:28:01.035Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-09T21:28:01.035Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T21:28:01.035Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T21:28:01.035Z] Executing busybox-1.35.0-r17.trigger [2022-08-09T21:28:01.035Z] OK: 8 MiB in 20 packages [2022-08-09T21:28:02.027Z] Removing intermediate container 2a649c1bc972 [2022-08-09T21:28:02.027Z] ---> 6ddb60a5f596 [2022-08-09T21:28:02.027Z] Step 17/26 : WORKDIR / [2022-08-09T21:28:02.027Z] ---> Running in 1168939baf6e [2022-08-09T21:28:02.304Z] Removing intermediate container 1168939baf6e [2022-08-09T21:28:02.304Z] ---> 4f549d33f328 [2022-08-09T21:28:02.304Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T21:28:04.285Z] ---> 398f16cbd0b2 [2022-08-09T21:28:04.285Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T21:28:04.559Z] ---> 04b596be61e5 [2022-08-09T21:28:04.559Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T21:28:05.165Z] ---> 9c35191521eb [2022-08-09T21:28:05.165Z] Step 21/26 : EXPOSE 59984 [2022-08-09T21:28:05.165Z] ---> Running in a719abefdd20 [2022-08-09T21:28:05.440Z] Removing intermediate container a719abefdd20 [2022-08-09T21:28:05.440Z] ---> 98985e7d54c8 [2022-08-09T21:28:05.440Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T21:28:05.440Z] ---> Running in e7a2cf224191 [2022-08-09T21:28:05.718Z] Removing intermediate container e7a2cf224191 [2022-08-09T21:28:05.718Z] ---> 41a95754de31 [2022-08-09T21:28:05.718Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T21:28:06.002Z] ---> Running in 859f2f1f8bf3 [2022-08-09T21:28:06.285Z] Removing intermediate container 859f2f1f8bf3 [2022-08-09T21:28:06.285Z] ---> 491d0c08f411 [2022-08-09T21:28:06.285Z] Step 24/26 : LABEL arch=arm64 [2022-08-09T21:28:06.285Z] ---> Running in bbfe50d1620c [2022-08-09T21:28:06.563Z] Removing intermediate container bbfe50d1620c [2022-08-09T21:28:06.563Z] ---> eba69f8cd51b [2022-08-09T21:28:06.563Z] Step 25/26 : LABEL git_sha=2781d57b959cc2e1bf910bec88c926741b9525f6 [2022-08-09T21:28:06.563Z] ---> Running in 65992ed30f21 [2022-08-09T21:28:06.842Z] Removing intermediate container 65992ed30f21 [2022-08-09T21:28:06.842Z] ---> 1bac6ab28e99 [2022-08-09T21:28:06.842Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T21:28:07.118Z] ---> Running in 84781d72b541 [2022-08-09T21:28:07.391Z] Removing intermediate container 84781d72b541 [2022-08-09T21:28:07.391Z] ---> 5e3acd5cea6a [2022-08-09T21:28:07.391Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T21:28:07.391Z] Successfully built 5e3acd5cea6a [2022-08-09T21:28:07.391Z] Successfully tagged device-onvif-camera-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-08-09T21:28:08.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T21:28:08.224Z] [2022-08-09T21:28:08.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:28:08.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T21:28:08.922Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-09T21:28:08.922Z] 8998bd30e6a1: Pulling fs layer [2022-08-09T21:28:08.922Z] 04944245beec: Pulling fs layer [2022-08-09T21:28:08.922Z] 699f458cf7ca: Pulling fs layer [2022-08-09T21:28:08.922Z] 765212b225bb: Pulling fs layer [2022-08-09T21:28:08.922Z] f23df028b6ca: Pulling fs layer [2022-08-09T21:28:08.922Z] d65c8cfc05b1: Pulling fs layer [2022-08-09T21:28:08.922Z] 2437ff75d9bd: Pulling fs layer [2022-08-09T21:28:08.922Z] 765212b225bb: Waiting [2022-08-09T21:28:08.922Z] f23df028b6ca: Waiting [2022-08-09T21:28:08.922Z] d65c8cfc05b1: Waiting [2022-08-09T21:28:08.922Z] 2437ff75d9bd: Waiting [2022-08-09T21:28:08.922Z] 04944245beec: Verifying Checksum [2022-08-09T21:28:08.922Z] 04944245beec: Download complete [2022-08-09T21:28:08.922Z] 765212b225bb: Verifying Checksum [2022-08-09T21:28:08.922Z] 765212b225bb: Download complete [2022-08-09T21:28:08.922Z] f23df028b6ca: Verifying Checksum [2022-08-09T21:28:08.922Z] f23df028b6ca: Download complete [2022-08-09T21:28:08.922Z] d65c8cfc05b1: Verifying Checksum [2022-08-09T21:28:08.922Z] d65c8cfc05b1: Download complete [2022-08-09T21:28:09.199Z] 699f458cf7ca: Verifying Checksum [2022-08-09T21:28:09.199Z] 699f458cf7ca: Download complete [2022-08-09T21:28:09.475Z] 8998bd30e6a1: Verifying Checksum [2022-08-09T21:28:09.475Z] 8998bd30e6a1: Download complete [2022-08-09T21:28:12.106Z] 2437ff75d9bd: Verifying Checksum [2022-08-09T21:28:12.106Z] 2437ff75d9bd: Download complete [2022-08-09T21:28:13.550Z] 8998bd30e6a1: Pull complete [2022-08-09T21:28:14.151Z] 04944245beec: Pull complete [2022-08-09T21:28:15.599Z] 699f458cf7ca: Pull complete [2022-08-09T21:28:15.599Z] 765212b225bb: Pull complete [2022-08-09T21:28:16.586Z] f23df028b6ca: Pull complete [2022-08-09T21:28:16.862Z] d65c8cfc05b1: Pull complete [2022-08-09T21:28:31.964Z] 2437ff75d9bd: Pull complete [2022-08-09T21:28:31.964Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-09T21:28:31.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T21:28:31.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T21:28:32.354Z] prd-ubuntu20.04-docker-arm64-4c-16g-22266 does not seem to be running inside a container [2022-08-09T21:28:32.448Z] $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-09T21:28:34.959Z] $ docker top a980a08e21069070ab2725f00758da3f24450ea983cc5e1e2bf4745ab0564206 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:28:35.952Z] ---> job-cost.sh [2022-08-09T21:28:35.952Z] lf-activate-venv: SKIPPING [2022-08-09T21:28:35.952Z] INFO: No Stack... [2022-08-09T21:28:36.548Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-09T21:28:37.528Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T21:28:38.209Z] + cut -d, -f6 [2022-08-09T21:28:38.209Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-08-09T21:28:38.296Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-127-1-stack-cost] [2022-08-09T21:28:38.301Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-127-1-stack-cost] did not exist. Created. [2022-08-09T21:28:38.301Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-127-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T21:28:39.056Z] /w/workspace/device-onvif-camera/1@tmp/durable-b61b0289/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-09T21:28:39.766Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-09T21:28:39.801Z] Warning: overwriting stash ‘stack-cost’ [2022-08-09T21:28:39.862Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T21:28:39.877Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-127-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T21:28:39.964Z] $ docker stop --time=1 a980a08e21069070ab2725f00758da3f24450ea983cc5e1e2bf4745ab0564206 [2022-08-09T21:28:41.451Z] $ docker rm -f a980a08e21069070ab2725f00758da3f24450ea983cc5e1e2bf4745ab0564206 [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-08-09T21:28:42.480Z] provisioning config files... [2022-08-09T21:28:42.490Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-127@tmp/config6887172737801776628tmp [Pipeline] { [Pipeline] sh [2022-08-09T21:28:42.828Z] + set +x [2022-08-09T21:28:42.828Z] + curl -s https://codecov.io/bash [2022-08-09T21:28:42.828Z] + bash -s -- [2022-08-09T21:28:42.828Z] [2022-08-09T21:28:42.828Z] _____ _ [2022-08-09T21:28:42.828Z] / ____| | | [2022-08-09T21:28:42.828Z] | | ___ __| | ___ ___ _____ __ [2022-08-09T21:28:42.828Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-09T21:28:42.828Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-09T21:28:42.828Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-09T21:28:42.828Z] Bash-1.0.6 [2022-08-09T21:28:42.828Z] [2022-08-09T21:28:42.828Z] [2022-08-09T21:28:42.828Z] ==> git version 2.25.1 found [2022-08-09T21:28:42.828Z] ==> 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-08-09T21:28:42.828Z] Release-Date: 2020-01-08 [2022-08-09T21:28:42.828Z] 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-08-09T21:28:42.828Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-09T21:28:42.828Z] ==> Jenkins CI detected. [2022-08-09T21:28:42.828Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-127 [2022-08-09T21:28:42.828Z] project root: . [2022-08-09T21:28:42.828Z] --> token set from env [2022-08-09T21:28:42.828Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-09T21:28:42.828Z] ==> Running gcov in . (disable via -X gcov) [2022-08-09T21:28:42.828Z] ==> Python coveragepy not found [2022-08-09T21:28:42.828Z] ==> Searching for coverage reports in: [2022-08-09T21:28:42.828Z] + . [2022-08-09T21:28:42.828Z] -> Found 1 reports [2022-08-09T21:28:42.828Z] ==> Detecting git/mercurial file structure [2022-08-09T21:28:43.088Z] ==> Reading reports [2022-08-09T21:28:43.088Z] + ./coverage.out bytes=76856 [2022-08-09T21:28:43.088Z] ==> Appending adjustments [2022-08-09T21:28:43.088Z] https://docs.codecov.io/docs/fixing-reports [2022-08-09T21:28:43.088Z] + Found adjustments [2022-08-09T21:28:43.088Z] ==> Gzipping contents [2022-08-09T21:28:43.088Z] 12K /tmp/codecov.kK46AY.gz [2022-08-09T21:28:43.088Z] ==> Uploading reports [2022-08-09T21:28:43.088Z] url: https://codecov.io [2022-08-09T21:28:43.088Z] query: branch=PR-127&commit=2781d57b959cc2e1bf910bec88c926741b9525f6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-127%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=127&job=&cmd_args= [2022-08-09T21:28:43.088Z] -> Pinging Codecov [2022-08-09T21:28:43.088Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-127&commit=2781d57b959cc2e1bf910bec88c926741b9525f6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-127%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=127&job=&cmd_args= [2022-08-09T21:28:43.348Z] -> Uploading to [2022-08-09T21:28:43.348Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-09/F29A59C45E3A92E06B3E522C9905F8EF/2781d57b959cc2e1bf910bec88c926741b9525f6/b35463c1-800b-4965-ab2a-5829ff5394c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220809T212843Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e5580653b469768d5914324d403ba663bf2806cd192af0b62b6ddf6973cb663 [2022-08-09T21:28:43.348Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T21:28:43.348Z] Dload Upload Total Spent Left Speed [2022-08-09T21:28:43.608Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10380 0 0 100 10380 0 41854 --:--:-- --:--:-- --:--:-- 41854 [2022-08-09T21:28:43.608Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2781d57b959cc2e1bf910bec88c926741b9525f6 [Pipeline] } [2022-08-09T21:28:43.636Z] 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-08-09T21:28:45.458Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-127/archives ] [2022-08-09T21:28:45.458Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-127/archives [2022-08-09T21:28:45.458Z] total 16 [2022-08-09T21:28:45.459Z] drwxr-xr-x 3 root root 4096 Aug 9 21:21 . [2022-08-09T21:28:45.459Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 21:21 .. [2022-08-09T21:28:45.459Z] drwxr-xr-x 2 root root 4096 Aug 9 21:21 cost [2022-08-09T21:28:45.459Z] -rw-r--r-- 1 root root 92 Aug 9 21:21 cost.csv [2022-08-09T21:28:45.459Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-127/archives [2022-08-09T21:28:45.459Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-127/archives [2022-08-09T21:28:45.459Z] total 16 [2022-08-09T21:28:45.459Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 21:21 . [2022-08-09T21:28:45.459Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 21:21 .. [2022-08-09T21:28:45.459Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 21:21 cost [2022-08-09T21:28:45.459Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 9 21:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:28:45.790Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:28:46.691Z] ---> package-listing.sh [2022-08-09T21:28:46.691Z] ++ facter osfamily [2022-08-09T21:28:46.691Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-09T21:28:46.952Z] + OS_FAMILY=debian [2022-08-09T21:28:46.952Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-127 [2022-08-09T21:28:46.952Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-09T21:28:46.952Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-09T21:28:46.953Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-09T21:28:46.953Z] + PACKAGES=/tmp/packages_start.txt [2022-08-09T21:28:46.953Z] + '[' /w/workspace/undry_device-onvif-camera_PR-127 ']' [2022-08-09T21:28:46.953Z] + PACKAGES=/tmp/packages_end.txt [2022-08-09T21:28:46.953Z] + case "${OS_FAMILY}" in [2022-08-09T21:28:46.953Z] + dpkg -l [2022-08-09T21:28:46.953Z] + grep '^ii' [2022-08-09T21:28:46.953Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-09T21:28:46.953Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-09T21:28:46.953Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-09T21:28:46.953Z] + '[' /w/workspace/undry_device-onvif-camera_PR-127 ']' [2022-08-09T21:28:46.953Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-127/archives/ [2022-08-09T21:28:46.953Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-127/archives/ [Pipeline] echo [2022-08-09T21:28:46.983Z] 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/undry_device-onvif-camera_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-09T21:28:47.280Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T21:28:47.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T21:28:47.913Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T21:28:48.085Z] prd-ubuntu20.04-docker-8c-8g-22256 does not seem to be running inside a container [2022-08-09T21:28:48.160Z] $ 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/undry_device-onvif-camera_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-127 -v /w/workspace/undry_device-onvif-camera_PR-127:/w/workspace/undry_device-onvif-camera_PR-127:rw,z -v /w/workspace/undry_device-onvif-camera_PR-127@tmp:/w/workspace/undry_device-onvif-camera_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T21:28:48.365Z] $ docker top 55d3c53a88574f3da61eeb4733b1a0a3f18ce6a9b5c8fc3c036ce1878ef476a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T21:28:48.784Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-09T21:28:49.099Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-09T21:28:49.417Z] + ls /var/log/sa-host [2022-08-09T21:28:49.417Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T21:28:49.625Z] provisioning config files... [2022-08-09T21:28:49.635Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-127@tmp/config4930589534772255953tmp [Pipeline] { [Pipeline] echo [2022-08-09T21:28:49.692Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:28:50.016Z] ---> create-netrc.sh [Pipeline] } [2022-08-09T21:28:50.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:28:50.458Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-09T21:28:50.495Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:28:50.812Z] ---> sudo-logs.sh [2022-08-09T21:28:50.812Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-09T21:28:50.898Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:28:51.215Z] ---> job-cost.sh [2022-08-09T21:28:51.215Z] lf-activate-venv: SKIPPING [2022-08-09T21:28:51.215Z] DEBUG: total: 0.2199999988079071 [2022-08-09T21:28:51.215Z] INFO: Retrieving Stack Cost... [2022-08-09T21:28:51.784Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T21:28:52.044Z] INFO: Archiving Costs [Pipeline] echo [2022-08-09T21:28:52.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T21:28:52.393Z] ---> logs-deploy.sh [2022-08-09T21:28:52.393Z] lf-activate-venv: SKIPPING [2022-08-09T21:28:52.393Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-127/1 [2022-08-09T21:28:52.393Z] INFO: archiving workspace using pattern(s): [2022-08-09T21:28:53.340Z] Archives upload complete. [2022-08-09T21:28:53.340Z] INFO: archiving logs to Nexus