Pull request #131 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 59a7980d54f1ac3c06c7b0a6ba74086551540c0b rather than 2f0c3ce04832e1b9546ccc49e8706331af5a5714 Obtained Jenkinsfile from 59a7980d54f1ac3c06c7b0a6ba74086551540c0b 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-ssh12824865173815929866.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-ssh7789767464797028115.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-131/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-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17937280963734485435.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-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11556617607186818659.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-ssh16626072010167308649.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-131/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-131/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11181317183494557146.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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22525 in /w/workspace/undry_device-onvif-camera_PR-131 [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-131 # 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 59a7980d54f1ac3c06c7b0a6ba74086551540c0b into PR head commit 2f0c3ce04832e1b9546ccc49e8706331af5a5714 Merge succeeded, producing 2f0c3ce04832e1b9546ccc49e8706331af5a5714 Checking out Revision 2f0c3ce04832e1b9546ccc49e8706331af5a5714 (PR-131) > 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/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f0c3ce04832e1b9546ccc49e8706331af5a5714 # 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 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f0c3ce04832e1b9546ccc49e8706331af5a5714 # timeout=10 Commit message: "docs: add missing param to postman call" 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-11T18:06:34.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-11T18:06:34.901Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-11T18:06:34.991Z] ========================================================= [2022-08-11T18:06:34.991Z] EdgeX Global Pipelines Version Info [2022-08-11T18:06:34.991Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:06:35.797Z] ------------------- [2022-08-11T18:06:35.798Z] stable info: [2022-08-11T18:06:35.798Z] ------------------- [2022-08-11T18:06:35.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-11T18:06:35.798Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-11T18:06:35.798Z] Message: update stable to v1.0.238 [2022-08-11T18:06:36.371Z] ------------------- [2022-08-11T18:06:36.371Z] experimental info: [2022-08-11T18:06:36.371Z] ------------------- [2022-08-11T18:06:36.371Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-11T18:06:36.371Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-11T18:06:36.371Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-11T18:06:36.708Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-11T18:06:36.744Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-11T18:06:36.785Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-11T18:06:36.820Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-11T18:06:36.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-11T18:06:36.892Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-11T18:06:36.929Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-11T18:06:36.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-11T18:06:37.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-11T18:06:37.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-11T18:06:37.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-11T18:06:37.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-11T18:06:37.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-11T18:06:37.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-11T18:06:37.228Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-11T18:06:37.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-11T18:06:37.307Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-11T18:06:37.347Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-11T18:06:37.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-11T18:06:37.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-11T18:06:37.460Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-11T18:06:37.502Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-11T18:06:37.544Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-11T18:06:37.580Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-11T18:06:37.617Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-11T18:06:37.655Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-11T18:06:37.689Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-11T18:06:37.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo [2022-08-11T18:06:37.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo [2022-08-11T18:06:37.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo [2022-08-11T18:06:37.835Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] echo [2022-08-11T18:06:37.875Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f0c3ce [Pipeline] echo [2022-08-11T18:06:37.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T18:06:38.026Z] provisioning config files... [2022-08-11T18:06:38.041Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-131@tmp/config9187860012763168602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:06:38.402Z] ---> docker-login.sh [2022-08-11T18:06:38.403Z] nexus3.edgexfoundry.org:10001 [2022-08-11T18:06:38.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:38.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:38.663Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:38.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:38.663Z] [2022-08-11T18:06:38.663Z] Login Succeeded [2022-08-11T18:06:38.663Z] nexus3.edgexfoundry.org:10002 [2022-08-11T18:06:38.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:38.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:38.926Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:38.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:38.926Z] [2022-08-11T18:06:38.926Z] Login Succeeded [2022-08-11T18:06:38.926Z] nexus3.edgexfoundry.org:10003 [2022-08-11T18:06:38.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:38.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:38.926Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:38.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:38.926Z] [2022-08-11T18:06:38.926Z] Login Succeeded [2022-08-11T18:06:38.926Z] nexus3.edgexfoundry.org:10004 [2022-08-11T18:06:39.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:39.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:39.187Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:39.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:39.187Z] [2022-08-11T18:06:39.187Z] Login Succeeded [2022-08-11T18:06:39.187Z] docker.io [2022-08-11T18:06:39.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:39.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:39.761Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:39.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:39.761Z] [2022-08-11T18:06:39.761Z] Login Succeeded [2022-08-11T18:06:39.761Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T18:06:39.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-11T18:06:40.414Z] + git rev-list -1 --merges 2f0c3ce04832e1b9546ccc49e8706331af5a5714~1..2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] echo [2022-08-11T18:06:40.461Z] -----------> git rev-list -1 --merges 2f0c3ce04832e1b9546ccc49e8706331af5a5714~1..2f0c3ce04832e1b9546ccc49e8706331af5a5714 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [false] [Pipeline] sh [2022-08-11T18:06:40.773Z] + git log --format=format:%s -1 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] echo [2022-08-11T18:06:40.809Z] ========================================================= [2022-08-11T18:06:40.809Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-11T18:06:40.809Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T18:06:41.250Z] + git log --format=format:%s -1 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] echo [2022-08-11T18:06:41.281Z] [semverPrep] GIT_COMMIT: 2f0c3ce04832e1b9546ccc49e8706331af5a5714, Commit Message: docs: add missing param to postman call [Pipeline] echo [2022-08-11T18:06:41.311Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-11T18:06:41.717Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-11T18:06:41.717Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-11T18:06:41.717Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-11T18:06:41.717Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-11T18:06:41.717Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-11T18:06:41.717Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-11T18:06:41.717Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:06:42.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T18:06:42.215Z] [2022-08-11T18:06:42.215Z] 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-11T18:06:42.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T18:06:42.590Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-11T18:06:42.590Z] b85a868b505f: Pulling fs layer [2022-08-11T18:06:42.590Z] e2be974225ed: Pulling fs layer [2022-08-11T18:06:42.590Z] 339a4e72a1f5: Pulling fs layer [2022-08-11T18:06:42.590Z] 988bab9f4d93: Pulling fs layer [2022-08-11T18:06:42.590Z] 1469e6f7b9e6: Pulling fs layer [2022-08-11T18:06:42.590Z] eaf3925da568: Pulling fs layer [2022-08-11T18:06:42.590Z] bab4dde63d76: Pulling fs layer [2022-08-11T18:06:42.590Z] bde34c3a00c8: Pulling fs layer [2022-08-11T18:06:42.590Z] b352a97aabf1: Pulling fs layer [2022-08-11T18:06:42.590Z] 4872d77fe225: Pulling fs layer [2022-08-11T18:06:42.590Z] 5851b861e8e6: Pulling fs layer [2022-08-11T18:06:42.590Z] b352a97aabf1: Waiting [2022-08-11T18:06:42.590Z] bab4dde63d76: Waiting [2022-08-11T18:06:42.590Z] 4872d77fe225: Waiting [2022-08-11T18:06:42.590Z] 988bab9f4d93: Waiting [2022-08-11T18:06:42.590Z] 5851b861e8e6: Waiting [2022-08-11T18:06:42.590Z] 1469e6f7b9e6: Waiting [2022-08-11T18:06:42.590Z] eaf3925da568: Waiting [2022-08-11T18:06:42.590Z] bde34c3a00c8: Waiting [2022-08-11T18:06:42.590Z] e2be974225ed: Verifying Checksum [2022-08-11T18:06:42.590Z] e2be974225ed: Download complete [2022-08-11T18:06:42.590Z] 988bab9f4d93: Verifying Checksum [2022-08-11T18:06:42.590Z] 988bab9f4d93: Download complete [2022-08-11T18:06:42.851Z] 1469e6f7b9e6: Verifying Checksum [2022-08-11T18:06:42.851Z] 1469e6f7b9e6: Download complete [2022-08-11T18:06:42.851Z] 339a4e72a1f5: Verifying Checksum [2022-08-11T18:06:42.851Z] 339a4e72a1f5: Download complete [2022-08-11T18:06:42.851Z] eaf3925da568: Verifying Checksum [2022-08-11T18:06:42.851Z] eaf3925da568: Download complete [2022-08-11T18:06:42.851Z] bde34c3a00c8: Download complete [2022-08-11T18:06:42.851Z] b352a97aabf1: Download complete [2022-08-11T18:06:42.851Z] 4872d77fe225: Verifying Checksum [2022-08-11T18:06:42.851Z] 4872d77fe225: Download complete [2022-08-11T18:06:42.851Z] 5851b861e8e6: Verifying Checksum [2022-08-11T18:06:42.851Z] 5851b861e8e6: Download complete [2022-08-11T18:06:42.851Z] b85a868b505f: Download complete [2022-08-11T18:06:43.110Z] bab4dde63d76: Verifying Checksum [2022-08-11T18:06:43.111Z] bab4dde63d76: Download complete [2022-08-11T18:06:44.049Z] b85a868b505f: Pull complete [2022-08-11T18:06:44.308Z] e2be974225ed: Pull complete [2022-08-11T18:06:44.880Z] 339a4e72a1f5: Pull complete [2022-08-11T18:06:44.880Z] 988bab9f4d93: Pull complete [2022-08-11T18:06:45.142Z] 1469e6f7b9e6: Pull complete [2022-08-11T18:06:45.142Z] eaf3925da568: Pull complete [2022-08-11T18:06:47.054Z] bab4dde63d76: Pull complete [2022-08-11T18:06:47.054Z] bde34c3a00c8: Pull complete [2022-08-11T18:06:47.316Z] b352a97aabf1: Pull complete [2022-08-11T18:06:47.316Z] 4872d77fe225: Pull complete [2022-08-11T18:06:47.316Z] 5851b861e8e6: Pull complete [2022-08-11T18:06:47.316Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-11T18:06:47.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T18:06:47.316Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T18:06:47.545Z] prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container [2022-08-11T18:06:47.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-11T18:06:48.869Z] $ docker top 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 -eo pid,comm [2022-08-11T18:06:48.928Z] 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-11T18:06:48.928Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-11T18:06:49.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-11T18:06:49.051Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-11T18:06:49.170Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-11T18:06:49.178Z] $ docker exec 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 ssh-agent [2022-08-11T18:06:49.283Z] SSH_AUTH_SOCK=/tmp/ssh-Wa304G1LpPaT/agent.33 [2022-08-11T18:06:49.283Z] SSH_AGENT_PID=39 [2022-08-11T18:06:49.290Z] Running ssh-add (command line suppressed) [2022-08-11T18:06:49.403Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-131@tmp/private_key_7996943765333371040.key (/w/workspace/undry_device-onvif-camera_PR-131@tmp/private_key_7996943765333371040.key) [2022-08-11T18:06:49.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-11T18:06:49.750Z] + git tag --points-at HEAD [Pipeline] } [2022-08-11T18:06:49.780Z] $ docker exec --env ******** --env ******** 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 ssh-agent -k [2022-08-11T18:06:49.886Z] unset SSH_AUTH_SOCK; [2022-08-11T18:06:49.887Z] unset SSH_AGENT_PID; [2022-08-11T18:06:49.887Z] echo Agent pid 39 killed; [2022-08-11T18:06:49.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-11T18:06:49.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-11T18:06:49.979Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-11T18:06:50.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-11T18:06:50.111Z] $ docker exec 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 ssh-agent [2022-08-11T18:06:50.215Z] SSH_AUTH_SOCK=/tmp/ssh-sn37jMsPsGt4/agent.71 [2022-08-11T18:06:50.215Z] SSH_AGENT_PID=77 [2022-08-11T18:06:50.221Z] Running ssh-add (command line suppressed) [2022-08-11T18:06:50.333Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-131@tmp/private_key_4016863721893156364.key (/w/workspace/undry_device-onvif-camera_PR-131@tmp/private_key_4016863721893156364.key) [2022-08-11T18:06:50.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-11T18:06:50.685Z] + git semver init [2022-08-11T18:06:50.946Z] 2022-08-11 18:06:50,862 [run_init] DEBUG init version:0.0.0 force:False [2022-08-11T18:06:50.946Z] 2022-08-11 18:06:50,862 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-131/.semver [2022-08-11T18:06:50.946Z] 2022-08-11 18:06:50,863 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-131/.semver [2022-08-11T18:06:50.946Z] 2022-08-11 18:06:50,863 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-131/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-131, universal_newlines=False, shell=None, istream=None) [2022-08-11T18:06:51.888Z] 2022-08-11 18:06:51,614 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-131/.git/info/exclude [2022-08-11T18:06:51.888Z] 2022-08-11 18:06:51,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-131/.semver/PR-131 with force:False [2022-08-11T18:06:51.888Z] 2022-08-11 18:06:51,614 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-131/.semver/PR-131 [2022-08-11T18:06:51.888Z] 2022-08-11 18:06:51,618 [execute] INFO git cat-file --batch-check [2022-08-11T18:06:51.888Z] 2022-08-11 18:06:51,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-131/.semver, universal_newlines=False, shell=None, istream=) [2022-08-11T18:06:51.888Z] 2022-08-11 18:06:51,625 [execute] INFO git cat-file --batch [2022-08-11T18:06:51.888Z] 2022-08-11 18:06:51,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-131/.semver, universal_newlines=False, shell=None, istream=) [2022-08-11T18:06:51.888Z] 2022-08-11 18:06:51,630 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-131/.semver/PR-131 [2022-08-11T18:06:51.888Z] 0.0.0 [Pipeline] } [2022-08-11T18:06:51.920Z] $ docker exec --env ******** --env ******** 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 ssh-agent -k [2022-08-11T18:06:52.029Z] unset SSH_AUTH_SOCK; [2022-08-11T18:06:52.029Z] unset SSH_AGENT_PID; [2022-08-11T18:06:52.029Z] echo Agent pid 77 killed; [2022-08-11T18:06:52.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-11T18:06:52.462Z] + git semver [Pipeline] } [2022-08-11T18:06:52.753Z] $ docker stop --time=1 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 [2022-08-11T18:06:54.076Z] $ docker rm -f 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T18:06:54.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-11T18:06:54.776Z] Stashed 1 file(s) [Pipeline] echo [2022-08-11T18:06:54.793Z] [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-11T18:06:55.387Z] provisioning config files... [2022-08-11T18:06:55.397Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-131@tmp/config8103583902151636137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:06:55.743Z] ---> docker-login.sh [2022-08-11T18:06:55.743Z] nexus3.edgexfoundry.org:10001 [2022-08-11T18:06:55.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:55.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:55.743Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:55.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:55.743Z] [2022-08-11T18:06:55.743Z] Login Succeeded [2022-08-11T18:06:55.743Z] nexus3.edgexfoundry.org:10002 [2022-08-11T18:06:55.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:56.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:56.004Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:56.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:56.004Z] [2022-08-11T18:06:56.004Z] Login Succeeded [2022-08-11T18:06:56.004Z] nexus3.edgexfoundry.org:10003 [2022-08-11T18:06:56.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:56.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:56.004Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:56.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:56.004Z] [2022-08-11T18:06:56.004Z] Login Succeeded [2022-08-11T18:06:56.004Z] nexus3.edgexfoundry.org:10004 [2022-08-11T18:06:56.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:56.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:56.266Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:56.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:56.266Z] [2022-08-11T18:06:56.266Z] Login Succeeded [2022-08-11T18:06:56.266Z] docker.io [2022-08-11T18:06:56.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:06:56.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:06:56.527Z] Configure a credential helper to remove this warning. See [2022-08-11T18:06:56.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:06:56.527Z] [2022-08-11T18:06:56.527Z] Login Succeeded [2022-08-11T18:06:56.527Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T18:06:56.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-11T18:06:56.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T18:06:56.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T18:06:56.810Z] ========================================================= [2022-08-11T18:06:56.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-11T18:06:56.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:06:57.274Z] + 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-11T18:06:57.274Z] Sending build context to Docker daemon 20.54MB [2022-08-11T18:06:57.274Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T18:06:57.274Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-11T18:06:57.535Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-11T18:06:57.535Z] 2408cc74d12b: Pulling fs layer [2022-08-11T18:06:57.535Z] ea60b727a1ce: Pulling fs layer [2022-08-11T18:06:57.535Z] 30c4a7721957: Pulling fs layer [2022-08-11T18:06:57.535Z] 370296b7ddb6: Pulling fs layer [2022-08-11T18:06:57.535Z] 7c6cee850709: Pulling fs layer [2022-08-11T18:06:57.535Z] 39a5fcdaea64: Pulling fs layer [2022-08-11T18:06:57.535Z] d94ebbe4e438: Pulling fs layer [2022-08-11T18:06:57.535Z] bcfd1f05c69d: Pulling fs layer [2022-08-11T18:06:57.535Z] 59ccb84bbe0f: Pulling fs layer [2022-08-11T18:06:57.535Z] 39a5fcdaea64: Waiting [2022-08-11T18:06:57.535Z] d94ebbe4e438: Waiting [2022-08-11T18:06:57.535Z] 370296b7ddb6: Waiting [2022-08-11T18:06:57.535Z] bcfd1f05c69d: Waiting [2022-08-11T18:06:57.535Z] 7c6cee850709: Waiting [2022-08-11T18:06:57.535Z] 59ccb84bbe0f: Waiting [2022-08-11T18:06:57.535Z] 30c4a7721957: Verifying Checksum [2022-08-11T18:06:57.535Z] 30c4a7721957: Download complete [2022-08-11T18:06:57.535Z] ea60b727a1ce: Download complete [2022-08-11T18:06:57.535Z] 7c6cee850709: Verifying Checksum [2022-08-11T18:06:57.535Z] 7c6cee850709: Download complete [2022-08-11T18:06:57.535Z] 39a5fcdaea64: Download complete [2022-08-11T18:06:57.535Z] 2408cc74d12b: Verifying Checksum [2022-08-11T18:06:57.535Z] 2408cc74d12b: Download complete [2022-08-11T18:06:57.535Z] d94ebbe4e438: Verifying Checksum [2022-08-11T18:06:57.535Z] d94ebbe4e438: Download complete [2022-08-11T18:06:57.535Z] 2408cc74d12b: Pull complete [2022-08-11T18:06:57.800Z] ea60b727a1ce: Pull complete [2022-08-11T18:06:57.800Z] 30c4a7721957: Pull complete [2022-08-11T18:06:58.062Z] 59ccb84bbe0f: Verifying Checksum [2022-08-11T18:06:58.062Z] 59ccb84bbe0f: Download complete [2022-08-11T18:06:58.062Z] bcfd1f05c69d: Verifying Checksum [2022-08-11T18:06:58.062Z] bcfd1f05c69d: Download complete [2022-08-11T18:06:58.322Z] 370296b7ddb6: Verifying Checksum [2022-08-11T18:06:58.322Z] 370296b7ddb6: Download complete [2022-08-11T18:07:02.516Z] 370296b7ddb6: Pull complete [2022-08-11T18:07:02.517Z] 7c6cee850709: Pull complete [2022-08-11T18:07:02.517Z] 39a5fcdaea64: Pull complete [2022-08-11T18:07:02.517Z] d94ebbe4e438: Pull complete [2022-08-11T18:07:04.435Z] bcfd1f05c69d: Pull complete [2022-08-11T18:07:05.007Z] 59ccb84bbe0f: Pull complete [2022-08-11T18:07:05.007Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-11T18:07:05.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-11T18:07:05.007Z] ---> a4fb48ad2a94 [2022-08-11T18:07:05.007Z] Step 3/13 : ARG MAKE="make build" [2022-08-11T18:07:06.396Z] ---> Running in bebe9655aa4d [2022-08-11T18:07:06.658Z] Removing intermediate container bebe9655aa4d [2022-08-11T18:07:06.658Z] ---> e87ac1754db2 [2022-08-11T18:07:06.658Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T18:07:06.658Z] ---> Running in 08604f896550 [2022-08-11T18:07:06.658Z] Removing intermediate container 08604f896550 [2022-08-11T18:07:06.658Z] ---> 24aaa5586594 [2022-08-11T18:07:06.658Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T18:07:06.658Z] ---> Running in ca621a4a1eef [2022-08-11T18:07:06.919Z] Removing intermediate container ca621a4a1eef [2022-08-11T18:07:06.919Z] ---> fc025bb5ad2e [2022-08-11T18:07:06.919Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-11T18:07:06.919Z] ---> Running in 7cddc911fca8 [2022-08-11T18:07:06.919Z] Removing intermediate container 7cddc911fca8 [2022-08-11T18:07:06.919Z] ---> 0211faaeff47 [2022-08-11T18:07:06.919Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T18:07:06.919Z] ---> Running in b11ea83e9ba3 [2022-08-11T18:07:07.490Z] Removing intermediate container b11ea83e9ba3 [2022-08-11T18:07:07.490Z] ---> 8f9eddcee6e7 [2022-08-11T18:07:07.490Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T18:07:07.490Z] ---> Running in 41c711fe03b8 [2022-08-11T18:07:07.751Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T18:07:09.141Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T18:07:09.141Z] OK: 211 MiB in 51 packages [2022-08-11T18:07:09.713Z] Removing intermediate container 41c711fe03b8 [2022-08-11T18:07:09.713Z] ---> 65e66745756d [2022-08-11T18:07:09.713Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-11T18:07:09.713Z] ---> Running in dfc2e3497262 [2022-08-11T18:07:09.713Z] Removing intermediate container dfc2e3497262 [2022-08-11T18:07:09.713Z] ---> 55b3a5a46cd3 [2022-08-11T18:07:09.713Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-11T18:07:09.976Z] ---> e333ead5efa1 [2022-08-11T18:07:09.976Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T18:07:09.976Z] ---> Running in e1856688b87c [2022-08-11T18:07:10.211Z] Still waiting to schedule task [2022-08-11T18:07:10.212Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-11T18:07:28.104Z] Removing intermediate container e1856688b87c [2022-08-11T18:07:28.104Z] ---> 649a12d1d4f4 [2022-08-11T18:07:28.104Z] Step 12/13 : COPY . . [2022-08-11T18:07:28.104Z] ---> 4c57017398c1 [2022-08-11T18:07:28.104Z] Step 13/13 : RUN ${MAKE} [2022-08-11T18:07:28.104Z] ---> Running in d15fae6310cb [2022-08-11T18:07:28.104Z] noop [2022-08-11T18:07:28.104Z] Removing intermediate container d15fae6310cb [2022-08-11T18:07:28.104Z] ---> 3a14ca6ed06d [2022-08-11T18:07:28.104Z] Successfully built 3a14ca6ed06d [2022-08-11T18:07:28.104Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:07:28.548Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-11T18:07:28.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T18:07:28.707Z] prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container [2022-08-11T18:07:28.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-11T18:07:29.163Z] $ docker top 19afad0306be13cd746aa1ef1bd63adc3ec651e19f4ac02b84e44e720a291a44 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T18:07:29.571Z] + go version [2022-08-11T18:07:29.571Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-11T18:07:29.606Z] $ docker stop --time=1 19afad0306be13cd746aa1ef1bd63adc3ec651e19f4ac02b84e44e720a291a44 [2022-08-11T18:07:30.888Z] $ docker rm -f 19afad0306be13cd746aa1ef1bd63adc3ec651e19f4ac02b84e44e720a291a44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:07:31.599Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-11T18:07:31.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T18:07:31.759Z] prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container [2022-08-11T18:07:31.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-11T18:07:32.220Z] $ docker top 6895a094ad38b2da0fe8abd7bd072967c3cc6e25dc5b7f9d7b9be4a54e0916dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T18:07:32.688Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-131 [Pipeline] fileExists [Pipeline] sh [2022-08-11T18:07:33.053Z] + make test [2022-08-11T18:07:33.053Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-11T18:07:33.311Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-11T18:07:43.290Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-11T18:07:43.290Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.023s coverage: 10.6% of statements [2022-08-11T18:07:43.290Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-11T18:07:46.585Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.912s coverage: 13.8% of statements [2022-08-11T18:07:53.162Z] 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-11T18:07:53.162Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-11T18:07:56.455Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-11T18:07:56.455Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-11T18:07:56.455Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-11T18:07:56.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-11T18:07:56.780Z] $ docker stop --time=1 6895a094ad38b2da0fe8abd7bd072967c3cc6e25dc5b7f9d7b9be4a54e0916dd [2022-08-11T18:07:58.545Z] $ docker rm -f 6895a094ad38b2da0fe8abd7bd072967c3cc6e25dc5b7f9d7b9be4a54e0916dd [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T18:07:59.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-11T18:07:59.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-11T18:07:59.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-11T18:08:00.126Z] + ls -al . [2022-08-11T18:08:00.126Z] total 232 [2022-08-11T18:08:00.126Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 18:07 . [2022-08-11T18:08:00.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:06 .. [2022-08-11T18:08:00.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 18:07 .git [2022-08-11T18:08:00.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 18:06 .github [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 11 18:06 .gitignore [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 11 18:06 .golangci.yml [2022-08-11T18:08:00.126Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 18:06 .semver [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 11 18:06 Attribution.txt [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 11 18:06 CHANGELOG.md [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 11 18:06 Dockerfile [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 18:06 GOVERNANCE.md [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 11 18:06 Jenkinsfile [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 18:06 LICENSE [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 11 18:06 Makefile [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 11 18:06 OWNERS.md [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 11 18:06 README.md [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 18:06 VERSION [2022-08-11T18:08:00.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 18:06 bin [2022-08-11T18:08:00.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 18:06 cmd [2022-08-11T18:08:00.126Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 11 18:07 coverage.out [2022-08-11T18:08:00.126Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 11 18:06 doc [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 11 18:06 go.mod [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 11 18:06 go.sum [2022-08-11T18:08:00.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:06 internal [2022-08-11T18:08:00.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:06 snap [2022-08-11T18:08:00.126Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 11 18:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:08:00.520Z] + 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=2f0c3ce04832e1b9546ccc49e8706331af5a5714 --label arch=amd64 --label version=0.0.0 . [2022-08-11T18:08:00.520Z] Sending build context to Docker daemon 20.61MB [2022-08-11T18:08:00.520Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T18:08:00.520Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-11T18:08:00.520Z] ---> 3a14ca6ed06d [2022-08-11T18:08:00.520Z] Step 3/26 : ARG MAKE="make build" [2022-08-11T18:08:00.781Z] ---> Running in 771c805afc6b [2022-08-11T18:08:00.781Z] Removing intermediate container 771c805afc6b [2022-08-11T18:08:00.781Z] ---> e8fad8f8427a [2022-08-11T18:08:00.781Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T18:08:00.781Z] ---> Running in fd4a7ea8de8e [2022-08-11T18:08:01.043Z] Removing intermediate container fd4a7ea8de8e [2022-08-11T18:08:01.043Z] ---> 6b82ac1e07b0 [2022-08-11T18:08:01.043Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T18:08:01.043Z] ---> Running in 4f1957d921ce [2022-08-11T18:08:01.043Z] Removing intermediate container 4f1957d921ce [2022-08-11T18:08:01.043Z] ---> 431242028c98 [2022-08-11T18:08:01.043Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-11T18:08:01.043Z] ---> Running in 40b2ddd74160 [2022-08-11T18:08:01.303Z] Removing intermediate container 40b2ddd74160 [2022-08-11T18:08:01.303Z] ---> 49cbda5835fc [2022-08-11T18:08:01.303Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T18:08:01.303Z] ---> Running in c26b13777485 [2022-08-11T18:08:01.873Z] Removing intermediate container c26b13777485 [2022-08-11T18:08:01.873Z] ---> 2387ffb61a46 [2022-08-11T18:08:01.873Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T18:08:01.873Z] ---> Running in 2027868f8dea [2022-08-11T18:08:02.134Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T18:08:03.083Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T18:08:03.344Z] OK: 211 MiB in 51 packages [2022-08-11T18:08:03.604Z] Removing intermediate container 2027868f8dea [2022-08-11T18:08:03.604Z] ---> d5f3b6a5660f [2022-08-11T18:08:03.604Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-11T18:08:03.604Z] ---> Running in ed4ac3b973fd [2022-08-11T18:08:03.864Z] Removing intermediate container ed4ac3b973fd [2022-08-11T18:08:03.864Z] ---> 6ca26cb6d7bc [2022-08-11T18:08:03.864Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-11T18:08:03.864Z] ---> 4c3bd21ab773 [2022-08-11T18:08:03.864Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T18:08:03.864Z] ---> Running in 77d77e228f67 [2022-08-11T18:08:04.805Z] Removing intermediate container 77d77e228f67 [2022-08-11T18:08:04.805Z] ---> 20d797dc4732 [2022-08-11T18:08:04.805Z] Step 12/26 : COPY . . [2022-08-11T18:08:05.376Z] ---> 5526fb02c721 [2022-08-11T18:08:05.376Z] Step 13/26 : RUN ${MAKE} [2022-08-11T18:08:05.376Z] ---> Running in 69558567f995 [2022-08-11T18:08:05.635Z] 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-11T18:08:27.587Z] Removing intermediate container 69558567f995 [2022-08-11T18:08:27.587Z] ---> c258a0f1f568 [2022-08-11T18:08:27.587Z] Step 14/26 : FROM alpine:3.16 [2022-08-11T18:08:27.587Z] 3.16: Pulling from library/alpine [2022-08-11T18:08:27.587Z] 213ec9aee27d: Pulling fs layer [2022-08-11T18:08:27.587Z] 213ec9aee27d: Verifying Checksum [2022-08-11T18:08:27.587Z] 213ec9aee27d: Download complete [2022-08-11T18:08:27.587Z] 213ec9aee27d: Pull complete [2022-08-11T18:08:27.587Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-11T18:08:27.587Z] Status: Downloaded newer image for alpine:3.16 [2022-08-11T18:08:27.587Z] ---> 9c6f07244728 [2022-08-11T18:08:27.587Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-11T18:08:27.587Z] ---> Running in 70c5588c5b5b [2022-08-11T18:08:27.587Z] Removing intermediate container 70c5588c5b5b [2022-08-11T18:08:27.587Z] ---> d5a4e1249d9b [2022-08-11T18:08:27.587Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-11T18:08:27.587Z] ---> Running in c814b35f00f0 [2022-08-11T18:08:27.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T18:08:27.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T18:08:27.587Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-11T18:08:27.587Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-11T18:08:27.587Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-11T18:08:27.587Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-11T18:08:27.587Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-11T18:08:27.587Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-11T18:08:27.587Z] Executing busybox-1.35.0-r17.trigger [2022-08-11T18:08:27.587Z] OK: 8 MiB in 20 packages [2022-08-11T18:08:27.587Z] Removing intermediate container c814b35f00f0 [2022-08-11T18:08:27.587Z] ---> 633c0f7d54ea [2022-08-11T18:08:27.587Z] Step 17/26 : WORKDIR / [2022-08-11T18:08:27.587Z] ---> Running in 9a97272e5c5f [2022-08-11T18:08:27.587Z] Removing intermediate container 9a97272e5c5f [2022-08-11T18:08:27.587Z] ---> 4994fd1f4041 [2022-08-11T18:08:27.587Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-11T18:08:27.587Z] ---> 1efe966aeb1a [2022-08-11T18:08:27.587Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-11T18:08:27.587Z] ---> 9c0c353f1c70 [2022-08-11T18:08:27.587Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-11T18:08:27.587Z] ---> b7a4b699936f [2022-08-11T18:08:27.587Z] Step 21/26 : EXPOSE 59984 [2022-08-11T18:08:27.587Z] ---> Running in af6f1fc66250 [2022-08-11T18:08:27.587Z] Removing intermediate container af6f1fc66250 [2022-08-11T18:08:27.587Z] ---> 5838264d590d [2022-08-11T18:08:27.587Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-11T18:08:27.587Z] ---> Running in a88f439acf51 [2022-08-11T18:08:27.587Z] Removing intermediate container a88f439acf51 [2022-08-11T18:08:27.587Z] ---> bb0a1fd63799 [2022-08-11T18:08:27.587Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-11T18:08:27.587Z] ---> Running in af35f9dd7ecf [2022-08-11T18:08:27.587Z] Removing intermediate container af35f9dd7ecf [2022-08-11T18:08:27.587Z] ---> 4814ad7a29fc [2022-08-11T18:08:27.587Z] Step 24/26 : LABEL arch=amd64 [2022-08-11T18:08:27.587Z] ---> Running in 2214476f5cf3 [2022-08-11T18:08:27.848Z] Removing intermediate container 2214476f5cf3 [2022-08-11T18:08:27.848Z] ---> 7e7ceec781ab [2022-08-11T18:08:27.848Z] Step 25/26 : LABEL git_sha=2f0c3ce04832e1b9546ccc49e8706331af5a5714 [2022-08-11T18:08:27.848Z] ---> Running in e2f21f3e57bc [2022-08-11T18:08:27.848Z] Removing intermediate container e2f21f3e57bc [2022-08-11T18:08:27.848Z] ---> 90d0354c7053 [2022-08-11T18:08:27.848Z] Step 26/26 : LABEL version=0.0.0 [2022-08-11T18:08:27.848Z] ---> Running in c358da5bda80 [2022-08-11T18:08:28.109Z] Removing intermediate container c358da5bda80 [2022-08-11T18:08:28.109Z] ---> 83837eb90bf5 [2022-08-11T18:08:28.109Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-11T18:08:28.109Z] Successfully built 83837eb90bf5 [2022-08-11T18:08:28.109Z] 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-11T18:08:28.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T18:08:28.956Z] [2022-08-11T18:08:28.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:08:29.330Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T18:08:29.331Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-11T18:08:29.331Z] 5eb5b503b376: Pulling fs layer [2022-08-11T18:08:29.331Z] 5c69ac0246d0: Pulling fs layer [2022-08-11T18:08:29.331Z] ec43610c2a17: Pulling fs layer [2022-08-11T18:08:29.331Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-11T18:08:29.331Z] 33b1e0a273af: Pulling fs layer [2022-08-11T18:08:29.331Z] 5d3b04190fa2: Pulling fs layer [2022-08-11T18:08:29.331Z] 2f39f015ded8: Pulling fs layer [2022-08-11T18:08:29.331Z] 3a2ae6a8a46f: Waiting [2022-08-11T18:08:29.331Z] 5d3b04190fa2: Waiting [2022-08-11T18:08:29.331Z] 33b1e0a273af: Waiting [2022-08-11T18:08:29.331Z] 5c69ac0246d0: Download complete [2022-08-11T18:08:29.331Z] 3a2ae6a8a46f: Download complete [2022-08-11T18:08:29.331Z] 33b1e0a273af: Verifying Checksum [2022-08-11T18:08:29.331Z] 33b1e0a273af: Download complete [2022-08-11T18:08:29.331Z] ec43610c2a17: Verifying Checksum [2022-08-11T18:08:29.331Z] 5d3b04190fa2: Verifying Checksum [2022-08-11T18:08:29.331Z] 5d3b04190fa2: Download complete [2022-08-11T18:08:29.331Z] ec43610c2a17: Download complete [2022-08-11T18:08:29.592Z] 5eb5b503b376: Verifying Checksum [2022-08-11T18:08:29.592Z] 5eb5b503b376: Download complete [2022-08-11T18:08:30.160Z] 2f39f015ded8: Verifying Checksum [2022-08-11T18:08:30.160Z] 2f39f015ded8: Download complete [2022-08-11T18:08:31.098Z] 5eb5b503b376: Pull complete [2022-08-11T18:08:31.098Z] 5c69ac0246d0: Pull complete [2022-08-11T18:08:31.358Z] ec43610c2a17: Pull complete [2022-08-11T18:08:31.358Z] 3a2ae6a8a46f: Pull complete [2022-08-11T18:08:31.618Z] 33b1e0a273af: Pull complete [2022-08-11T18:08:31.878Z] 5d3b04190fa2: Pull complete [2022-08-11T18:08:36.069Z] 2f39f015ded8: Pull complete [2022-08-11T18:08:36.329Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-11T18:08:36.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T18:08:36.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T18:08:36.566Z] prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container [2022-08-11T18:08:36.606Z] $ 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-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-11T18:08:38.249Z] $ docker top 2faec03400dfbbaa896c4b2a11cb750c7fc913b6973ee398af1ebf07609389bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:08:38.726Z] ---> job-cost.sh [2022-08-11T18:08:38.726Z] lf-activate-venv: SKIPPING [2022-08-11T18:08:38.726Z] INFO: No Stack... [2022-08-11T18:08:38.987Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-11T18:08:39.560Z] INFO: Archiving Costs [Pipeline] sh [2022-08-11T18:08:39.877Z] + cat /w/workspace/undry_device-onvif-camera_PR-131/archives/cost.csv [2022-08-11T18:08:39.877Z] + cut -d, -f6 [Pipeline] lock [2022-08-11T18:08:39.921Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [2022-08-11T18:08:39.926Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] did not exist. Created. [2022-08-11T18:08:39.926Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-11T18:08:40.363Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-11T18:08:40.417Z] Stashed 1 file(s) [Pipeline] } [2022-08-11T18:08:40.443Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-11T18:08:40.524Z] $ docker stop --time=1 2faec03400dfbbaa896c4b2a11cb750c7fc913b6973ee398af1ebf07609389bd [2022-08-11T18:08:41.690Z] $ docker rm -f 2faec03400dfbbaa896c4b2a11cb750c7fc913b6973ee398af1ebf07609389bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-11T18:08:48.406Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22526 in /w/workspace/undry_device-onvif-camera_PR-131 [Pipeline] { [Pipeline] ws [2022-08-11T18:08:48.451Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-11T18:08:48.520Z] Selected Git installation does not exist. Using Default [2022-08-11T18:08:48.520Z] The recommended git tool is: NONE [2022-08-11T18:08:54.525Z] using credential edgex-jenkins-ssh [2022-08-11T18:08:54.553Z] Cloning the remote Git repository [2022-08-11T18:08:54.617Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-11T18:08:54.693Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-11T18:08:54.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-11T18:08:54.762Z] > git --version # timeout=10 [2022-08-11T18:08:54.784Z] > git --version # 'git version 2.25.1' [2022-08-11T18:08:54.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T18:08:54.900Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-11T18:08:56.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-11T18:08:56.045Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-11T18:08:56.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-11T18:08:56.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-11T18:08:56.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T18:08:56.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-11T18:08:56.641Z] Merging remotes/origin/main commit 59a7980d54f1ac3c06c7b0a6ba74086551540c0b into PR head commit 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [2022-08-11T18:08:56.981Z] Merge succeeded, producing 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [2022-08-11T18:08:56.981Z] Checking out Revision 2f0c3ce04832e1b9546ccc49e8706331af5a5714 (PR-131) [2022-08-11T18:08:56.662Z] > git config core.sparsecheckout # timeout=10 [2022-08-11T18:08:56.678Z] > git checkout -f 2f0c3ce04832e1b9546ccc49e8706331af5a5714 # timeout=10 [2022-08-11T18:08:56.894Z] > git remote # timeout=10 [2022-08-11T18:08:56.911Z] > git config --get remote.origin.url # timeout=10 [2022-08-11T18:08:56.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T18:08:56.938Z] > git merge 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 [2022-08-11T18:08:56.964Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-11T18:08:56.991Z] > git config core.sparsecheckout # timeout=10 [2022-08-11T18:08:57.005Z] > git checkout -f 2f0c3ce04832e1b9546ccc49e8706331af5a5714 # timeout=10 [2022-08-11T18:09:01.345Z] Commit message: "docs: add missing param to postman call" [2022-08-11T18:09:01.400Z] > git --version # timeout=10 [2022-08-11T18:09:01.411Z] > git --version # 'git version 2.25.1' [2022-08-11T18:09:01.426Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T18:09:02.632Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-11T18:09:02.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-11T18:09:02.632Z] Dload Upload Total Spent Left Speed [2022-08-11T18:09:02.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92029 0 --:--:-- --:--:-- --:--:-- 92029 [Pipeline] sh [2022-08-11T18:09:03.423Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-11T18:09:03.792Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-11T18:09:03.792Z] + sudo tee /etc/docker/daemon.new [2022-08-11T18:09:03.792Z] { [2022-08-11T18:09:03.792Z] "registry-mirrors": [ [2022-08-11T18:09:03.792Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-11T18:09:03.792Z] ], [2022-08-11T18:09:03.792Z] "bip": "10.250.0.254/24", [2022-08-11T18:09:03.792Z] "hosts": [ [2022-08-11T18:09:03.792Z] "tcp://0.0.0.0:5555", [2022-08-11T18:09:03.792Z] "unix:///var/run/docker.sock" [2022-08-11T18:09:03.792Z] ], [2022-08-11T18:09:03.792Z] "mtu": 1458, [2022-08-11T18:09:03.792Z] "selinux-enabled": true, [2022-08-11T18:09:03.792Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-11T18:09:03.792Z] } [Pipeline] sh [2022-08-11T18:09:04.147Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-11T18:09:04.507Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T18:09:23.032Z] provisioning config files... [2022-08-11T18:09:23.057Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2636445888765412663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:09:23.452Z] ---> docker-login.sh [2022-08-11T18:09:23.452Z] nexus3.edgexfoundry.org:10001 [2022-08-11T18:09:24.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:09:24.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:09:24.320Z] Configure a credential helper to remove this warning. See [2022-08-11T18:09:24.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:09:24.320Z] [2022-08-11T18:09:24.320Z] Login Succeeded [2022-08-11T18:09:24.320Z] nexus3.edgexfoundry.org:10002 [2022-08-11T18:09:24.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:09:24.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:09:24.591Z] Configure a credential helper to remove this warning. See [2022-08-11T18:09:24.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:09:24.591Z] [2022-08-11T18:09:24.591Z] Login Succeeded [2022-08-11T18:09:24.591Z] nexus3.edgexfoundry.org:10003 [2022-08-11T18:09:25.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:09:25.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:09:25.190Z] Configure a credential helper to remove this warning. See [2022-08-11T18:09:25.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:09:25.190Z] [2022-08-11T18:09:25.190Z] Login Succeeded [2022-08-11T18:09:25.190Z] nexus3.edgexfoundry.org:10004 [2022-08-11T18:09:25.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:09:25.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:09:25.462Z] Configure a credential helper to remove this warning. See [2022-08-11T18:09:25.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:09:25.462Z] [2022-08-11T18:09:25.462Z] Login Succeeded [2022-08-11T18:09:25.462Z] docker.io [2022-08-11T18:09:26.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T18:09:26.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T18:09:26.335Z] Configure a credential helper to remove this warning. See [2022-08-11T18:09:26.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T18:09:26.335Z] [2022-08-11T18:09:26.335Z] Login Succeeded [2022-08-11T18:09:26.335Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T18:09:26.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-11T18:09:26.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T18:09:26.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T18:09:26.822Z] ========================================================= [2022-08-11T18:09:26.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-11T18:09:26.822Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:09:27.329Z] + 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-11T18:09:27.928Z] Sending build context to Docker daemon 14.07MB [2022-08-11T18:09:27.928Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T18:09:27.928Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-11T18:09:27.928Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-11T18:09:27.928Z] b3c136eddcbf: Pulling fs layer [2022-08-11T18:09:27.928Z] c0a3192eca97: Pulling fs layer [2022-08-11T18:09:27.928Z] a050256f5b6f: Pulling fs layer [2022-08-11T18:09:27.928Z] 656be50a0ddc: Pulling fs layer [2022-08-11T18:09:27.928Z] 2bbca73fdf42: Pulling fs layer [2022-08-11T18:09:27.928Z] 46d945488cbd: Pulling fs layer [2022-08-11T18:09:27.928Z] 8a5474983e97: Pulling fs layer [2022-08-11T18:09:27.928Z] 329c88fbcd65: Pulling fs layer [2022-08-11T18:09:27.928Z] 46d945488cbd: Waiting [2022-08-11T18:09:27.928Z] 8a5474983e97: Waiting [2022-08-11T18:09:27.928Z] 329c88fbcd65: Waiting [2022-08-11T18:09:27.928Z] 656be50a0ddc: Waiting [2022-08-11T18:09:27.928Z] 2bbca73fdf42: Waiting [2022-08-11T18:09:27.928Z] a050256f5b6f: Verifying Checksum [2022-08-11T18:09:27.928Z] a050256f5b6f: Download complete [2022-08-11T18:09:27.928Z] c0a3192eca97: Verifying Checksum [2022-08-11T18:09:27.928Z] c0a3192eca97: Download complete [2022-08-11T18:09:27.928Z] 2bbca73fdf42: Verifying Checksum [2022-08-11T18:09:27.928Z] 2bbca73fdf42: Download complete [2022-08-11T18:09:28.219Z] 46d945488cbd: Verifying Checksum [2022-08-11T18:09:28.220Z] 46d945488cbd: Download complete [2022-08-11T18:09:28.220Z] b3c136eddcbf: Verifying Checksum [2022-08-11T18:09:28.220Z] b3c136eddcbf: Download complete [2022-08-11T18:09:29.214Z] b3c136eddcbf: Pull complete [2022-08-11T18:09:29.215Z] 329c88fbcd65: Verifying Checksum [2022-08-11T18:09:29.215Z] 329c88fbcd65: Download complete [2022-08-11T18:09:29.498Z] c0a3192eca97: Pull complete [2022-08-11T18:09:29.775Z] a050256f5b6f: Pull complete [2022-08-11T18:09:30.379Z] 8a5474983e97: Verifying Checksum [2022-08-11T18:09:30.379Z] 8a5474983e97: Download complete [2022-08-11T18:09:30.976Z] 656be50a0ddc: Verifying Checksum [2022-08-11T18:09:30.976Z] 656be50a0ddc: Download complete [2022-08-11T18:09:46.086Z] 656be50a0ddc: Pull complete [2022-08-11T18:09:46.086Z] 2bbca73fdf42: Pull complete [2022-08-11T18:09:46.086Z] 46d945488cbd: Pull complete [2022-08-11T18:09:50.406Z] 8a5474983e97: Pull complete [2022-08-11T18:09:52.387Z] 329c88fbcd65: Pull complete [2022-08-11T18:09:52.388Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-11T18:09:52.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-11T18:09:52.388Z] ---> ff4287adb874 [2022-08-11T18:09:52.388Z] Step 3/13 : ARG MAKE="make build" [2022-08-11T18:09:53.837Z] ---> Running in 9bcc91b76108 [2022-08-11T18:09:54.447Z] Removing intermediate container 9bcc91b76108 [2022-08-11T18:09:54.447Z] ---> 0eb73f450ae4 [2022-08-11T18:09:54.447Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T18:09:54.447Z] ---> Running in d660d1b89a86 [2022-08-11T18:09:54.721Z] Removing intermediate container d660d1b89a86 [2022-08-11T18:09:54.721Z] ---> 2b212a765091 [2022-08-11T18:09:54.721Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T18:09:54.721Z] ---> Running in 92be5a0de66f [2022-08-11T18:09:56.707Z] Removing intermediate container 92be5a0de66f [2022-08-11T18:09:56.707Z] ---> 600f5891fc91 [2022-08-11T18:09:56.707Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-11T18:09:56.707Z] ---> Running in 231192acf660 [2022-08-11T18:09:56.707Z] Removing intermediate container 231192acf660 [2022-08-11T18:09:56.707Z] ---> ada148ade782 [2022-08-11T18:09:56.707Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T18:09:56.707Z] ---> Running in 6d2a25d5d671 [2022-08-11T18:09:58.712Z] Removing intermediate container 6d2a25d5d671 [2022-08-11T18:09:58.713Z] ---> 19010c763dd1 [2022-08-11T18:09:58.713Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T18:09:58.713Z] ---> Running in d33e12a5b85d [2022-08-11T18:09:59.702Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T18:10:00.299Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T18:10:01.281Z] OK: 221 MiB in 51 packages [2022-08-11T18:10:02.273Z] Removing intermediate container d33e12a5b85d [2022-08-11T18:10:02.273Z] ---> 807c9ce9ac3c [2022-08-11T18:10:02.273Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-11T18:10:02.273Z] ---> Running in 83faaac49519 [2022-08-11T18:10:02.549Z] Removing intermediate container 83faaac49519 [2022-08-11T18:10:02.549Z] ---> 1ded5cbf7baa [2022-08-11T18:10:02.549Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-11T18:10:03.161Z] ---> c25e6f67b480 [2022-08-11T18:10:03.161Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T18:10:03.161Z] ---> Running in 4ecd5d4787b4 [2022-08-11T18:10:59.721Z] Removing intermediate container 4ecd5d4787b4 [2022-08-11T18:10:59.721Z] ---> 72958b134092 [2022-08-11T18:10:59.721Z] Step 12/13 : COPY . . [2022-08-11T18:10:59.721Z] ---> c02189b659cb [2022-08-11T18:10:59.721Z] Step 13/13 : RUN ${MAKE} [2022-08-11T18:10:59.721Z] ---> Running in 74afae620723 [2022-08-11T18:10:59.721Z] noop [2022-08-11T18:10:59.721Z] Removing intermediate container 74afae620723 [2022-08-11T18:10:59.721Z] ---> 871e02caf530 [2022-08-11T18:10:59.721Z] Successfully built 871e02caf530 [2022-08-11T18:10:59.721Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:11:00.196Z] + docker inspect -f . ci-base-image-arm64 [2022-08-11T18:11:00.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T18:11:00.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-22526 does not seem to be running inside a container [2022-08-11T18:11:00.602Z] $ 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-11T18:11:01.834Z] $ docker top 73b7f0d00a39759b76598f8fac497841a4cc3677bb7ed77e69a059444b147f6e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T18:11:02.772Z] + go version [2022-08-11T18:11:02.772Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-11T18:11:02.808Z] $ docker stop --time=1 73b7f0d00a39759b76598f8fac497841a4cc3677bb7ed77e69a059444b147f6e [2022-08-11T18:11:04.394Z] $ docker rm -f 73b7f0d00a39759b76598f8fac497841a4cc3677bb7ed77e69a059444b147f6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:11:05.294Z] + docker inspect -f . ci-base-image-arm64 [2022-08-11T18:11:05.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T18:11:05.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-22526 does not seem to be running inside a container [2022-08-11T18:11:05.672Z] $ 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-11T18:11:06.852Z] $ docker top cb3c1db62aa3abefa6d6548461de3606ac961cc3bd92567aa7509c07a04fdc49 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T18:11:07.799Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-11T18:11:08.523Z] + make test [2022-08-11T18:11:08.523Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-11T18:11:09.975Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-11T18:12:31.806Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-11T18:12:38.552Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.121s coverage: 10.6% of statements [2022-08-11T18:12:38.552Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-11T18:13:00.725Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.157s coverage: 13.8% of statements [2022-08-11T18:13:00.725Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-11T18:13:00.725Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-11T18:13:22.925Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-11T18:13:22.925Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-11T18:13:22.925Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-11T18:13:22.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-11T18:13:23.003Z] $ docker stop --time=1 cb3c1db62aa3abefa6d6548461de3606ac961cc3bd92567aa7509c07a04fdc49 [2022-08-11T18:13:24.752Z] $ docker rm -f cb3c1db62aa3abefa6d6548461de3606ac961cc3bd92567aa7509c07a04fdc49 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T18:13:25.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-11T18:13:25.836Z] Warning: overwriting stash ‘coverage-report’ [2022-08-11T18:13:26.372Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T18:13:26.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-11T18:13:27.298Z] + ls -al . [2022-08-11T18:13:27.298Z] total 228 [2022-08-11T18:13:27.298Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 18:11 . [2022-08-11T18:13:27.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:08 .. [2022-08-11T18:13:27.298Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 18:09 .git [2022-08-11T18:13:27.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 18:08 .github [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 11 18:08 .gitignore [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 11 18:08 .golangci.yml [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 11 18:08 Attribution.txt [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 11 18:08 CHANGELOG.md [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 11 18:08 Dockerfile [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 18:08 GOVERNANCE.md [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 11 18:08 Jenkinsfile [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 18:08 LICENSE [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 11 18:08 Makefile [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 11 18:08 OWNERS.md [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 11 18:08 README.md [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 18:06 VERSION [2022-08-11T18:13:27.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 18:08 bin [2022-08-11T18:13:27.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 18:08 cmd [2022-08-11T18:13:27.298Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 11 18:12 coverage.out [2022-08-11T18:13:27.298Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 11 18:08 doc [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 11 18:08 go.mod [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 11 18:08 go.sum [2022-08-11T18:13:27.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:08 internal [2022-08-11T18:13:27.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:08 snap [2022-08-11T18:13:27.298Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 11 18:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:13:27.716Z] + 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=2f0c3ce04832e1b9546ccc49e8706331af5a5714 --label arch=arm64 --label version=0.0.0 . [2022-08-11T18:13:28.314Z] Sending build context to Docker daemon 14.15MB [2022-08-11T18:13:28.314Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T18:13:28.314Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-11T18:13:28.314Z] ---> 871e02caf530 [2022-08-11T18:13:28.314Z] Step 3/26 : ARG MAKE="make build" [2022-08-11T18:13:28.314Z] ---> Running in 43d73071e5f7 [2022-08-11T18:13:28.598Z] Removing intermediate container 43d73071e5f7 [2022-08-11T18:13:28.598Z] ---> ee4a5333ba4e [2022-08-11T18:13:28.598Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T18:13:28.877Z] ---> Running in 8dfa76612c10 [2022-08-11T18:13:29.152Z] Removing intermediate container 8dfa76612c10 [2022-08-11T18:13:29.152Z] ---> 81e1d12359a1 [2022-08-11T18:13:29.152Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T18:13:29.152Z] ---> Running in 58e524791c70 [2022-08-11T18:13:29.427Z] Removing intermediate container 58e524791c70 [2022-08-11T18:13:29.427Z] ---> 596bc0365991 [2022-08-11T18:13:29.427Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-11T18:13:29.427Z] ---> Running in e91f51442a59 [2022-08-11T18:13:29.712Z] Removing intermediate container e91f51442a59 [2022-08-11T18:13:29.712Z] ---> 293d0445c7cc [2022-08-11T18:13:29.712Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T18:13:29.988Z] ---> Running in b147c6e1bf87 [2022-08-11T18:13:31.443Z] Removing intermediate container b147c6e1bf87 [2022-08-11T18:13:31.443Z] ---> fa558d45c51f [2022-08-11T18:13:31.443Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T18:13:31.740Z] ---> Running in 5c3e28e2d6f9 [2022-08-11T18:13:32.722Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T18:13:33.702Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T18:13:34.301Z] OK: 221 MiB in 51 packages [2022-08-11T18:13:35.288Z] Removing intermediate container 5c3e28e2d6f9 [2022-08-11T18:13:35.288Z] ---> dde84b041ba8 [2022-08-11T18:13:35.288Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-11T18:13:35.288Z] ---> Running in 24fb4bfde907 [2022-08-11T18:13:35.565Z] Removing intermediate container 24fb4bfde907 [2022-08-11T18:13:35.565Z] ---> 84b8e1c52401 [2022-08-11T18:13:35.565Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-11T18:13:36.172Z] ---> a0fbb944cdf1 [2022-08-11T18:13:36.172Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T18:13:36.172Z] ---> Running in 3a5f1bf0d5cd [2022-08-11T18:13:38.154Z] Removing intermediate container 3a5f1bf0d5cd [2022-08-11T18:13:38.154Z] ---> fd6051b1e4eb [2022-08-11T18:13:38.154Z] Step 12/26 : COPY . . [2022-08-11T18:13:39.593Z] ---> 009e73eb0708 [2022-08-11T18:13:39.593Z] Step 13/26 : RUN ${MAKE} [2022-08-11T18:13:39.593Z] ---> Running in b18ed7b3e979 [2022-08-11T18:13:40.582Z] 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-11T18:15:47.496Z] Removing intermediate container b18ed7b3e979 [2022-08-11T18:15:47.496Z] ---> c4b8f5ac304b [2022-08-11T18:15:47.496Z] Step 14/26 : FROM alpine:3.16 [2022-08-11T18:15:47.496Z] 3.16: Pulling from library/alpine [2022-08-11T18:15:47.496Z] 9b18e9b68314: Pulling fs layer [2022-08-11T18:15:47.496Z] 9b18e9b68314: Download complete [2022-08-11T18:15:48.094Z] 9b18e9b68314: Pull complete [2022-08-11T18:15:48.094Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-11T18:15:48.094Z] Status: Downloaded newer image for alpine:3.16 [2022-08-11T18:15:48.094Z] ---> a6215f271958 [2022-08-11T18:15:48.094Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-11T18:15:48.374Z] ---> Running in b247a1dab453 [2022-08-11T18:15:48.648Z] Removing intermediate container b247a1dab453 [2022-08-11T18:15:48.648Z] ---> 25b52ad7a47e [2022-08-11T18:15:48.648Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-11T18:15:48.648Z] ---> Running in 5fbe7b3a9531 [2022-08-11T18:15:49.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T18:15:49.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T18:15:50.883Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-11T18:15:50.883Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-11T18:15:50.883Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-11T18:15:50.883Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-11T18:15:50.883Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-11T18:15:50.883Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-11T18:15:50.883Z] Executing busybox-1.35.0-r17.trigger [2022-08-11T18:15:50.883Z] OK: 8 MiB in 20 packages [2022-08-11T18:15:51.866Z] Removing intermediate container 5fbe7b3a9531 [2022-08-11T18:15:51.866Z] ---> c9c8757257c0 [2022-08-11T18:15:51.866Z] Step 17/26 : WORKDIR / [2022-08-11T18:15:51.866Z] ---> Running in 154ae083c197 [2022-08-11T18:15:52.144Z] Removing intermediate container 154ae083c197 [2022-08-11T18:15:52.144Z] ---> 94acccd6ba95 [2022-08-11T18:15:52.144Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-11T18:15:53.583Z] ---> faf9c3606ba6 [2022-08-11T18:15:53.583Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-11T18:15:54.181Z] ---> eeffee0f2af8 [2022-08-11T18:15:54.181Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-11T18:15:54.780Z] ---> 856b8a4c1d12 [2022-08-11T18:15:54.780Z] Step 21/26 : EXPOSE 59984 [2022-08-11T18:15:54.780Z] ---> Running in 184d413b839d [2022-08-11T18:15:55.054Z] Removing intermediate container 184d413b839d [2022-08-11T18:15:55.054Z] ---> 0c177468d226 [2022-08-11T18:15:55.054Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-11T18:15:55.054Z] ---> Running in 14434e51f25a [2022-08-11T18:15:55.336Z] Removing intermediate container 14434e51f25a [2022-08-11T18:15:55.337Z] ---> da17ee3bd8d6 [2022-08-11T18:15:55.337Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-11T18:15:55.337Z] ---> Running in ac32c788c4c6 [2022-08-11T18:15:55.621Z] Removing intermediate container ac32c788c4c6 [2022-08-11T18:15:55.621Z] ---> b76f27cf9ca9 [2022-08-11T18:15:55.621Z] Step 24/26 : LABEL arch=arm64 [2022-08-11T18:15:55.896Z] ---> Running in 018f344d4e63 [2022-08-11T18:15:56.169Z] Removing intermediate container 018f344d4e63 [2022-08-11T18:15:56.169Z] ---> dae78d496912 [2022-08-11T18:15:56.169Z] Step 25/26 : LABEL git_sha=2f0c3ce04832e1b9546ccc49e8706331af5a5714 [2022-08-11T18:15:56.169Z] ---> Running in 0d9ac3936aee [2022-08-11T18:15:56.442Z] Removing intermediate container 0d9ac3936aee [2022-08-11T18:15:56.442Z] ---> d4cc5d2d0246 [2022-08-11T18:15:56.442Z] Step 26/26 : LABEL version=0.0.0 [2022-08-11T18:15:56.442Z] ---> Running in 5bda3fe36f4b [2022-08-11T18:15:56.717Z] Removing intermediate container 5bda3fe36f4b [2022-08-11T18:15:56.718Z] ---> 5ea7a3770d88 [2022-08-11T18:15:56.718Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-11T18:15:56.990Z] Successfully built 5ea7a3770d88 [2022-08-11T18:15:56.990Z] 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-11T18:15:57.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T18:15:57.790Z] [2022-08-11T18:15:57.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:15:58.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T18:15:58.310Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-11T18:15:58.310Z] 8998bd30e6a1: Pulling fs layer [2022-08-11T18:15:58.310Z] 04944245beec: Pulling fs layer [2022-08-11T18:15:58.310Z] 699f458cf7ca: Pulling fs layer [2022-08-11T18:15:58.310Z] 765212b225bb: Pulling fs layer [2022-08-11T18:15:58.310Z] f23df028b6ca: Pulling fs layer [2022-08-11T18:15:58.310Z] d65c8cfc05b1: Pulling fs layer [2022-08-11T18:15:58.310Z] 2437ff75d9bd: Pulling fs layer [2022-08-11T18:15:58.310Z] 765212b225bb: Waiting [2022-08-11T18:15:58.310Z] f23df028b6ca: Waiting [2022-08-11T18:15:58.310Z] d65c8cfc05b1: Waiting [2022-08-11T18:15:58.310Z] 2437ff75d9bd: Waiting [2022-08-11T18:15:58.587Z] 04944245beec: Verifying Checksum [2022-08-11T18:15:58.588Z] 04944245beec: Download complete [2022-08-11T18:15:58.588Z] 765212b225bb: Verifying Checksum [2022-08-11T18:15:58.588Z] 765212b225bb: Download complete [2022-08-11T18:15:58.588Z] f23df028b6ca: Verifying Checksum [2022-08-11T18:15:58.588Z] f23df028b6ca: Download complete [2022-08-11T18:15:58.588Z] d65c8cfc05b1: Verifying Checksum [2022-08-11T18:15:58.588Z] d65c8cfc05b1: Download complete [2022-08-11T18:15:58.866Z] 699f458cf7ca: Verifying Checksum [2022-08-11T18:15:58.866Z] 699f458cf7ca: Download complete [2022-08-11T18:15:59.143Z] 8998bd30e6a1: Verifying Checksum [2022-08-11T18:15:59.143Z] 8998bd30e6a1: Download complete [2022-08-11T18:16:01.769Z] 2437ff75d9bd: Verifying Checksum [2022-08-11T18:16:01.769Z] 2437ff75d9bd: Download complete [2022-08-11T18:16:03.216Z] 8998bd30e6a1: Pull complete [2022-08-11T18:16:03.814Z] 04944245beec: Pull complete [2022-08-11T18:16:05.265Z] 699f458cf7ca: Pull complete [2022-08-11T18:16:05.539Z] 765212b225bb: Pull complete [2022-08-11T18:16:06.528Z] f23df028b6ca: Pull complete [2022-08-11T18:16:06.802Z] d65c8cfc05b1: Pull complete [2022-08-11T18:16:21.906Z] 2437ff75d9bd: Pull complete [2022-08-11T18:16:21.906Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-11T18:16:21.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T18:16:21.906Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T18:16:22.337Z] prd-ubuntu20.04-docker-arm64-4c-16g-22526 does not seem to be running inside a container [2022-08-11T18:16:22.430Z] $ 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-11T18:16:25.309Z] $ docker top d1d58d4e0f2afcc7530851467fb6f32d2eeb73ff41260ef60f3b398d931e5495 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:16:26.307Z] ---> job-cost.sh [2022-08-11T18:16:26.307Z] lf-activate-venv: SKIPPING [2022-08-11T18:16:26.307Z] INFO: No Stack... [2022-08-11T18:16:26.581Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-11T18:16:27.556Z] INFO: Archiving Costs [Pipeline] sh [2022-08-11T18:16:28.244Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-08-11T18:16:28.244Z] + cut -d, -f6 [Pipeline] lock [2022-08-11T18:16:28.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [2022-08-11T18:16:28.331Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] did not exist. Created. [2022-08-11T18:16:28.331Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-11T18:16:29.077Z] /w/workspace/device-onvif-camera/1@tmp/durable-dcc72998/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-11T18:16:29.775Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-11T18:16:29.812Z] Warning: overwriting stash ‘stack-cost’ [2022-08-11T18:16:29.871Z] Stashed 1 file(s) [Pipeline] } [2022-08-11T18:16:29.887Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-11T18:16:29.965Z] $ docker stop --time=1 d1d58d4e0f2afcc7530851467fb6f32d2eeb73ff41260ef60f3b398d931e5495 [2022-08-11T18:16:31.478Z] $ docker rm -f d1d58d4e0f2afcc7530851467fb6f32d2eeb73ff41260ef60f3b398d931e5495 [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-11T18:16:32.501Z] provisioning config files... [2022-08-11T18:16:32.511Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-131@tmp/config5986783014918211730tmp [Pipeline] { [Pipeline] sh [2022-08-11T18:16:32.845Z] + set +x [2022-08-11T18:16:32.845Z] + + bash -s -- [2022-08-11T18:16:32.845Z] curl -s https://codecov.io/bash [2022-08-11T18:16:32.845Z] [2022-08-11T18:16:32.845Z] _____ _ [2022-08-11T18:16:32.845Z] / ____| | | [2022-08-11T18:16:32.845Z] | | ___ __| | ___ ___ _____ __ [2022-08-11T18:16:32.845Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-11T18:16:32.845Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-11T18:16:32.845Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-11T18:16:32.845Z] Bash-1.0.6 [2022-08-11T18:16:32.845Z] [2022-08-11T18:16:32.845Z] [2022-08-11T18:16:32.845Z] ==> git version 2.25.1 found [2022-08-11T18:16:32.845Z] ==> 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-11T18:16:32.845Z] Release-Date: 2020-01-08 [2022-08-11T18:16:32.845Z] 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-11T18:16:32.845Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-11T18:16:32.845Z] ==> Jenkins CI detected. [2022-08-11T18:16:32.845Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-131 [2022-08-11T18:16:32.845Z] project root: . [2022-08-11T18:16:32.845Z] --> token set from env [2022-08-11T18:16:32.845Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-11T18:16:32.845Z] ==> Running gcov in . (disable via -X gcov) [2022-08-11T18:16:32.845Z] ==> Python coveragepy not found [2022-08-11T18:16:32.845Z] ==> Searching for coverage reports in: [2022-08-11T18:16:32.845Z] + . [2022-08-11T18:16:32.845Z] -> Found 1 reports [2022-08-11T18:16:32.845Z] ==> Detecting git/mercurial file structure [2022-08-11T18:16:33.106Z] ==> Reading reports [2022-08-11T18:16:33.106Z] + ./coverage.out bytes=76856 [2022-08-11T18:16:33.106Z] ==> Appending adjustments [2022-08-11T18:16:33.106Z] https://docs.codecov.io/docs/fixing-reports [2022-08-11T18:16:33.106Z] + Found adjustments [2022-08-11T18:16:33.106Z] ==> Gzipping contents [2022-08-11T18:16:33.106Z] 12K /tmp/codecov.WCtYxj.gz [2022-08-11T18:16:33.106Z] ==> Uploading reports [2022-08-11T18:16:33.106Z] url: https://codecov.io [2022-08-11T18:16:33.106Z] query: branch=PR-131&commit=2f0c3ce04832e1b9546ccc49e8706331af5a5714&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=131&job=&cmd_args= [2022-08-11T18:16:33.106Z] -> Pinging Codecov [2022-08-11T18:16:33.106Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-131&commit=2f0c3ce04832e1b9546ccc49e8706331af5a5714&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=131&job=&cmd_args= [2022-08-11T18:16:33.679Z] -> Uploading to [2022-08-11T18:16:33.679Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-11/F29A59C45E3A92E06B3E522C9905F8EF/2f0c3ce04832e1b9546ccc49e8706331af5a5714/2932491e-9ac4-4073-8ce6-34be5eef0cbe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220811T181633Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f02dbe8eebb5da89047527abd672f5d2382fcbf7c048ec0e90a94f01a454326 [2022-08-11T18:16:33.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-11T18:16:33.679Z] Dload Upload Total Spent Left Speed [2022-08-11T18:16:33.679Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10359 0 0 100 10359 0 41270 --:--:-- --:--:-- --:--:-- 41436 [2022-08-11T18:16:33.679Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] } [2022-08-11T18:16:33.706Z] 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-11T18:16:35.467Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-131/archives ] [2022-08-11T18:16:35.468Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-131/archives [2022-08-11T18:16:35.468Z] total 16 [2022-08-11T18:16:35.468Z] drwxr-xr-x 3 root root 4096 Aug 11 18:08 . [2022-08-11T18:16:35.468Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 18:08 .. [2022-08-11T18:16:35.468Z] drwxr-xr-x 2 root root 4096 Aug 11 18:08 cost [2022-08-11T18:16:35.468Z] -rw-r--r-- 1 root root 91 Aug 11 18:08 cost.csv [2022-08-11T18:16:35.468Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-131/archives [2022-08-11T18:16:35.468Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-131/archives [2022-08-11T18:16:35.468Z] total 16 [2022-08-11T18:16:35.468Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 18:08 . [2022-08-11T18:16:35.468Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 18:08 .. [2022-08-11T18:16:35.468Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 18:08 cost [2022-08-11T18:16:35.468Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 11 18:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:16:35.795Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:16:36.694Z] ---> package-listing.sh [2022-08-11T18:16:36.694Z] ++ facter osfamily [2022-08-11T18:16:36.694Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-11T18:16:36.955Z] + OS_FAMILY=debian [2022-08-11T18:16:36.955Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-131 [2022-08-11T18:16:36.955Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-11T18:16:36.955Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-11T18:16:36.955Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-11T18:16:36.955Z] + PACKAGES=/tmp/packages_start.txt [2022-08-11T18:16:36.955Z] + '[' /w/workspace/undry_device-onvif-camera_PR-131 ']' [2022-08-11T18:16:36.955Z] + PACKAGES=/tmp/packages_end.txt [2022-08-11T18:16:36.955Z] + case "${OS_FAMILY}" in [2022-08-11T18:16:36.955Z] + dpkg -l [2022-08-11T18:16:36.955Z] + grep '^ii' [2022-08-11T18:16:36.955Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-11T18:16:36.955Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-11T18:16:36.955Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-11T18:16:36.955Z] + '[' /w/workspace/undry_device-onvif-camera_PR-131 ']' [2022-08-11T18:16:36.955Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-131/archives/ [2022-08-11T18:16:36.955Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-131/archives/ [Pipeline] echo [2022-08-11T18:16:36.993Z] 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-131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-11T18:16:37.289Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T18:16:37.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T18:16:37.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T18:16:38.090Z] prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container [2022-08-11T18:16:38.124Z] $ 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-131/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-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@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-11T18:16:38.342Z] $ docker top 6b460fc9ff8c34258bbddf89ea6b9732ca3f939baa3a1c905ef056eafadb8869 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T18:16:38.753Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-11T18:16:39.069Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-11T18:16:39.384Z] + ls /var/log/sa-host [2022-08-11T18:16:39.384Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T18:16:39.590Z] provisioning config files... [2022-08-11T18:16:39.601Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-131@tmp/config2044655911845168983tmp [Pipeline] { [Pipeline] echo [2022-08-11T18:16:39.644Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:16:39.962Z] ---> create-netrc.sh [Pipeline] } [2022-08-11T18:16:39.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:16:40.406Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-11T18:16:40.439Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:16:40.752Z] ---> sudo-logs.sh [2022-08-11T18:16:40.752Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-11T18:16:40.838Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:16:41.154Z] ---> job-cost.sh [2022-08-11T18:16:41.154Z] lf-activate-venv: SKIPPING [2022-08-11T18:16:41.154Z] DEBUG: total: 0.2199999988079071 [2022-08-11T18:16:41.154Z] INFO: Retrieving Stack Cost... [2022-08-11T18:16:41.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-11T18:16:41.986Z] INFO: Archiving Costs [Pipeline] echo [2022-08-11T18:16:42.020Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T18:16:42.334Z] ---> logs-deploy.sh [2022-08-11T18:16:42.334Z] lf-activate-venv: SKIPPING [2022-08-11T18:16:42.334Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-131/1 [2022-08-11T18:16:42.334Z] INFO: archiving workspace using pattern(s): [2022-08-11T18:16:43.274Z] Archives upload complete. [2022-08-11T18:16:43.274Z] INFO: archiving logs to Nexus