Pull request #155 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1+8a3386b2ee541d18e88ea65fa18280a00a2df7ca (544d83bfb7e239ef8afdca68f256a8dd9e645443) 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-ssh12456672481199955610.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7553568897402804005.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-155/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-155/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3653736416927522887.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-155/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4077681322746423272.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9403647010309426206.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-155/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-155/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1993768722314382518.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 ‘prd-ubuntu20.04-docker-8c-8g-24676’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24678 in /w/workspace/undry_device-onvif-camera_PR-155 [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-155 # 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 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 Merge succeeded, producing 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 Checking out Revision 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 (PR-155) > 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/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 # 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 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-06T19:01:29.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-06T19:01:29.644Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-06T19:01:29.752Z] ========================================================= [2022-09-06T19:01:29.752Z] EdgeX Global Pipelines Version Info [2022-09-06T19:01:29.752Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:01:30.551Z] ------------------- [2022-09-06T19:01:30.551Z] stable info: [2022-09-06T19:01:30.551Z] ------------------- [2022-09-06T19:01:30.551Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-06T19:01:30.551Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-06T19:01:30.551Z] Message: update stable to v1.0.239 [2022-09-06T19:01:31.127Z] ------------------- [2022-09-06T19:01:31.127Z] experimental info: [2022-09-06T19:01:31.127Z] ------------------- [2022-09-06T19:01:31.127Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-06T19:01:31.127Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-06T19:01:31.127Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-06T19:01:31.492Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-06T19:01:31.529Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-06T19:01:31.571Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-06T19:01:31.613Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-06T19:01:31.657Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-06T19:01:31.697Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-06T19:01:31.741Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-06T19:01:31.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-06T19:01:31.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-06T19:01:31.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-06T19:01:31.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-06T19:01:31.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-06T19:01:32.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-06T19:01:32.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-06T19:01:32.098Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-06T19:01:32.140Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-06T19:01:32.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-06T19:01:32.221Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-06T19:01:32.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-06T19:01:32.303Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-06T19:01:32.337Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-06T19:01:32.375Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-06T19:01:32.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-06T19:01:32.461Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-06T19:01:32.507Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-06T19:01:32.554Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-06T19:01:32.602Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-06T19:01:32.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-155 [Pipeline] echo [2022-09-06T19:01:32.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-155 [Pipeline] echo [2022-09-06T19:01:32.737Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-155 [Pipeline] echo [2022-09-06T19:01:32.784Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [Pipeline] echo [2022-09-06T19:01:32.833Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 144ea4e [Pipeline] echo [2022-09-06T19:01:32.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T19:01:33.001Z] provisioning config files... [2022-09-06T19:01:33.014Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-155@tmp/config3079085246437508286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:01:33.382Z] ---> docker-login.sh [2022-09-06T19:01:33.382Z] nexus3.edgexfoundry.org:10001 [2022-09-06T19:01:33.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:33.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:33.644Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:33.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:33.644Z] [2022-09-06T19:01:33.644Z] Login Succeeded [2022-09-06T19:01:33.644Z] nexus3.edgexfoundry.org:10002 [2022-09-06T19:01:33.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:33.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:33.907Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:33.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:33.907Z] [2022-09-06T19:01:33.907Z] Login Succeeded [2022-09-06T19:01:33.907Z] nexus3.edgexfoundry.org:10003 [2022-09-06T19:01:33.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:33.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:33.907Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:33.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:33.907Z] [2022-09-06T19:01:33.907Z] Login Succeeded [2022-09-06T19:01:33.907Z] nexus3.edgexfoundry.org:10004 [2022-09-06T19:01:33.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:34.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:34.170Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:34.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:34.170Z] [2022-09-06T19:01:34.170Z] Login Succeeded [2022-09-06T19:01:34.170Z] docker.io [2022-09-06T19:01:34.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:34.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:34.434Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:34.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:34.434Z] [2022-09-06T19:01:34.434Z] Login Succeeded [2022-09-06T19:01:34.434Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T19:01:34.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-06T19:01:35.143Z] + git rev-list -1 --merges 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1~1..144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [Pipeline] echo [2022-09-06T19:01:35.191Z] -----------> git rev-list -1 --merges 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1~1..144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [false] [Pipeline] sh [2022-09-06T19:01:35.509Z] + git log --format=format:%s -1 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [Pipeline] echo [2022-09-06T19:01:35.544Z] ========================================================= [2022-09-06T19:01:35.544Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-06T19:01:35.544Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T19:01:35.986Z] + git log --format=format:%s -1 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [Pipeline] echo [2022-09-06T19:01:36.020Z] [semverPrep] GIT_COMMIT: 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-09-06T19:01:36.060Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-06T19:01:36.446Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-06T19:01:36.446Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-06T19:01:36.446Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-06T19:01:36.446Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-06T19:01:36.446Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-06T19:01:36.446Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-06T19:01:36.446Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:01:36.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T19:01:36.870Z] [2022-09-06T19:01:36.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:01:37.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T19:01:37.268Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-06T19:01:37.268Z] b85a868b505f: Pulling fs layer [2022-09-06T19:01:37.268Z] e2be974225ed: Pulling fs layer [2022-09-06T19:01:37.268Z] 339a4e72a1f5: Pulling fs layer [2022-09-06T19:01:37.268Z] 988bab9f4d93: Pulling fs layer [2022-09-06T19:01:37.268Z] 1469e6f7b9e6: Pulling fs layer [2022-09-06T19:01:37.268Z] 988bab9f4d93: Waiting [2022-09-06T19:01:37.268Z] eaf3925da568: Pulling fs layer [2022-09-06T19:01:37.268Z] bab4dde63d76: Pulling fs layer [2022-09-06T19:01:37.268Z] 1469e6f7b9e6: Waiting [2022-09-06T19:01:37.268Z] eaf3925da568: Waiting [2022-09-06T19:01:37.268Z] bde34c3a00c8: Pulling fs layer [2022-09-06T19:01:37.268Z] b352a97aabf1: Pulling fs layer [2022-09-06T19:01:37.268Z] bde34c3a00c8: Waiting [2022-09-06T19:01:37.268Z] 4872d77fe225: Pulling fs layer [2022-09-06T19:01:37.268Z] 5851b861e8e6: Pulling fs layer [2022-09-06T19:01:37.268Z] b352a97aabf1: Waiting [2022-09-06T19:01:37.268Z] 4872d77fe225: Waiting [2022-09-06T19:01:37.268Z] e2be974225ed: Verifying Checksum [2022-09-06T19:01:37.268Z] e2be974225ed: Download complete [2022-09-06T19:01:37.268Z] 988bab9f4d93: Download complete [2022-09-06T19:01:37.529Z] 1469e6f7b9e6: Verifying Checksum [2022-09-06T19:01:37.529Z] 1469e6f7b9e6: Download complete [2022-09-06T19:01:37.529Z] eaf3925da568: Verifying Checksum [2022-09-06T19:01:37.529Z] eaf3925da568: Download complete [2022-09-06T19:01:37.529Z] 339a4e72a1f5: Verifying Checksum [2022-09-06T19:01:37.529Z] 339a4e72a1f5: Download complete [2022-09-06T19:01:37.529Z] bde34c3a00c8: Download complete [2022-09-06T19:01:37.529Z] b352a97aabf1: Verifying Checksum [2022-09-06T19:01:37.529Z] 4872d77fe225: Verifying Checksum [2022-09-06T19:01:37.529Z] 4872d77fe225: Download complete [2022-09-06T19:01:37.529Z] 5851b861e8e6: Verifying Checksum [2022-09-06T19:01:37.529Z] 5851b861e8e6: Download complete [2022-09-06T19:01:37.529Z] b85a868b505f: Verifying Checksum [2022-09-06T19:01:37.529Z] b85a868b505f: Download complete [2022-09-06T19:01:37.788Z] bab4dde63d76: Verifying Checksum [2022-09-06T19:01:37.788Z] bab4dde63d76: Download complete [2022-09-06T19:01:38.728Z] b85a868b505f: Pull complete [2022-09-06T19:01:38.728Z] e2be974225ed: Pull complete [2022-09-06T19:01:39.300Z] 339a4e72a1f5: Pull complete [2022-09-06T19:01:39.300Z] 988bab9f4d93: Pull complete [2022-09-06T19:01:39.562Z] 1469e6f7b9e6: Pull complete [2022-09-06T19:01:39.562Z] eaf3925da568: Pull complete [2022-09-06T19:01:41.478Z] bab4dde63d76: Pull complete [2022-09-06T19:01:41.478Z] bde34c3a00c8: Pull complete [2022-09-06T19:01:41.478Z] b352a97aabf1: Pull complete [2022-09-06T19:01:41.478Z] 4872d77fe225: Pull complete [2022-09-06T19:01:41.478Z] 5851b861e8e6: Pull complete [2022-09-06T19:01:41.478Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-06T19:01:41.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T19:01:41.478Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T19:01:41.982Z] prd-ubuntu20.04-docker-8c-8g-24678 does not seem to be running inside a container [2022-09-06T19:01:42.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-06T19:01:44.586Z] $ docker top 1f7dfd949ee511170c2af1135b02eaf25680f0214bfe654aa5d176284b5638f8 -eo pid,comm [2022-09-06T19:01:44.662Z] 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-09-06T19:01:44.662Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-06T19:01:44.808Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T19:01:44.808Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T19:01:44.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T19:01:44.951Z] $ docker exec 1f7dfd949ee511170c2af1135b02eaf25680f0214bfe654aa5d176284b5638f8 ssh-agent [2022-09-06T19:01:45.071Z] SSH_AUTH_SOCK=/tmp/ssh-R29N92mRCLdX/agent.33 [2022-09-06T19:01:45.071Z] SSH_AGENT_PID=39 [2022-09-06T19:01:45.078Z] Running ssh-add (command line suppressed) [2022-09-06T19:01:45.193Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-155@tmp/private_key_3321721232334206190.key (/w/workspace/undry_device-onvif-camera_PR-155@tmp/private_key_3321721232334206190.key) [2022-09-06T19:01:45.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T19:01:45.556Z] + git tag --points-at HEAD [Pipeline] } [2022-09-06T19:01:45.576Z] $ docker exec --env ******** --env ******** 1f7dfd949ee511170c2af1135b02eaf25680f0214bfe654aa5d176284b5638f8 ssh-agent -k [2022-09-06T19:01:45.689Z] unset SSH_AUTH_SOCK; [2022-09-06T19:01:45.690Z] unset SSH_AGENT_PID; [2022-09-06T19:01:45.690Z] echo Agent pid 39 killed; [2022-09-06T19:01:45.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-06T19:01:45.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T19:01:45.800Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T19:01:45.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T19:01:45.919Z] $ docker exec 1f7dfd949ee511170c2af1135b02eaf25680f0214bfe654aa5d176284b5638f8 ssh-agent [2022-09-06T19:01:46.043Z] SSH_AUTH_SOCK=/tmp/ssh-HIIrPZqwf21W/agent.71 [2022-09-06T19:01:46.043Z] SSH_AGENT_PID=77 [2022-09-06T19:01:46.049Z] Running ssh-add (command line suppressed) [2022-09-06T19:01:46.168Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-155@tmp/private_key_2428923954183764809.key (/w/workspace/undry_device-onvif-camera_PR-155@tmp/private_key_2428923954183764809.key) [2022-09-06T19:01:46.190Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T19:01:46.528Z] + git semver init [2022-09-06T19:01:46.791Z] 2022-09-06 19:01:46,729 [run_init] DEBUG init version:0.0.0 force:False [2022-09-06T19:01:46.791Z] 2022-09-06 19:01:46,730 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-155/.semver [2022-09-06T19:01:46.791Z] 2022-09-06 19:01:46,730 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-155/.semver [2022-09-06T19:01:46.791Z] 2022-09-06 19:01:46,730 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-155/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-155, universal_newlines=False, shell=None, istream=None) [2022-09-06T19:01:47.734Z] 2022-09-06 19:01:47,675 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-155/.git/info/exclude [2022-09-06T19:01:47.734Z] 2022-09-06 19:01:47,676 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-155/.semver/PR-155 with force:False [2022-09-06T19:01:47.734Z] 2022-09-06 19:01:47,676 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-155/.semver/PR-155 [2022-09-06T19:01:47.734Z] 2022-09-06 19:01:47,680 [execute] INFO git cat-file --batch-check [2022-09-06T19:01:47.734Z] 2022-09-06 19:01:47,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-155/.semver, universal_newlines=False, shell=None, istream=) [2022-09-06T19:01:47.734Z] 2022-09-06 19:01:47,687 [execute] INFO git cat-file --batch [2022-09-06T19:01:47.734Z] 2022-09-06 19:01:47,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-155/.semver, universal_newlines=False, shell=None, istream=) [2022-09-06T19:01:47.734Z] 2022-09-06 19:01:47,691 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-155/.semver/PR-155 [2022-09-06T19:01:47.734Z] 0.0.0 [Pipeline] } [2022-09-06T19:01:47.750Z] $ docker exec --env ******** --env ******** 1f7dfd949ee511170c2af1135b02eaf25680f0214bfe654aa5d176284b5638f8 ssh-agent -k [2022-09-06T19:01:47.861Z] unset SSH_AUTH_SOCK; [2022-09-06T19:01:47.862Z] unset SSH_AGENT_PID; [2022-09-06T19:01:47.862Z] echo Agent pid 77 killed; [2022-09-06T19:01:47.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-06T19:01:48.305Z] + git semver [Pipeline] } [2022-09-06T19:01:48.587Z] $ docker stop --time=1 1f7dfd949ee511170c2af1135b02eaf25680f0214bfe654aa5d176284b5638f8 [2022-09-06T19:01:49.884Z] $ docker rm -f 1f7dfd949ee511170c2af1135b02eaf25680f0214bfe654aa5d176284b5638f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T19:01:50.313Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-06T19:01:50.646Z] Stashed 1 file(s) [Pipeline] echo [2022-09-06T19:01:50.666Z] [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-09-06T19:01:51.325Z] provisioning config files... [2022-09-06T19:01:51.336Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-155@tmp/config7467143862783169593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:01:51.686Z] ---> docker-login.sh [2022-09-06T19:01:51.686Z] nexus3.edgexfoundry.org:10001 [2022-09-06T19:01:51.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:51.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:51.686Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:51.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:51.686Z] [2022-09-06T19:01:51.686Z] Login Succeeded [2022-09-06T19:01:51.686Z] nexus3.edgexfoundry.org:10002 [2022-09-06T19:01:51.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:51.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:51.948Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:51.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:51.948Z] [2022-09-06T19:01:51.948Z] Login Succeeded [2022-09-06T19:01:51.948Z] nexus3.edgexfoundry.org:10003 [2022-09-06T19:01:51.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:51.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:51.948Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:51.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:51.948Z] [2022-09-06T19:01:51.948Z] Login Succeeded [2022-09-06T19:01:51.948Z] nexus3.edgexfoundry.org:10004 [2022-09-06T19:01:52.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:52.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:52.209Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:52.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:52.209Z] [2022-09-06T19:01:52.209Z] Login Succeeded [2022-09-06T19:01:52.209Z] docker.io [2022-09-06T19:01:52.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:01:52.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:01:52.782Z] Configure a credential helper to remove this warning. See [2022-09-06T19:01:52.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:01:52.782Z] [2022-09-06T19:01:52.782Z] Login Succeeded [2022-09-06T19:01:52.782Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T19:01:52.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-06T19:01:53.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T19:01:53.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T19:01:53.084Z] ========================================================= [2022-09-06T19:01:53.084Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-06T19:01:53.084Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:01:53.590Z] + 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-09-06T19:01:53.590Z] Sending build context to Docker daemon 20.63MB [2022-09-06T19:01:53.590Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T19:01:53.590Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-06T19:01:53.851Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-06T19:01:53.851Z] 2408cc74d12b: Pulling fs layer [2022-09-06T19:01:53.851Z] ea60b727a1ce: Pulling fs layer [2022-09-06T19:01:53.851Z] 30c4a7721957: Pulling fs layer [2022-09-06T19:01:53.851Z] 370296b7ddb6: Pulling fs layer [2022-09-06T19:01:53.851Z] 7c6cee850709: Pulling fs layer [2022-09-06T19:01:53.851Z] 39a5fcdaea64: Pulling fs layer [2022-09-06T19:01:53.851Z] d94ebbe4e438: Pulling fs layer [2022-09-06T19:01:53.851Z] bcfd1f05c69d: Pulling fs layer [2022-09-06T19:01:53.851Z] 59ccb84bbe0f: Pulling fs layer [2022-09-06T19:01:53.851Z] 7c6cee850709: Waiting [2022-09-06T19:01:53.851Z] d94ebbe4e438: Waiting [2022-09-06T19:01:53.851Z] 39a5fcdaea64: Waiting [2022-09-06T19:01:53.851Z] 59ccb84bbe0f: Waiting [2022-09-06T19:01:53.851Z] 370296b7ddb6: Waiting [2022-09-06T19:01:53.851Z] bcfd1f05c69d: Waiting [2022-09-06T19:01:53.851Z] 30c4a7721957: Verifying Checksum [2022-09-06T19:01:53.851Z] 30c4a7721957: Download complete [2022-09-06T19:01:53.851Z] ea60b727a1ce: Download complete [2022-09-06T19:01:53.851Z] 7c6cee850709: Verifying Checksum [2022-09-06T19:01:53.851Z] 7c6cee850709: Download complete [2022-09-06T19:01:53.851Z] 39a5fcdaea64: Verifying Checksum [2022-09-06T19:01:53.851Z] 39a5fcdaea64: Download complete [2022-09-06T19:01:53.851Z] 2408cc74d12b: Verifying Checksum [2022-09-06T19:01:53.851Z] 2408cc74d12b: Download complete [2022-09-06T19:01:53.851Z] d94ebbe4e438: Download complete [2022-09-06T19:01:53.851Z] 2408cc74d12b: Pull complete [2022-09-06T19:01:54.114Z] ea60b727a1ce: Pull complete [2022-09-06T19:01:54.114Z] 30c4a7721957: Pull complete [2022-09-06T19:01:54.374Z] 59ccb84bbe0f: Verifying Checksum [2022-09-06T19:01:54.375Z] 59ccb84bbe0f: Download complete [2022-09-06T19:01:54.375Z] bcfd1f05c69d: Verifying Checksum [2022-09-06T19:01:54.375Z] bcfd1f05c69d: Download complete [2022-09-06T19:01:54.635Z] 370296b7ddb6: Verifying Checksum [2022-09-06T19:01:54.635Z] 370296b7ddb6: Download complete [2022-09-06T19:01:58.835Z] 370296b7ddb6: Pull complete [2022-09-06T19:01:59.095Z] 7c6cee850709: Pull complete [2022-09-06T19:01:59.095Z] 39a5fcdaea64: Pull complete [2022-09-06T19:01:59.095Z] d94ebbe4e438: Pull complete [2022-09-06T19:02:01.008Z] bcfd1f05c69d: Pull complete [2022-09-06T19:02:01.946Z] 59ccb84bbe0f: Pull complete [2022-09-06T19:02:01.946Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-06T19:02:01.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-06T19:02:01.946Z] ---> a4fb48ad2a94 [2022-09-06T19:02:01.946Z] Step 3/13 : ARG MAKE="make build" [2022-09-06T19:02:06.142Z] Still waiting to schedule task [2022-09-06T19:02:06.142Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24677’ [2022-09-06T19:02:06.148Z] ---> Running in 1a60b468b645 [2022-09-06T19:02:06.148Z] Removing intermediate container 1a60b468b645 [2022-09-06T19:02:06.148Z] ---> 37645bf3ce25 [2022-09-06T19:02:06.148Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-06T19:02:06.148Z] ---> Running in e3b353d0092d [2022-09-06T19:02:06.148Z] Removing intermediate container e3b353d0092d [2022-09-06T19:02:06.148Z] ---> 4f4d43096e4f [2022-09-06T19:02:06.148Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-06T19:02:06.148Z] ---> Running in 8c544df125c4 [2022-09-06T19:02:06.148Z] Removing intermediate container 8c544df125c4 [2022-09-06T19:02:06.148Z] ---> 9281302159b6 [2022-09-06T19:02:06.148Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-06T19:02:06.148Z] ---> Running in bfed3ff0e3d0 [2022-09-06T19:02:06.148Z] Removing intermediate container bfed3ff0e3d0 [2022-09-06T19:02:06.148Z] ---> dd27ec5d6bbb [2022-09-06T19:02:06.148Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T19:02:06.148Z] ---> Running in 4f98f5a06f62 [2022-09-06T19:02:06.725Z] Removing intermediate container 4f98f5a06f62 [2022-09-06T19:02:06.725Z] ---> 31246f2caa14 [2022-09-06T19:02:06.725Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-06T19:02:06.725Z] ---> Running in 64e1ce0e53fa [2022-09-06T19:02:06.987Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T19:02:07.931Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T19:02:08.192Z] OK: 211 MiB in 51 packages [2022-09-06T19:02:08.451Z] Removing intermediate container 64e1ce0e53fa [2022-09-06T19:02:08.451Z] ---> 32b17a791f50 [2022-09-06T19:02:08.451Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-06T19:02:08.711Z] ---> Running in d5441ccc811c [2022-09-06T19:02:08.711Z] Removing intermediate container d5441ccc811c [2022-09-06T19:02:08.711Z] ---> cc01bd447d20 [2022-09-06T19:02:08.711Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-06T19:02:08.711Z] ---> 613eebe10abe [2022-09-06T19:02:08.711Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T19:02:08.711Z] ---> Running in b3b777819a2d [2022-09-06T19:02:30.683Z] Removing intermediate container b3b777819a2d [2022-09-06T19:02:30.683Z] ---> 086d9b2d7d7e [2022-09-06T19:02:30.683Z] Step 12/13 : COPY . . [2022-09-06T19:02:30.683Z] ---> 190d22df4aa4 [2022-09-06T19:02:30.683Z] Step 13/13 : RUN ${MAKE} [2022-09-06T19:02:30.683Z] ---> Running in 9bbcf46e5f8a [2022-09-06T19:02:30.683Z] noop [2022-09-06T19:02:30.683Z] Removing intermediate container 9bbcf46e5f8a [2022-09-06T19:02:30.683Z] ---> 947c750b8e7c [2022-09-06T19:02:30.683Z] Successfully built 947c750b8e7c [2022-09-06T19:02:30.683Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:02:31.158Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-06T19:02:31.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T19:02:31.330Z] prd-ubuntu20.04-docker-8c-8g-24678 does not seem to be running inside a container [2022-09-06T19:02:31.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-06T19:02:32.216Z] $ docker top 869fd85d2684e5ad1e57b5f0a61755f7f8f194d678ebc80d65f31b293745d919 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T19:02:32.676Z] + go version [2022-09-06T19:02:32.676Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-06T19:02:32.708Z] $ docker stop --time=1 869fd85d2684e5ad1e57b5f0a61755f7f8f194d678ebc80d65f31b293745d919 [2022-09-06T19:02:34.033Z] $ docker rm -f 869fd85d2684e5ad1e57b5f0a61755f7f8f194d678ebc80d65f31b293745d919 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:02:34.785Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-06T19:02:34.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T19:02:34.942Z] prd-ubuntu20.04-docker-8c-8g-24678 does not seem to be running inside a container [2022-09-06T19:02:34.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-06T19:02:35.328Z] $ docker top 9f473016971bf88960d3a07daeb887ff1246cc0d1fa48d60c6efba152d235b14 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T19:02:35.724Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-155 [Pipeline] fileExists [Pipeline] sh [2022-09-06T19:02:36.082Z] + make test [2022-09-06T19:02:36.082Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-06T19:02:36.341Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-06T19:02:46.311Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-06T19:02:46.311Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.6% of statements [2022-09-06T19:02:46.311Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-06T19:02:49.603Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.864s coverage: 13.8% of statements [2022-09-06T19:02:57.723Z] 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-09-06T19:02:57.723Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-06T19:03:00.262Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-06T19:03:00.262Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-06T19:03:00.262Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-06T19:03:00.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-06T19:03:00.327Z] $ docker stop --time=1 9f473016971bf88960d3a07daeb887ff1246cc0d1fa48d60c6efba152d235b14 [2022-09-06T19:03:02.600Z] $ docker rm -f 9f473016971bf88960d3a07daeb887ff1246cc0d1fa48d60c6efba152d235b14 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T19:03:03.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-06T19:03:03.203Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-06T19:03:03.819Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-06T19:03:04.138Z] + ls -al . [2022-09-06T19:03:04.138Z] total 232 [2022-09-06T19:03:04.138Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 19:02 . [2022-09-06T19:03:04.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 19:01 .. [2022-09-06T19:03:04.138Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 19:02 .git [2022-09-06T19:03:04.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 19:01 .github [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 6 19:01 .gitignore [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 19:01 .golangci.yml [2022-09-06T19:03:04.138Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 19:01 .semver [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 6 19:01 Attribution.txt [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 6 19:01 CHANGELOG.md [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 6 19:01 Dockerfile [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 19:01 GOVERNANCE.md [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 6 19:01 Jenkinsfile [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 6 19:01 LICENSE [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 6 19:01 Makefile [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 6 19:01 OWNERS.md [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 6 19:01 README.md [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 19:01 VERSION [2022-09-06T19:03:04.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 19:01 bin [2022-09-06T19:03:04.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 19:01 cmd [2022-09-06T19:03:04.138Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 6 19:02 coverage.out [2022-09-06T19:03:04.138Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 19:01 doc [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 6 19:01 go.mod [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 6 19:01 go.sum [2022-09-06T19:03:04.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 19:01 internal [2022-09-06T19:03:04.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 19:01 snap [2022-09-06T19:03:04.138Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 6 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:03:04.540Z] + 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=144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 --label arch=amd64 --label version=0.0.0 . [2022-09-06T19:03:04.540Z] Sending build context to Docker daemon 20.71MB [2022-09-06T19:03:04.540Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T19:03:04.540Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-06T19:03:04.540Z] ---> 947c750b8e7c [2022-09-06T19:03:04.540Z] Step 3/26 : ARG MAKE="make build" [2022-09-06T19:03:04.802Z] ---> Running in a97b51e39389 [2022-09-06T19:03:04.802Z] Removing intermediate container a97b51e39389 [2022-09-06T19:03:04.802Z] ---> 48739e627ae8 [2022-09-06T19:03:04.802Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-06T19:03:04.802Z] ---> Running in d4524c853099 [2022-09-06T19:03:05.064Z] Removing intermediate container d4524c853099 [2022-09-06T19:03:05.064Z] ---> 71632901665a [2022-09-06T19:03:05.064Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-06T19:03:05.064Z] ---> Running in f0c2e2826490 [2022-09-06T19:03:05.064Z] Removing intermediate container f0c2e2826490 [2022-09-06T19:03:05.064Z] ---> 0654d68ba35e [2022-09-06T19:03:05.064Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-06T19:03:05.064Z] ---> Running in 252f89674e33 [2022-09-06T19:03:05.326Z] Removing intermediate container 252f89674e33 [2022-09-06T19:03:05.326Z] ---> 5ae6cb41f489 [2022-09-06T19:03:05.326Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T19:03:05.326Z] ---> Running in 9fd4123e35b0 [2022-09-06T19:03:05.899Z] Removing intermediate container 9fd4123e35b0 [2022-09-06T19:03:05.899Z] ---> b5b05afba8b5 [2022-09-06T19:03:05.899Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-06T19:03:05.899Z] ---> Running in fbefbd3ca089 [2022-09-06T19:03:06.161Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T19:03:07.102Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T19:03:07.361Z] OK: 211 MiB in 51 packages [2022-09-06T19:03:07.621Z] Removing intermediate container fbefbd3ca089 [2022-09-06T19:03:07.621Z] ---> 6332ae7951bd [2022-09-06T19:03:07.621Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-06T19:03:07.621Z] ---> Running in f55dc07ecc52 [2022-09-06T19:03:07.883Z] Removing intermediate container f55dc07ecc52 [2022-09-06T19:03:07.883Z] ---> 2d2fb32363ff [2022-09-06T19:03:07.883Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-06T19:03:07.883Z] ---> dccfc96f2879 [2022-09-06T19:03:07.883Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T19:03:07.883Z] ---> Running in ea57855dcc7e [2022-09-06T19:03:08.455Z] Removing intermediate container ea57855dcc7e [2022-09-06T19:03:08.455Z] ---> 6c6cff6e35cf [2022-09-06T19:03:08.455Z] Step 12/26 : COPY . . [2022-09-06T19:03:09.047Z] ---> 54c9db0de22c [2022-09-06T19:03:09.047Z] Step 13/26 : RUN ${MAKE} [2022-09-06T19:03:09.047Z] ---> Running in 7c4ef30beba6 [2022-09-06T19:03:09.306Z] 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-09-06T19:03:31.248Z] Removing intermediate container 7c4ef30beba6 [2022-09-06T19:03:31.248Z] ---> 756d261e8bed [2022-09-06T19:03:31.248Z] Step 14/26 : FROM alpine:3.16 [2022-09-06T19:03:32.188Z] 3.16: Pulling from library/alpine [2022-09-06T19:03:32.450Z] 213ec9aee27d: Pulling fs layer [2022-09-06T19:03:32.450Z] 213ec9aee27d: Verifying Checksum [2022-09-06T19:03:32.709Z] 213ec9aee27d: Pull complete [2022-09-06T19:03:32.709Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-06T19:03:32.709Z] Status: Downloaded newer image for alpine:3.16 [2022-09-06T19:03:32.709Z] ---> 9c6f07244728 [2022-09-06T19:03:32.709Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-06T19:03:32.709Z] ---> Running in 604164c235b2 [2022-09-06T19:03:32.971Z] Removing intermediate container 604164c235b2 [2022-09-06T19:03:32.971Z] ---> 340962cd7480 [2022-09-06T19:03:32.971Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-06T19:03:32.971Z] ---> Running in 09e4e06cf9f3 [2022-09-06T19:03:33.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T19:03:33.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T19:03:33.491Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-06T19:03:33.491Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-06T19:03:33.491Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-06T19:03:33.491Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-06T19:03:33.491Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-06T19:03:33.491Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-06T19:03:33.491Z] Executing busybox-1.35.0-r17.trigger [2022-09-06T19:03:33.491Z] OK: 8 MiB in 20 packages [2022-09-06T19:03:33.751Z] Removing intermediate container 09e4e06cf9f3 [2022-09-06T19:03:33.751Z] ---> 33423ff3c112 [2022-09-06T19:03:33.751Z] Step 17/26 : WORKDIR / [2022-09-06T19:03:34.010Z] ---> Running in 6fbf53708442 [2022-09-06T19:03:34.010Z] Removing intermediate container 6fbf53708442 [2022-09-06T19:03:34.010Z] ---> 7324fb43c604 [2022-09-06T19:03:34.010Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-06T19:03:34.581Z] ---> b894f48720af [2022-09-06T19:03:34.581Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-06T19:03:34.843Z] ---> 276b1aded112 [2022-09-06T19:03:34.843Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-06T19:03:34.843Z] ---> 8042b96ac474 [2022-09-06T19:03:34.843Z] Step 21/26 : EXPOSE 59984 [2022-09-06T19:03:34.843Z] ---> Running in 09dcfcc55938 [2022-09-06T19:03:34.843Z] Removing intermediate container 09dcfcc55938 [2022-09-06T19:03:34.843Z] ---> 95ebbe3dfe2f [2022-09-06T19:03:34.843Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-06T19:03:35.105Z] ---> Running in 0fb1f112efdd [2022-09-06T19:03:35.105Z] Removing intermediate container 0fb1f112efdd [2022-09-06T19:03:35.105Z] ---> 1d2f1fd3a588 [2022-09-06T19:03:35.105Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-06T19:03:35.105Z] ---> Running in 26a2bd07df8e [2022-09-06T19:03:35.105Z] Removing intermediate container 26a2bd07df8e [2022-09-06T19:03:35.105Z] ---> e9b471cd9190 [2022-09-06T19:03:35.105Z] Step 24/26 : LABEL arch=amd64 [2022-09-06T19:03:35.105Z] ---> Running in 1592651ef722 [2022-09-06T19:03:35.366Z] Removing intermediate container 1592651ef722 [2022-09-06T19:03:35.366Z] ---> 95d18b9249cf [2022-09-06T19:03:35.366Z] Step 25/26 : LABEL git_sha=144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [2022-09-06T19:03:35.366Z] ---> Running in b10b48130707 [2022-09-06T19:03:35.366Z] Removing intermediate container b10b48130707 [2022-09-06T19:03:35.366Z] ---> 70de232e6248 [2022-09-06T19:03:35.366Z] Step 26/26 : LABEL version=0.0.0 [2022-09-06T19:03:35.366Z] ---> Running in c92f555cb2b2 [2022-09-06T19:03:35.366Z] Removing intermediate container c92f555cb2b2 [2022-09-06T19:03:35.366Z] ---> 21839ed3ac6e [2022-09-06T19:03:35.366Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-06T19:03:35.627Z] Successfully built 21839ed3ac6e [2022-09-06T19:03:35.627Z] 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-09-06T19:03:36.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T19:03:36.462Z] [2022-09-06T19:03:36.462Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:03:36.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T19:03:36.888Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-06T19:03:36.888Z] 5eb5b503b376: Pulling fs layer [2022-09-06T19:03:36.889Z] 5c69ac0246d0: Pulling fs layer [2022-09-06T19:03:36.889Z] ec43610c2a17: Pulling fs layer [2022-09-06T19:03:36.889Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-06T19:03:36.889Z] 33b1e0a273af: Pulling fs layer [2022-09-06T19:03:36.889Z] 5d3b04190fa2: Pulling fs layer [2022-09-06T19:03:36.889Z] 2f39f015ded8: Pulling fs layer [2022-09-06T19:03:36.889Z] 3a2ae6a8a46f: Waiting [2022-09-06T19:03:36.889Z] 33b1e0a273af: Waiting [2022-09-06T19:03:36.889Z] 5d3b04190fa2: Waiting [2022-09-06T19:03:36.889Z] 2f39f015ded8: Waiting [2022-09-06T19:03:36.889Z] 5c69ac0246d0: Verifying Checksum [2022-09-06T19:03:36.889Z] 5c69ac0246d0: Download complete [2022-09-06T19:03:36.889Z] 3a2ae6a8a46f: Download complete [2022-09-06T19:03:36.889Z] 33b1e0a273af: Verifying Checksum [2022-09-06T19:03:36.889Z] 33b1e0a273af: Download complete [2022-09-06T19:03:36.889Z] 5d3b04190fa2: Verifying Checksum [2022-09-06T19:03:36.889Z] 5d3b04190fa2: Download complete [2022-09-06T19:03:36.889Z] ec43610c2a17: Verifying Checksum [2022-09-06T19:03:36.889Z] ec43610c2a17: Download complete [2022-09-06T19:03:37.150Z] 5eb5b503b376: Verifying Checksum [2022-09-06T19:03:37.150Z] 5eb5b503b376: Download complete [2022-09-06T19:03:37.726Z] 2f39f015ded8: Verifying Checksum [2022-09-06T19:03:37.726Z] 2f39f015ded8: Download complete [2022-09-06T19:03:38.296Z] 5eb5b503b376: Pull complete [2022-09-06T19:03:38.556Z] 5c69ac0246d0: Pull complete [2022-09-06T19:03:38.818Z] ec43610c2a17: Pull complete [2022-09-06T19:03:39.079Z] 3a2ae6a8a46f: Pull complete [2022-09-06T19:03:39.340Z] 33b1e0a273af: Pull complete [2022-09-06T19:03:39.340Z] 5d3b04190fa2: Pull complete [2022-09-06T19:03:43.530Z] 2f39f015ded8: Pull complete [2022-09-06T19:03:43.530Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-06T19:03:43.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T19:03:43.530Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T19:03:43.754Z] prd-ubuntu20.04-docker-8c-8g-24678 does not seem to be running inside a container [2022-09-06T19:03:43.789Z] $ 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-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-06T19:03:48.869Z] $ docker top 1bfc9ef9e1637f49b8746d9aaadce52b094d48d58be077f75ede7b19fadc96ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:03:49.304Z] ---> job-cost.sh [2022-09-06T19:03:49.305Z] lf-activate-venv: SKIPPING [2022-09-06T19:03:49.305Z] INFO: No Stack... [2022-09-06T19:03:49.564Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-06T19:03:50.136Z] INFO: Archiving Costs [Pipeline] sh [2022-09-06T19:03:50.498Z] + cat /w/workspace/undry_device-onvif-camera_PR-155/archives/cost.csv [2022-09-06T19:03:50.498Z] + cut -d, -f6 [Pipeline] lock [2022-09-06T19:03:50.578Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-155-1-stack-cost] [2022-09-06T19:03:50.582Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-155-1-stack-cost] did not exist. Created. [2022-09-06T19:03:50.582Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-155-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-06T19:03:51.021Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-06T19:03:51.071Z] Stashed 1 file(s) [Pipeline] } [2022-09-06T19:03:51.101Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-155-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-06T19:03:51.190Z] $ docker stop --time=1 1bfc9ef9e1637f49b8746d9aaadce52b094d48d58be077f75ede7b19fadc96ca [2022-09-06T19:03:52.332Z] $ docker rm -f 1bfc9ef9e1637f49b8746d9aaadce52b094d48d58be077f75ede7b19fadc96ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-06T19:04:22.868Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24679 in /w/workspace/undry_device-onvif-camera_PR-155 [Pipeline] { [Pipeline] ws [2022-09-06T19:04:22.906Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-06T19:04:23.012Z] Selected Git installation does not exist. Using Default [2022-09-06T19:04:23.012Z] The recommended git tool is: NONE [2022-09-06T19:04:30.461Z] using credential edgex-jenkins-ssh [2022-09-06T19:04:30.496Z] Cloning the remote Git repository [2022-09-06T19:04:30.595Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-06T19:04:30.710Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-06T19:04:30.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-06T19:04:30.871Z] > git --version # timeout=10 [2022-09-06T19:04:30.911Z] > git --version # 'git version 2.25.1' [2022-09-06T19:04:30.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T19:04:31.061Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-06T19:04:33.021Z] Merging remotes/origin/main commit 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [2022-09-06T19:04:33.362Z] Merge succeeded, producing 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [2022-09-06T19:04:33.363Z] Checking out Revision 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 (PR-155) [2022-09-06T19:04:32.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-06T19:04:32.405Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-06T19:04:32.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-06T19:04:32.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-06T19:04:32.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T19:04:32.487Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-06T19:04:33.039Z] > git config core.sparsecheckout # timeout=10 [2022-09-06T19:04:33.054Z] > git checkout -f 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 # timeout=10 [2022-09-06T19:04:33.279Z] > git remote # timeout=10 [2022-09-06T19:04:33.297Z] > git config --get remote.origin.url # timeout=10 [2022-09-06T19:04:33.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T19:04:33.321Z] > git merge 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 [2022-09-06T19:04:33.347Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-06T19:04:33.369Z] > git config core.sparsecheckout # timeout=10 [2022-09-06T19:04:33.382Z] > git checkout -f 144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 # timeout=10 [2022-09-06T19:04:37.817Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-09-06T19:04:37.878Z] > git --version # timeout=10 [2022-09-06T19:04:37.891Z] > git --version # 'git version 2.25.1' [2022-09-06T19:04:37.909Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T19:04:38.968Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-06T19:04:38.968Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-06T19:04:38.968Z] Dload Upload Total Spent Left Speed [2022-09-06T19:04:38.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-09-06T19:04:39.901Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-06T19:04:40.264Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-09-06T19:04:40.264Z] [2022-09-06T19:04:40.264Z] { [2022-09-06T19:04:40.264Z] "registry-mirrors": [ [2022-09-06T19:04:40.264Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-06T19:04:40.264Z] ], [2022-09-06T19:04:40.264Z] "bip": "10.250.0.254/24", [2022-09-06T19:04:40.264Z] "hosts": [ [2022-09-06T19:04:40.264Z] "tcp://0.0.0.0:5555", [2022-09-06T19:04:40.264Z] "unix:///var/run/docker.sock" [2022-09-06T19:04:40.264Z] ], [2022-09-06T19:04:40.264Z] "mtu": 1458, [2022-09-06T19:04:40.264Z] "selinux-enabled": true, [2022-09-06T19:04:40.264Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-06T19:04:40.264Z] } [Pipeline] sh [2022-09-06T19:04:40.624Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-06T19:04:40.989Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T19:04:59.410Z] provisioning config files... [2022-09-06T19:04:59.437Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5725640362778671820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:04:59.850Z] ---> docker-login.sh [2022-09-06T19:04:59.850Z] nexus3.edgexfoundry.org:10001 [2022-09-06T19:05:00.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:05:01.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:05:01.053Z] Configure a credential helper to remove this warning. See [2022-09-06T19:05:01.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:05:01.053Z] [2022-09-06T19:05:01.053Z] Login Succeeded [2022-09-06T19:05:01.053Z] nexus3.edgexfoundry.org:10002 [2022-09-06T19:05:01.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:05:01.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:05:01.328Z] Configure a credential helper to remove this warning. See [2022-09-06T19:05:01.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:05:01.328Z] [2022-09-06T19:05:01.328Z] Login Succeeded [2022-09-06T19:05:01.328Z] nexus3.edgexfoundry.org:10003 [2022-09-06T19:05:01.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:05:01.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:05:01.934Z] Configure a credential helper to remove this warning. See [2022-09-06T19:05:01.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:05:01.934Z] [2022-09-06T19:05:01.934Z] Login Succeeded [2022-09-06T19:05:01.934Z] nexus3.edgexfoundry.org:10004 [2022-09-06T19:05:02.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:05:02.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:05:02.489Z] Configure a credential helper to remove this warning. See [2022-09-06T19:05:02.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:05:02.489Z] [2022-09-06T19:05:02.489Z] Login Succeeded [2022-09-06T19:05:02.489Z] docker.io [2022-09-06T19:05:02.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T19:05:03.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T19:05:03.368Z] Configure a credential helper to remove this warning. See [2022-09-06T19:05:03.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T19:05:03.369Z] [2022-09-06T19:05:03.369Z] Login Succeeded [2022-09-06T19:05:03.369Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T19:05:03.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-06T19:05:03.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T19:05:03.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T19:05:03.873Z] ========================================================= [2022-09-06T19:05:03.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-06T19:05:03.873Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:05:04.404Z] + 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-09-06T19:05:05.006Z] Sending build context to Docker daemon 14.11MB [2022-09-06T19:05:05.006Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T19:05:05.006Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-06T19:05:05.006Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-06T19:05:05.006Z] b3c136eddcbf: Pulling fs layer [2022-09-06T19:05:05.006Z] c0a3192eca97: Pulling fs layer [2022-09-06T19:05:05.006Z] a050256f5b6f: Pulling fs layer [2022-09-06T19:05:05.006Z] 656be50a0ddc: Pulling fs layer [2022-09-06T19:05:05.006Z] 2bbca73fdf42: Pulling fs layer [2022-09-06T19:05:05.006Z] 46d945488cbd: Pulling fs layer [2022-09-06T19:05:05.006Z] 8a5474983e97: Pulling fs layer [2022-09-06T19:05:05.006Z] 329c88fbcd65: Pulling fs layer [2022-09-06T19:05:05.006Z] 656be50a0ddc: Waiting [2022-09-06T19:05:05.006Z] 2bbca73fdf42: Waiting [2022-09-06T19:05:05.006Z] 46d945488cbd: Waiting [2022-09-06T19:05:05.006Z] 8a5474983e97: Waiting [2022-09-06T19:05:05.006Z] 329c88fbcd65: Waiting [2022-09-06T19:05:05.285Z] a050256f5b6f: Verifying Checksum [2022-09-06T19:05:05.285Z] a050256f5b6f: Download complete [2022-09-06T19:05:05.285Z] c0a3192eca97: Download complete [2022-09-06T19:05:05.285Z] 2bbca73fdf42: Verifying Checksum [2022-09-06T19:05:05.285Z] 2bbca73fdf42: Download complete [2022-09-06T19:05:05.285Z] 46d945488cbd: Download complete [2022-09-06T19:05:05.285Z] b3c136eddcbf: Verifying Checksum [2022-09-06T19:05:05.285Z] b3c136eddcbf: Download complete [2022-09-06T19:05:06.283Z] b3c136eddcbf: Pull complete [2022-09-06T19:05:06.283Z] 329c88fbcd65: Verifying Checksum [2022-09-06T19:05:06.283Z] 329c88fbcd65: Download complete [2022-09-06T19:05:06.887Z] c0a3192eca97: Pull complete [2022-09-06T19:05:07.163Z] a050256f5b6f: Pull complete [2022-09-06T19:05:07.441Z] 8a5474983e97: Verifying Checksum [2022-09-06T19:05:07.441Z] 8a5474983e97: Download complete [2022-09-06T19:05:08.431Z] 656be50a0ddc: Verifying Checksum [2022-09-06T19:05:08.431Z] 656be50a0ddc: Download complete [2022-09-06T19:05:23.538Z] 656be50a0ddc: Pull complete [2022-09-06T19:05:23.538Z] 2bbca73fdf42: Pull complete [2022-09-06T19:05:23.538Z] 46d945488cbd: Pull complete [2022-09-06T19:05:28.982Z] 8a5474983e97: Pull complete [2022-09-06T19:05:30.435Z] 329c88fbcd65: Pull complete [2022-09-06T19:05:30.435Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-06T19:05:30.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-06T19:05:30.435Z] ---> ff4287adb874 [2022-09-06T19:05:30.435Z] Step 3/13 : ARG MAKE="make build" [2022-09-06T19:05:31.430Z] ---> Running in 1d6ff7d3c357 [2022-09-06T19:05:32.037Z] Removing intermediate container 1d6ff7d3c357 [2022-09-06T19:05:32.037Z] ---> 5cb63f577b2e [2022-09-06T19:05:32.037Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-06T19:05:32.037Z] ---> Running in 8c6fa0ca33c3 [2022-09-06T19:05:32.321Z] Removing intermediate container 8c6fa0ca33c3 [2022-09-06T19:05:32.321Z] ---> 1933dacc9e97 [2022-09-06T19:05:32.321Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-06T19:05:32.321Z] ---> Running in 31a867b66bc1 [2022-09-06T19:05:34.312Z] Removing intermediate container 31a867b66bc1 [2022-09-06T19:05:34.312Z] ---> 6d5b19867060 [2022-09-06T19:05:34.312Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-06T19:05:34.312Z] ---> Running in e3a7f135148f [2022-09-06T19:05:34.603Z] Removing intermediate container e3a7f135148f [2022-09-06T19:05:34.603Z] ---> 7ed2cc361800 [2022-09-06T19:05:34.603Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T19:05:34.603Z] ---> Running in c67c799465f5 [2022-09-06T19:05:36.613Z] Removing intermediate container c67c799465f5 [2022-09-06T19:05:36.613Z] ---> d6d08c7d03f5 [2022-09-06T19:05:36.613Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-06T19:05:36.613Z] ---> Running in dbf9ed65ef46 [2022-09-06T19:05:37.621Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T19:05:38.611Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T19:05:39.600Z] OK: 221 MiB in 51 packages [2022-09-06T19:05:40.589Z] Removing intermediate container dbf9ed65ef46 [2022-09-06T19:05:40.589Z] ---> b8991311a4a4 [2022-09-06T19:05:40.589Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-06T19:05:40.589Z] ---> Running in 1cf784d46513 [2022-09-06T19:05:40.866Z] Removing intermediate container 1cf784d46513 [2022-09-06T19:05:40.866Z] ---> b67d3aea86cd [2022-09-06T19:05:40.866Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-06T19:05:41.490Z] ---> e437d124b6b0 [2022-09-06T19:05:41.490Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T19:05:41.490Z] ---> Running in d6c2d963f85f [2022-09-06T19:06:38.075Z] Removing intermediate container d6c2d963f85f [2022-09-06T19:06:38.075Z] ---> bece0239abdf [2022-09-06T19:06:38.075Z] Step 12/13 : COPY . . [2022-09-06T19:06:38.075Z] ---> 2cc1e5fbd0a0 [2022-09-06T19:06:38.075Z] Step 13/13 : RUN ${MAKE} [2022-09-06T19:06:38.075Z] ---> Running in 0222c85bf46b [2022-09-06T19:06:38.075Z] noop [2022-09-06T19:06:38.075Z] Removing intermediate container 0222c85bf46b [2022-09-06T19:06:38.075Z] ---> 8c6e5fdb5c3b [2022-09-06T19:06:38.075Z] Successfully built 8c6e5fdb5c3b [2022-09-06T19:06:38.075Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:06:38.577Z] + docker inspect -f . ci-base-image-arm64 [2022-09-06T19:06:38.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T19:06:38.916Z] prd-ubuntu20.04-docker-arm64-4c-16g-24679 does not seem to be running inside a container [2022-09-06T19:06:39.018Z] $ 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 ******** ci-base-image-arm64 cat [2022-09-06T19:06:40.358Z] $ docker top 20730658f12399da9c899f52cf02d2a79ec9d70365de057d927b3612483b33e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T19:06:41.331Z] + go version [2022-09-06T19:06:41.331Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-06T19:06:41.370Z] $ docker stop --time=1 20730658f12399da9c899f52cf02d2a79ec9d70365de057d927b3612483b33e8 [2022-09-06T19:06:43.077Z] $ docker rm -f 20730658f12399da9c899f52cf02d2a79ec9d70365de057d927b3612483b33e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:06:44.008Z] + docker inspect -f . ci-base-image-arm64 [2022-09-06T19:06:44.008Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T19:06:44.331Z] prd-ubuntu20.04-docker-arm64-4c-16g-24679 does not seem to be running inside a container [2022-09-06T19:06:44.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat [2022-09-06T19:06:45.733Z] $ docker top 3e99d9a65e43011eed172981356af6ec287f689160207718f4042cf7ca6dac3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T19:06:46.724Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-06T19:06:47.452Z] + make test [2022-09-06T19:06:47.452Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-06T19:06:49.449Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-06T19:08:26.357Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-06T19:08:26.357Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.182s coverage: 28.6% of statements [2022-09-06T19:08:26.357Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-06T19:08:48.577Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.647s coverage: 13.8% of statements [2022-09-06T19:08:48.577Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-06T19:08:48.577Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-06T19:09:10.792Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-06T19:09:10.792Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-06T19:09:10.792Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-06T19:09:10.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-06T19:09:10.885Z] $ docker stop --time=1 3e99d9a65e43011eed172981356af6ec287f689160207718f4042cf7ca6dac3d [2022-09-06T19:09:12.692Z] $ docker rm -f 3e99d9a65e43011eed172981356af6ec287f689160207718f4042cf7ca6dac3d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T19:09:13.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-06T19:09:13.810Z] Warning: overwriting stash ‘coverage-report’ [2022-09-06T19:09:14.361Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T19:09:15.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-06T19:09:15.365Z] + ls -al . [2022-09-06T19:09:15.365Z] total 228 [2022-09-06T19:09:15.365Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 19:06 . [2022-09-06T19:09:15.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 19:04 .. [2022-09-06T19:09:15.365Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 19:04 .git [2022-09-06T19:09:15.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 19:04 .github [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 6 19:04 .gitignore [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 19:04 .golangci.yml [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 6 19:04 Attribution.txt [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 6 19:04 CHANGELOG.md [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 6 19:04 Dockerfile [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 19:04 GOVERNANCE.md [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 6 19:04 Jenkinsfile [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 6 19:04 LICENSE [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 6 19:04 Makefile [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 6 19:04 OWNERS.md [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 6 19:04 README.md [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 19:01 VERSION [2022-09-06T19:09:15.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 19:04 bin [2022-09-06T19:09:15.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 19:04 cmd [2022-09-06T19:09:15.365Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 6 19:08 coverage.out [2022-09-06T19:09:15.365Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 19:04 doc [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 6 19:04 go.mod [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 6 19:04 go.sum [2022-09-06T19:09:15.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 19:04 internal [2022-09-06T19:09:15.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 19:04 snap [2022-09-06T19:09:15.365Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 6 19:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:09:15.803Z] + 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=144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 --label arch=arm64 --label version=0.0.0 . [2022-09-06T19:09:16.401Z] Sending build context to Docker daemon 14.19MB [2022-09-06T19:09:16.401Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T19:09:16.401Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-06T19:09:16.401Z] ---> 8c6e5fdb5c3b [2022-09-06T19:09:16.401Z] Step 3/26 : ARG MAKE="make build" [2022-09-06T19:09:16.401Z] ---> Running in 7e03fd1cb329 [2022-09-06T19:09:17.004Z] Removing intermediate container 7e03fd1cb329 [2022-09-06T19:09:17.004Z] ---> 8185a2dfc761 [2022-09-06T19:09:17.004Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-06T19:09:17.004Z] ---> Running in 55fb6084ee63 [2022-09-06T19:09:17.278Z] Removing intermediate container 55fb6084ee63 [2022-09-06T19:09:17.278Z] ---> 0a3fc95f594a [2022-09-06T19:09:17.278Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-06T19:09:17.278Z] ---> Running in 26e4a2f8bf25 [2022-09-06T19:09:17.553Z] Removing intermediate container 26e4a2f8bf25 [2022-09-06T19:09:17.553Z] ---> 8f930bd98673 [2022-09-06T19:09:17.553Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-06T19:09:17.828Z] ---> Running in e8888e9c28cd [2022-09-06T19:09:18.102Z] Removing intermediate container e8888e9c28cd [2022-09-06T19:09:18.102Z] ---> 9c0dc9f6ee14 [2022-09-06T19:09:18.102Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T19:09:18.102Z] ---> Running in 041c9e59f6a7 [2022-09-06T19:09:20.083Z] Removing intermediate container 041c9e59f6a7 [2022-09-06T19:09:20.083Z] ---> 5c91a1c36fd7 [2022-09-06T19:09:20.083Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-06T19:09:20.083Z] ---> Running in 1687145fd63e [2022-09-06T19:09:21.064Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T19:09:22.042Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T19:09:23.020Z] OK: 221 MiB in 51 packages [2022-09-06T19:09:23.619Z] Removing intermediate container 1687145fd63e [2022-09-06T19:09:23.619Z] ---> 78f33870e5c3 [2022-09-06T19:09:23.619Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-06T19:09:23.619Z] ---> Running in 1b621201232e [2022-09-06T19:09:24.220Z] Removing intermediate container 1b621201232e [2022-09-06T19:09:24.220Z] ---> 8e41c2e31f05 [2022-09-06T19:09:24.220Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-06T19:09:24.819Z] ---> 0b9c81918aa4 [2022-09-06T19:09:24.820Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T19:09:24.820Z] ---> Running in c72f47f64b48 [2022-09-06T19:09:26.818Z] Removing intermediate container c72f47f64b48 [2022-09-06T19:09:26.818Z] ---> 1565a11be869 [2022-09-06T19:09:26.818Z] Step 12/26 : COPY . . [2022-09-06T19:09:28.271Z] ---> e89f21183236 [2022-09-06T19:09:28.271Z] Step 13/26 : RUN ${MAKE} [2022-09-06T19:09:28.547Z] ---> Running in f78dd89d1c7d [2022-09-06T19:09:29.537Z] 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-09-06T19:11:51.473Z] Removing intermediate container f78dd89d1c7d [2022-09-06T19:11:51.473Z] ---> 49a0fcc96101 [2022-09-06T19:11:51.473Z] Step 14/26 : FROM alpine:3.16 [2022-09-06T19:11:51.473Z] 3.16: Pulling from library/alpine [2022-09-06T19:11:51.473Z] 9b18e9b68314: Pulling fs layer [2022-09-06T19:11:51.473Z] 9b18e9b68314: Verifying Checksum [2022-09-06T19:11:51.473Z] 9b18e9b68314: Download complete [2022-09-06T19:11:51.473Z] 9b18e9b68314: Pull complete [2022-09-06T19:11:51.473Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-06T19:11:51.473Z] Status: Downloaded newer image for alpine:3.16 [2022-09-06T19:11:51.473Z] ---> a6215f271958 [2022-09-06T19:11:51.473Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-06T19:11:51.473Z] ---> Running in c1447d3959c9 [2022-09-06T19:11:51.473Z] Removing intermediate container c1447d3959c9 [2022-09-06T19:11:51.473Z] ---> 18d2bbf48cb0 [2022-09-06T19:11:51.473Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-06T19:11:51.473Z] ---> Running in c426e90218eb [2022-09-06T19:11:51.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T19:11:51.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T19:11:51.473Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-06T19:11:51.473Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-06T19:11:51.473Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-06T19:11:51.473Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-06T19:11:51.473Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-06T19:11:51.473Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-06T19:11:51.473Z] Executing busybox-1.35.0-r17.trigger [2022-09-06T19:11:51.473Z] OK: 8 MiB in 20 packages [2022-09-06T19:11:51.473Z] Removing intermediate container c426e90218eb [2022-09-06T19:11:51.473Z] ---> 0d778f1c72c9 [2022-09-06T19:11:51.473Z] Step 17/26 : WORKDIR / [2022-09-06T19:11:51.473Z] ---> Running in 2a91969f8fa0 [2022-09-06T19:11:51.473Z] Removing intermediate container 2a91969f8fa0 [2022-09-06T19:11:51.473Z] ---> cd155fad67eb [2022-09-06T19:11:51.473Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-06T19:11:52.071Z] ---> d14de7cf88b3 [2022-09-06T19:11:52.071Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-06T19:11:52.347Z] ---> 706e5188fbfd [2022-09-06T19:11:52.347Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-06T19:11:52.955Z] ---> ec75af04d7d4 [2022-09-06T19:11:52.955Z] Step 21/26 : EXPOSE 59984 [2022-09-06T19:11:52.955Z] ---> Running in 6ca34f4280d1 [2022-09-06T19:11:53.557Z] Removing intermediate container 6ca34f4280d1 [2022-09-06T19:11:53.557Z] ---> aed1bf6dfaf9 [2022-09-06T19:11:53.557Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-06T19:11:53.557Z] ---> Running in e0791d340fd4 [2022-09-06T19:11:53.834Z] Removing intermediate container e0791d340fd4 [2022-09-06T19:11:53.834Z] ---> d08dd0bce9d7 [2022-09-06T19:11:53.834Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-06T19:11:53.834Z] ---> Running in 0b2e5007af1a [2022-09-06T19:11:54.108Z] Removing intermediate container 0b2e5007af1a [2022-09-06T19:11:54.108Z] ---> 1d5db9cc50c3 [2022-09-06T19:11:54.108Z] Step 24/26 : LABEL arch=arm64 [2022-09-06T19:11:54.402Z] ---> Running in d433587d8aca [2022-09-06T19:11:54.683Z] Removing intermediate container d433587d8aca [2022-09-06T19:11:54.683Z] ---> 8e01b83c389b [2022-09-06T19:11:54.683Z] Step 25/26 : LABEL git_sha=144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [2022-09-06T19:11:54.683Z] ---> Running in 56947d921705 [2022-09-06T19:11:54.960Z] Removing intermediate container 56947d921705 [2022-09-06T19:11:54.960Z] ---> 41ac20f11e5f [2022-09-06T19:11:54.960Z] Step 26/26 : LABEL version=0.0.0 [2022-09-06T19:11:54.960Z] ---> Running in 05fe3380c595 [2022-09-06T19:11:55.235Z] Removing intermediate container 05fe3380c595 [2022-09-06T19:11:55.235Z] ---> 21f1cde6d590 [2022-09-06T19:11:55.235Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-06T19:11:55.235Z] Successfully built 21f1cde6d590 [2022-09-06T19:11:55.235Z] 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-09-06T19:11:56.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T19:11:56.081Z] [2022-09-06T19:11:56.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:11:56.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T19:11:56.780Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-06T19:11:56.780Z] 8998bd30e6a1: Pulling fs layer [2022-09-06T19:11:56.780Z] 04944245beec: Pulling fs layer [2022-09-06T19:11:56.780Z] 699f458cf7ca: Pulling fs layer [2022-09-06T19:11:56.780Z] 765212b225bb: Pulling fs layer [2022-09-06T19:11:56.780Z] f23df028b6ca: Pulling fs layer [2022-09-06T19:11:56.780Z] d65c8cfc05b1: Pulling fs layer [2022-09-06T19:11:56.780Z] 2437ff75d9bd: Pulling fs layer [2022-09-06T19:11:56.780Z] f23df028b6ca: Waiting [2022-09-06T19:11:56.780Z] d65c8cfc05b1: Waiting [2022-09-06T19:11:56.780Z] 2437ff75d9bd: Waiting [2022-09-06T19:11:56.780Z] 765212b225bb: Waiting [2022-09-06T19:11:56.780Z] 04944245beec: Verifying Checksum [2022-09-06T19:11:56.780Z] 04944245beec: Download complete [2022-09-06T19:11:56.780Z] 765212b225bb: Verifying Checksum [2022-09-06T19:11:56.780Z] 765212b225bb: Download complete [2022-09-06T19:11:56.780Z] f23df028b6ca: Download complete [2022-09-06T19:11:56.780Z] d65c8cfc05b1: Verifying Checksum [2022-09-06T19:11:56.780Z] d65c8cfc05b1: Download complete [2022-09-06T19:11:57.060Z] 699f458cf7ca: Verifying Checksum [2022-09-06T19:11:57.060Z] 699f458cf7ca: Download complete [2022-09-06T19:11:57.335Z] 8998bd30e6a1: Download complete [2022-09-06T19:11:59.963Z] 2437ff75d9bd: Verifying Checksum [2022-09-06T19:11:59.963Z] 2437ff75d9bd: Download complete [2022-09-06T19:12:01.943Z] 8998bd30e6a1: Pull complete [2022-09-06T19:12:02.219Z] 04944245beec: Pull complete [2022-09-06T19:12:03.657Z] 699f458cf7ca: Pull complete [2022-09-06T19:12:03.932Z] 765212b225bb: Pull complete [2022-09-06T19:12:04.916Z] f23df028b6ca: Pull complete [2022-09-06T19:12:04.916Z] d65c8cfc05b1: Pull complete [2022-09-06T19:12:20.012Z] 2437ff75d9bd: Pull complete [2022-09-06T19:12:20.012Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-06T19:12:20.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T19:12:20.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T19:12:20.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-24679 does not seem to be running inside a container [2022-09-06T19:12:20.482Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-06T19:12:23.093Z] $ docker top 5d93148545c8585289a21ecb61c97a4d0fc4a6352068d94d67bfef5480c96321 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:12:24.050Z] ---> job-cost.sh [2022-09-06T19:12:24.050Z] lf-activate-venv: SKIPPING [2022-09-06T19:12:24.050Z] INFO: No Stack... [2022-09-06T19:12:24.646Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-06T19:12:25.619Z] INFO: Archiving Costs [Pipeline] sh [2022-09-06T19:12:26.306Z] + cut -d, -f6 [2022-09-06T19:12:26.306Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-09-06T19:12:26.398Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-155-1-stack-cost] [2022-09-06T19:12:26.403Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-155-1-stack-cost] did not exist. Created. [2022-09-06T19:12:26.403Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-155-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-06T19:12:27.158Z] /w/workspace/device-onvif-camera/1@tmp/durable-b01e5fca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-06T19:12:27.861Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-06T19:12:27.902Z] Warning: overwriting stash ‘stack-cost’ [2022-09-06T19:12:27.966Z] Stashed 1 file(s) [Pipeline] } [2022-09-06T19:12:27.981Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-155-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-06T19:12:28.055Z] $ docker stop --time=1 5d93148545c8585289a21ecb61c97a4d0fc4a6352068d94d67bfef5480c96321 [2022-09-06T19:12:29.535Z] $ docker rm -f 5d93148545c8585289a21ecb61c97a4d0fc4a6352068d94d67bfef5480c96321 [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-09-06T19:12:30.558Z] provisioning config files... [2022-09-06T19:12:30.566Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-155@tmp/config8712278377945702229tmp [Pipeline] { [Pipeline] sh [2022-09-06T19:12:30.904Z] + set +x [2022-09-06T19:12:30.904Z] + curl -s https://codecov.io/bash [2022-09-06T19:12:30.904Z] + bash -s -- [2022-09-06T19:12:30.904Z] [2022-09-06T19:12:30.904Z] _____ _ [2022-09-06T19:12:30.904Z] / ____| | | [2022-09-06T19:12:30.904Z] | | ___ __| | ___ ___ _____ __ [2022-09-06T19:12:30.904Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-06T19:12:30.904Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-06T19:12:30.904Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-06T19:12:30.904Z] Bash-1.0.6 [2022-09-06T19:12:30.904Z] [2022-09-06T19:12:30.904Z] [2022-09-06T19:12:30.904Z] ==> git version 2.25.1 found [2022-09-06T19:12:30.904Z] ==> 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-09-06T19:12:30.904Z] Release-Date: 2020-01-08 [2022-09-06T19:12:30.904Z] 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-09-06T19:12:30.904Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-06T19:12:30.904Z] ==> Jenkins CI detected. [2022-09-06T19:12:30.905Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-155 [2022-09-06T19:12:30.905Z] project root: . [2022-09-06T19:12:30.905Z] --> token set from env [2022-09-06T19:12:30.905Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-06T19:12:30.905Z] ==> Running gcov in . (disable via -X gcov) [2022-09-06T19:12:30.905Z] ==> Python coveragepy not found [2022-09-06T19:12:30.905Z] ==> Searching for coverage reports in: [2022-09-06T19:12:30.905Z] + . [2022-09-06T19:12:30.905Z] -> Found 1 reports [2022-09-06T19:12:30.905Z] ==> Detecting git/mercurial file structure [2022-09-06T19:12:30.905Z] ==> Reading reports [2022-09-06T19:12:30.905Z] + ./coverage.out bytes=77283 [2022-09-06T19:12:30.905Z] ==> Appending adjustments [2022-09-06T19:12:30.905Z] https://docs.codecov.io/docs/fixing-reports [2022-09-06T19:12:31.166Z] + Found adjustments [2022-09-06T19:12:31.166Z] ==> Gzipping contents [2022-09-06T19:12:31.166Z] 12K /tmp/codecov.SxUBys.gz [2022-09-06T19:12:31.166Z] ==> Uploading reports [2022-09-06T19:12:31.166Z] url: https://codecov.io [2022-09-06T19:12:31.166Z] query: branch=PR-155&commit=144ea4ebd0ce6e623b56f0248e9e297d5681bdc1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-155%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=155&job=&cmd_args= [2022-09-06T19:12:31.166Z] -> Pinging Codecov [2022-09-06T19:12:31.166Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-155&commit=144ea4ebd0ce6e623b56f0248e9e297d5681bdc1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-155%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=155&job=&cmd_args= [2022-09-06T19:12:31.427Z] -> Uploading to [2022-09-06T19:12:31.427Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-06/F29A59C45E3A92E06B3E522C9905F8EF/144ea4ebd0ce6e623b56f0248e9e297d5681bdc1/9015b4f7-1740-450b-90a9-974a331383cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220906T191231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f968bc2a36c5d8ccfa7559b397da8cb87a5cbf7e20c0bca900625e884209b8b [2022-09-06T19:12:31.427Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-06T19:12:31.427Z] Dload Upload Total Spent Left Speed [2022-09-06T19:12:31.999Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10599 0 0 100 10599 0 27038 --:--:-- --:--:-- --:--:-- 27038 [2022-09-06T19:12:31.999Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/144ea4ebd0ce6e623b56f0248e9e297d5681bdc1 [Pipeline] } [2022-09-06T19:12:32.026Z] 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-09-06T19:12:33.845Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-155/archives ] [2022-09-06T19:12:33.845Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-155/archives [2022-09-06T19:12:33.845Z] total 16 [2022-09-06T19:12:33.845Z] drwxr-xr-x 3 root root 4096 Sep 6 19:03 . [2022-09-06T19:12:33.845Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 19:03 .. [2022-09-06T19:12:33.845Z] drwxr-xr-x 2 root root 4096 Sep 6 19:03 cost [2022-09-06T19:12:33.845Z] -rw-r--r-- 1 root root 91 Sep 6 19:03 cost.csv [2022-09-06T19:12:33.845Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-155/archives [2022-09-06T19:12:33.845Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-155/archives [2022-09-06T19:12:33.845Z] total 16 [2022-09-06T19:12:33.845Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 19:03 . [2022-09-06T19:12:33.845Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 19:03 .. [2022-09-06T19:12:33.845Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 19:03 cost [2022-09-06T19:12:33.845Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 6 19:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:12:34.177Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:12:35.074Z] ---> package-listing.sh [2022-09-06T19:12:35.074Z] ++ facter osfamily [2022-09-06T19:12:35.074Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-06T19:12:35.336Z] + OS_FAMILY=debian [2022-09-06T19:12:35.336Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-155 [2022-09-06T19:12:35.336Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-06T19:12:35.336Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-06T19:12:35.336Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-06T19:12:35.336Z] + PACKAGES=/tmp/packages_start.txt [2022-09-06T19:12:35.336Z] + '[' /w/workspace/undry_device-onvif-camera_PR-155 ']' [2022-09-06T19:12:35.336Z] + PACKAGES=/tmp/packages_end.txt [2022-09-06T19:12:35.336Z] + case "${OS_FAMILY}" in [2022-09-06T19:12:35.336Z] + dpkg -l [2022-09-06T19:12:35.336Z] + grep '^ii' [2022-09-06T19:12:35.336Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-06T19:12:35.336Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-06T19:12:35.336Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-06T19:12:35.336Z] + '[' /w/workspace/undry_device-onvif-camera_PR-155 ']' [2022-09-06T19:12:35.336Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-155/archives/ [2022-09-06T19:12:35.336Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-155/archives/ [Pipeline] echo [2022-09-06T19:12:35.383Z] 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-155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-06T19:12:35.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T19:12:36.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T19:12:36.334Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T19:12:36.508Z] prd-ubuntu20.04-docker-8c-8g-24678 does not seem to be running inside a container [2022-09-06T19:12:36.554Z] $ 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-155/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-155 -v /w/workspace/undry_device-onvif-camera_PR-155:/w/workspace/undry_device-onvif-camera_PR-155:rw,z -v /w/workspace/undry_device-onvif-camera_PR-155@tmp:/w/workspace/undry_device-onvif-camera_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-06T19:12:36.777Z] $ docker top 22f393c7b9885be8271cd0064e5f1c8e3ddeb9d17e0ed6b542bced79a54ae862 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T19:12:37.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-06T19:12:37.501Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-06T19:12:37.829Z] + ls /var/log/sa-host [2022-09-06T19:12:37.829Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T19:12:37.985Z] provisioning config files... [2022-09-06T19:12:37.995Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-155@tmp/config8663535224870928204tmp [Pipeline] { [Pipeline] echo [2022-09-06T19:12:38.046Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:12:38.360Z] ---> create-netrc.sh [Pipeline] } [2022-09-06T19:12:38.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:12:38.808Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-06T19:12:38.841Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:12:39.154Z] ---> sudo-logs.sh [2022-09-06T19:12:39.154Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-06T19:12:39.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:12:39.552Z] ---> job-cost.sh [2022-09-06T19:12:39.552Z] lf-activate-venv: SKIPPING [2022-09-06T19:12:39.552Z] DEBUG: total: 0.2199999988079071 [2022-09-06T19:12:39.552Z] INFO: Retrieving Stack Cost... [2022-09-06T19:12:40.126Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-06T19:12:40.386Z] INFO: Archiving Costs [Pipeline] echo [2022-09-06T19:12:40.430Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T19:12:40.748Z] ---> logs-deploy.sh [2022-09-06T19:12:40.748Z] lf-activate-venv: SKIPPING [2022-09-06T19:12:40.748Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-155/1 [2022-09-06T19:12:40.748Z] INFO: archiving workspace using pattern(s): [2022-09-06T19:12:41.692Z] Archives upload complete. [2022-09-06T19:12:41.692Z] INFO: archiving logs to Nexus