Pull request #254 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 5eec883b2bb43bf890ad540a9146487d6a3ec42a rather than 66b34ea5b0bbb61c5cc803b4d26022937ad854dd Obtained Jenkinsfile from 5eec883b2bb43bf890ad540a9146487d6a3ec42a 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-ssh15632805686751911615.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2232905090681289266.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-254/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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10846861658362618383.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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4057263527197590205.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8145463272673324871.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-254/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-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3290173265046689341.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-8554’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8640’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8643 in /w/workspace/undry_device-onvif-camera_PR-254 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-254 # 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 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit 66b34ea5b0bbb61c5cc803b4d26022937ad854dd > 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/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66b34ea5b0bbb61c5cc803b4d26022937ad854dd # timeout=10 Merge succeeded, producing 66b34ea5b0bbb61c5cc803b4d26022937ad854dd Checking out Revision 66b34ea5b0bbb61c5cc803b4d26022937ad854dd (PR-254) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66b34ea5b0bbb61c5cc803b4d26022937ad854dd # timeout=10 Commit message: "refactor!: provision watcher code removed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T20:52:17.757Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T20:52:17.941Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T20:52:18.053Z] ========================================================= [2023-03-07T20:52:18.053Z] EdgeX Global Pipelines Version Info [2023-03-07T20:52:18.053Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T20:52:18.807Z] ------------------- [2023-03-07T20:52:18.807Z] stable info: [2023-03-07T20:52:18.807Z] ------------------- [2023-03-07T20:52:18.807Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T20:52:18.807Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T20:52:18.807Z] Message: update stable to v1.0.244 [2023-03-07T20:52:19.376Z] ------------------- [2023-03-07T20:52:19.376Z] experimental info: [2023-03-07T20:52:19.376Z] ------------------- [2023-03-07T20:52:19.376Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T20:52:19.376Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T20:52:19.376Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T20:52:19.702Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-07T20:52:19.750Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-07T20:52:19.796Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T20:52:19.838Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T20:52:19.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T20:52:19.927Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T20:52:19.975Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T20:52:20.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-07T20:52:20.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T20:52:20.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T20:52:20.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T20:52:20.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-07T20:52:20.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T20:52:20.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T20:52:20.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T20:52:20.347Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T20:52:20.389Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T20:52:20.429Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T20:52:20.470Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T20:52:20.514Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T20:52:20.557Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T20:52:20.600Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-07T20:52:20.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T20:52:20.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T20:52:20.732Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T20:52:20.767Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T20:52:20.809Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T20:52:20.852Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo [2023-03-07T20:52:20.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo [2023-03-07T20:52:20.936Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo [2023-03-07T20:52:20.980Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66b34ea5b0bbb61c5cc803b4d26022937ad854dd [Pipeline] echo [2023-03-07T20:52:21.018Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66b34ea [Pipeline] echo [2023-03-07T20:52:21.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T20:52:21.184Z] provisioning config files... [2023-03-07T20:52:21.199Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-254@tmp/config13154731819707012439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T20:52:21.550Z] ---> docker-login.sh [2023-03-07T20:52:21.550Z] nexus3.edgexfoundry.org:10001 [2023-03-07T20:52:21.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:21.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:21.809Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:21.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:21.809Z] [2023-03-07T20:52:21.809Z] Login Succeeded [2023-03-07T20:52:21.809Z] nexus3.edgexfoundry.org:10002 [2023-03-07T20:52:21.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:21.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:21.809Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:21.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:21.809Z] [2023-03-07T20:52:21.809Z] Login Succeeded [2023-03-07T20:52:21.809Z] nexus3.edgexfoundry.org:10003 [2023-03-07T20:52:22.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:22.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:22.067Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:22.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:22.067Z] [2023-03-07T20:52:22.067Z] Login Succeeded [2023-03-07T20:52:22.067Z] nexus3.edgexfoundry.org:10004 [2023-03-07T20:52:22.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:22.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:22.067Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:22.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:22.067Z] [2023-03-07T20:52:22.067Z] Login Succeeded [2023-03-07T20:52:22.067Z] docker.io [2023-03-07T20:52:22.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:22.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:22.327Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:22.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:22.327Z] [2023-03-07T20:52:22.327Z] Login Succeeded [2023-03-07T20:52:22.327Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T20:52:22.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T20:52:23.156Z] + git rev-list -1 --merges 66b34ea5b0bbb61c5cc803b4d26022937ad854dd~1..66b34ea5b0bbb61c5cc803b4d26022937ad854dd [Pipeline] echo [2023-03-07T20:52:23.216Z] -----------> git rev-list -1 --merges 66b34ea5b0bbb61c5cc803b4d26022937ad854dd~1..66b34ea5b0bbb61c5cc803b4d26022937ad854dd 66b34ea5b0bbb61c5cc803b4d26022937ad854dd [false] [Pipeline] sh [2023-03-07T20:52:23.525Z] + git log --format=format:%s -1 66b34ea5b0bbb61c5cc803b4d26022937ad854dd [Pipeline] echo [2023-03-07T20:52:23.566Z] ========================================================= [2023-03-07T20:52:23.566Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T20:52:23.566Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T20:52:24.005Z] + git log --format=format:%s -1 66b34ea5b0bbb61c5cc803b4d26022937ad854dd [Pipeline] echo [2023-03-07T20:52:24.035Z] [semverPrep] GIT_COMMIT: 66b34ea5b0bbb61c5cc803b4d26022937ad854dd, Commit Message: refactor!: provision watcher code removed [Pipeline] echo [2023-03-07T20:52:24.063Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T20:52:24.433Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T20:52:24.433Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T20:52:24.433Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T20:52:24.433Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T20:52:24.433Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T20:52:24.433Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T20:52:24.433Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:52:24.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T20:52:24.850Z] [2023-03-07T20:52:24.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:52:25.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T20:52:25.229Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T20:52:25.229Z] b85a868b505f: Pulling fs layer [2023-03-07T20:52:25.229Z] e2be974225ed: Pulling fs layer [2023-03-07T20:52:25.229Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T20:52:25.229Z] 988bab9f4d93: Pulling fs layer [2023-03-07T20:52:25.229Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T20:52:25.229Z] eaf3925da568: Pulling fs layer [2023-03-07T20:52:25.229Z] bab4dde63d76: Pulling fs layer [2023-03-07T20:52:25.229Z] bde34c3a00c8: Pulling fs layer [2023-03-07T20:52:25.229Z] b352a97aabf1: Pulling fs layer [2023-03-07T20:52:25.229Z] 4872d77fe225: Pulling fs layer [2023-03-07T20:52:25.229Z] 5851b861e8e6: Pulling fs layer [2023-03-07T20:52:25.229Z] bab4dde63d76: Waiting [2023-03-07T20:52:25.229Z] bde34c3a00c8: Waiting [2023-03-07T20:52:25.229Z] 988bab9f4d93: Waiting [2023-03-07T20:52:25.229Z] b352a97aabf1: Waiting [2023-03-07T20:52:25.229Z] 4872d77fe225: Waiting [2023-03-07T20:52:25.229Z] 5851b861e8e6: Waiting [2023-03-07T20:52:25.229Z] eaf3925da568: Waiting [2023-03-07T20:52:25.229Z] e2be974225ed: Verifying Checksum [2023-03-07T20:52:25.229Z] e2be974225ed: Download complete [2023-03-07T20:52:25.229Z] 988bab9f4d93: Verifying Checksum [2023-03-07T20:52:25.229Z] 988bab9f4d93: Download complete [2023-03-07T20:52:25.493Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T20:52:25.493Z] 1469e6f7b9e6: Download complete [2023-03-07T20:52:25.493Z] eaf3925da568: Verifying Checksum [2023-03-07T20:52:25.493Z] eaf3925da568: Download complete [2023-03-07T20:52:25.493Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T20:52:25.493Z] 339a4e72a1f5: Download complete [2023-03-07T20:52:25.493Z] bde34c3a00c8: Download complete [2023-03-07T20:52:25.493Z] b352a97aabf1: Download complete [2023-03-07T20:52:25.493Z] 4872d77fe225: Download complete [2023-03-07T20:52:25.493Z] 5851b861e8e6: Verifying Checksum [2023-03-07T20:52:25.493Z] 5851b861e8e6: Download complete [2023-03-07T20:52:25.754Z] b85a868b505f: Verifying Checksum [2023-03-07T20:52:25.754Z] b85a868b505f: Download complete [2023-03-07T20:52:26.012Z] bab4dde63d76: Verifying Checksum [2023-03-07T20:52:26.012Z] bab4dde63d76: Download complete [2023-03-07T20:52:26.944Z] b85a868b505f: Pull complete [2023-03-07T20:52:26.944Z] e2be974225ed: Pull complete [2023-03-07T20:52:27.509Z] 339a4e72a1f5: Pull complete [2023-03-07T20:52:27.509Z] 988bab9f4d93: Pull complete [2023-03-07T20:52:27.769Z] 1469e6f7b9e6: Pull complete [2023-03-07T20:52:27.769Z] eaf3925da568: Pull complete [2023-03-07T20:52:29.673Z] bab4dde63d76: Pull complete [2023-03-07T20:52:29.673Z] bde34c3a00c8: Pull complete [2023-03-07T20:52:29.673Z] b352a97aabf1: Pull complete [2023-03-07T20:52:29.673Z] 4872d77fe225: Pull complete [2023-03-07T20:52:29.673Z] 5851b861e8e6: Pull complete [2023-03-07T20:52:29.673Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T20:52:29.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T20:52:29.673Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T20:52:29.903Z] prd-ubuntu20.04-docker-8c-8g-8643 does not seem to be running inside a container [2023-03-07T20:52:29.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-254 -v /w/workspace/undry_device-onvif-camera_PR-254:/w/workspace/undry_device-onvif-camera_PR-254:rw,z -v /w/workspace/undry_device-onvif-camera_PR-254@tmp:/w/workspace/undry_device-onvif-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T20:52:32.310Z] $ docker top 83e56c7f39a8168cd36718efe464ad272040766ace8d481df4bbfabbb82d10cf -eo pid,comm [2023-03-07T20:52:32.365Z] 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). [2023-03-07T20:52:32.365Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T20:52:32.481Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T20:52:32.481Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T20:52:32.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T20:52:32.603Z] $ docker exec 83e56c7f39a8168cd36718efe464ad272040766ace8d481df4bbfabbb82d10cf ssh-agent [2023-03-07T20:52:32.700Z] SSH_AUTH_SOCK=/tmp/ssh-lZ8rFO8ZKi4P/agent.33 [2023-03-07T20:52:32.700Z] SSH_AGENT_PID=39 [2023-03-07T20:52:32.706Z] Running ssh-add (command line suppressed) [2023-03-07T20:52:32.810Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-254@tmp/private_key_11319383557438415320.key (/w/workspace/undry_device-onvif-camera_PR-254@tmp/private_key_11319383557438415320.key) [2023-03-07T20:52:32.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T20:52:33.151Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T20:52:33.173Z] $ docker exec --env ******** --env ******** 83e56c7f39a8168cd36718efe464ad272040766ace8d481df4bbfabbb82d10cf ssh-agent -k [2023-03-07T20:52:33.257Z] unset SSH_AUTH_SOCK; [2023-03-07T20:52:33.257Z] unset SSH_AGENT_PID; [2023-03-07T20:52:33.257Z] echo Agent pid 39 killed; [2023-03-07T20:52:33.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T20:52:33.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T20:52:33.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T20:52:33.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T20:52:33.458Z] $ docker exec 83e56c7f39a8168cd36718efe464ad272040766ace8d481df4bbfabbb82d10cf ssh-agent [2023-03-07T20:52:33.560Z] SSH_AUTH_SOCK=/tmp/ssh-fAruxwU4RuNn/agent.71 [2023-03-07T20:52:33.560Z] SSH_AGENT_PID=77 [2023-03-07T20:52:33.564Z] Running ssh-add (command line suppressed) [2023-03-07T20:52:33.661Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-254@tmp/private_key_3101302966529161056.key (/w/workspace/undry_device-onvif-camera_PR-254@tmp/private_key_3101302966529161056.key) [2023-03-07T20:52:33.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T20:52:34.001Z] + git semver init [2023-03-07T20:52:34.260Z] 2023-03-07 20:52:34,176 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T20:52:34.260Z] 2023-03-07 20:52:34,177 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-254/.semver [2023-03-07T20:52:34.260Z] 2023-03-07 20:52:34,178 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-254/.semver [2023-03-07T20:52:34.260Z] 2023-03-07 20:52:34,178 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-254/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-254, universal_newlines=False, shell=None, istream=None) [2023-03-07T20:52:35.211Z] 2023-03-07 20:52:35,144 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-254/.git/info/exclude [2023-03-07T20:52:35.211Z] 2023-03-07 20:52:35,145 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-254/.semver/PR-254 with force:False [2023-03-07T20:52:35.211Z] 2023-03-07 20:52:35,145 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-254/.semver/PR-254 [2023-03-07T20:52:35.211Z] 2023-03-07 20:52:35,148 [execute] INFO git cat-file --batch-check [2023-03-07T20:52:35.211Z] 2023-03-07 20:52:35,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T20:52:35.211Z] 2023-03-07 20:52:35,154 [execute] INFO git cat-file --batch [2023-03-07T20:52:35.211Z] 2023-03-07 20:52:35,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T20:52:35.211Z] 2023-03-07 20:52:35,159 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-254/.semver/PR-254 [2023-03-07T20:52:35.211Z] 0.0.0 [Pipeline] } [2023-03-07T20:52:35.238Z] $ docker exec --env ******** --env ******** 83e56c7f39a8168cd36718efe464ad272040766ace8d481df4bbfabbb82d10cf ssh-agent -k [2023-03-07T20:52:35.333Z] unset SSH_AUTH_SOCK; [2023-03-07T20:52:35.333Z] unset SSH_AGENT_PID; [2023-03-07T20:52:35.333Z] echo Agent pid 77 killed; [2023-03-07T20:52:35.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T20:52:35.763Z] + git semver [Pipeline] } [2023-03-07T20:52:36.045Z] $ docker stop --time=1 83e56c7f39a8168cd36718efe464ad272040766ace8d481df4bbfabbb82d10cf [2023-03-07T20:52:37.328Z] $ docker rm -f --volumes 83e56c7f39a8168cd36718efe464ad272040766ace8d481df4bbfabbb82d10cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T20:52:37.716Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T20:52:37.976Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T20:52:37.995Z] [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 [2023-03-07T20:52:38.557Z] provisioning config files... [2023-03-07T20:52:38.566Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-254@tmp/config15084617389581718248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T20:52:38.917Z] ---> docker-login.sh [2023-03-07T20:52:38.917Z] nexus3.edgexfoundry.org:10001 [2023-03-07T20:52:38.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:38.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:38.917Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:38.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:38.917Z] [2023-03-07T20:52:38.917Z] Login Succeeded [2023-03-07T20:52:38.917Z] nexus3.edgexfoundry.org:10002 [2023-03-07T20:52:38.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:38.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:38.918Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:38.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:38.918Z] [2023-03-07T20:52:38.918Z] Login Succeeded [2023-03-07T20:52:38.918Z] nexus3.edgexfoundry.org:10003 [2023-03-07T20:52:39.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:39.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:39.175Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:39.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:39.175Z] [2023-03-07T20:52:39.175Z] Login Succeeded [2023-03-07T20:52:39.175Z] nexus3.edgexfoundry.org:10004 [2023-03-07T20:52:39.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:39.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:39.175Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:39.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:39.175Z] [2023-03-07T20:52:39.175Z] Login Succeeded [2023-03-07T20:52:39.175Z] docker.io [2023-03-07T20:52:39.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:52:39.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:52:39.436Z] Configure a credential helper to remove this warning. See [2023-03-07T20:52:39.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:52:39.436Z] [2023-03-07T20:52:39.436Z] Login Succeeded [2023-03-07T20:52:39.436Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T20:52:39.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T20:52:39.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T20:52:39.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T20:52:39.722Z] ========================================================= [2023-03-07T20:52:39.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T20:52:39.722Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:52:40.217Z] + 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 . [2023-03-07T20:52:40.217Z] Sending build context to Docker daemon 27.86MB [2023-03-07T20:52:40.217Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T20:52:40.217Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T20:52:40.477Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T20:52:40.477Z] 213ec9aee27d: Pulling fs layer [2023-03-07T20:52:40.477Z] 4583459ba037: Pulling fs layer [2023-03-07T20:52:40.477Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T20:52:40.477Z] 53926ce57604: Pulling fs layer [2023-03-07T20:52:40.477Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T20:52:40.477Z] 22ff95d597cd: Pulling fs layer [2023-03-07T20:52:40.477Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T20:52:40.477Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T20:52:40.477Z] a7acece74701: Pulling fs layer [2023-03-07T20:52:40.477Z] 12d6caf4c0d1: Waiting [2023-03-07T20:52:40.477Z] 96b7cbca73a9: Waiting [2023-03-07T20:52:40.477Z] a7acece74701: Waiting [2023-03-07T20:52:40.477Z] 53926ce57604: Waiting [2023-03-07T20:52:40.477Z] 21b2b0c7a3f4: Waiting [2023-03-07T20:52:40.477Z] 22ff95d597cd: Waiting [2023-03-07T20:52:40.477Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T20:52:40.477Z] 93c1e223e6f2: Download complete [2023-03-07T20:52:40.477Z] 4583459ba037: Download complete [2023-03-07T20:52:40.477Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T20:52:40.477Z] 21b2b0c7a3f4: Download complete [2023-03-07T20:52:40.477Z] 22ff95d597cd: Download complete [2023-03-07T20:52:40.477Z] 213ec9aee27d: Verifying Checksum [2023-03-07T20:52:40.477Z] 213ec9aee27d: Download complete [2023-03-07T20:52:40.477Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T20:52:40.477Z] 12d6caf4c0d1: Download complete [2023-03-07T20:52:40.477Z] 213ec9aee27d: Pull complete [2023-03-07T20:52:40.740Z] 4583459ba037: Pull complete [2023-03-07T20:52:40.740Z] 93c1e223e6f2: Pull complete [2023-03-07T20:52:41.001Z] a7acece74701: Verifying Checksum [2023-03-07T20:52:41.001Z] a7acece74701: Download complete [2023-03-07T20:52:41.258Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T20:52:41.258Z] 96b7cbca73a9: Download complete [2023-03-07T20:52:41.258Z] 53926ce57604: Verifying Checksum [2023-03-07T20:52:41.258Z] 53926ce57604: Download complete [2023-03-07T20:52:45.435Z] 53926ce57604: Pull complete [2023-03-07T20:52:45.435Z] 21b2b0c7a3f4: Pull complete [2023-03-07T20:52:45.435Z] 22ff95d597cd: Pull complete [2023-03-07T20:52:45.435Z] 12d6caf4c0d1: Pull complete [2023-03-07T20:52:47.331Z] 96b7cbca73a9: Pull complete [2023-03-07T20:52:47.895Z] a7acece74701: Pull complete [2023-03-07T20:52:47.895Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T20:52:47.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T20:52:47.895Z] ---> db6d94c90886 [2023-03-07T20:52:47.895Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T20:52:52.193Z] ---> Running in b0795ee9ce62 [2023-03-07T20:52:52.193Z] Removing intermediate container b0795ee9ce62 [2023-03-07T20:52:52.193Z] ---> e4303c965e72 [2023-03-07T20:52:52.193Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T20:52:52.193Z] ---> Running in 585a35c42af5 [2023-03-07T20:52:52.193Z] Removing intermediate container 585a35c42af5 [2023-03-07T20:52:52.193Z] ---> 4c1dc0b6ad44 [2023-03-07T20:52:52.193Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T20:52:52.193Z] ---> Running in 9ed6fb1fbca9 [2023-03-07T20:52:52.193Z] Removing intermediate container 9ed6fb1fbca9 [2023-03-07T20:52:52.193Z] ---> 0aa04c17cc66 [2023-03-07T20:52:52.193Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T20:52:52.193Z] ---> Running in 11ac4285e7f6 [2023-03-07T20:52:52.193Z] Removing intermediate container 11ac4285e7f6 [2023-03-07T20:52:52.193Z] ---> 388aef4c2ef3 [2023-03-07T20:52:52.193Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-07T20:52:52.193Z] ---> Running in 95702a1a8173 [2023-03-07T20:52:52.193Z] Removing intermediate container 95702a1a8173 [2023-03-07T20:52:52.193Z] ---> 565c253f0155 [2023-03-07T20:52:52.193Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T20:52:52.193Z] ---> Running in b095f7659403 [2023-03-07T20:52:52.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T20:52:52.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T20:52:52.710Z] OK: 211 MiB in 51 packages [2023-03-07T20:52:52.968Z] Removing intermediate container b095f7659403 [2023-03-07T20:52:52.968Z] ---> 66ec0cd938df [2023-03-07T20:52:52.968Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-07T20:52:52.968Z] ---> Running in 5ce128e7cb80 [2023-03-07T20:52:52.968Z] Removing intermediate container 5ce128e7cb80 [2023-03-07T20:52:52.968Z] ---> d6e9ee4f6512 [2023-03-07T20:52:52.968Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-07T20:52:53.227Z] ---> 6db57bf4a6da [2023-03-07T20:52:53.227Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T20:52:53.227Z] ---> Running in 087cc3e98302 [2023-03-07T20:52:53.374Z] Still waiting to schedule task [2023-03-07T20:52:53.374Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8641’ [2023-03-07T20:53:19.849Z] Removing intermediate container 087cc3e98302 [2023-03-07T20:53:19.849Z] ---> f6055b3221e0 [2023-03-07T20:53:19.849Z] Step 12/13 : COPY . . [2023-03-07T20:53:20.432Z] ---> 1ad8c1f99d33 [2023-03-07T20:53:20.432Z] Step 13/13 : RUN ${MAKE} [2023-03-07T20:53:20.432Z] ---> Running in 0d8190c7e37e [2023-03-07T20:53:20.690Z] noop [2023-03-07T20:53:20.948Z] Removing intermediate container 0d8190c7e37e [2023-03-07T20:53:20.948Z] ---> e6ee4fb5d4ae [2023-03-07T20:53:20.948Z] Successfully built e6ee4fb5d4ae [2023-03-07T20:53:20.948Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:53:21.392Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T20:53:21.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T20:53:21.553Z] prd-ubuntu20.04-docker-8c-8g-8643 does not seem to be running inside a container [2023-03-07T20:53:21.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-254 -v /w/workspace/undry_device-onvif-camera_PR-254:/w/workspace/undry_device-onvif-camera_PR-254:rw,z -v /w/workspace/undry_device-onvif-camera_PR-254@tmp:/w/workspace/undry_device-onvif-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T20:53:21.942Z] $ docker top 867c06a207899e4b85dfd5fcec0b34bedcdb825c3a466929b252bb6dd5e3cd17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T20:53:22.331Z] + go version [2023-03-07T20:53:22.332Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T20:53:22.367Z] $ docker stop --time=1 867c06a207899e4b85dfd5fcec0b34bedcdb825c3a466929b252bb6dd5e3cd17 [2023-03-07T20:53:23.677Z] $ docker rm -f --volumes 867c06a207899e4b85dfd5fcec0b34bedcdb825c3a466929b252bb6dd5e3cd17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:53:24.359Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T20:53:24.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T20:53:24.515Z] prd-ubuntu20.04-docker-8c-8g-8643 does not seem to be running inside a container [2023-03-07T20:53:24.549Z] $ 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-254 -v /w/workspace/undry_device-onvif-camera_PR-254:/w/workspace/undry_device-onvif-camera_PR-254:rw,z -v /w/workspace/undry_device-onvif-camera_PR-254@tmp:/w/workspace/undry_device-onvif-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T20:53:24.860Z] $ docker top 3fc720f6a7556b9dd762de60076cf361b0ce1569d16d045b659072adb1e106d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T20:53:25.253Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-254 [Pipeline] fileExists [Pipeline] sh [2023-03-07T20:53:25.612Z] + make test [2023-03-07T20:53:25.612Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T20:53:25.870Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-07T20:53:35.860Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-07T20:53:38.398Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 30.5% of statements [2023-03-07T20:53:38.398Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-07T20:53:38.398Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.510s coverage: 86.5% of statements [2023-03-07T20:53:46.528Z] 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." [2023-03-07T20:53:46.528Z] go vet ./... [2023-03-07T20:53:49.058Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T20:53:49.058Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T20:53:49.058Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T20:53:49.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T20:53:49.384Z] $ docker stop --time=1 3fc720f6a7556b9dd762de60076cf361b0ce1569d16d045b659072adb1e106d5 [2023-03-07T20:53:51.777Z] $ docker rm -f --volumes 3fc720f6a7556b9dd762de60076cf361b0ce1569d16d045b659072adb1e106d5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T20:53:52.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T20:53:52.381Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T20:53:52.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T20:53:53.265Z] + ls -al . [2023-03-07T20:53:53.265Z] total 232 [2023-03-07T20:53:53.265Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 20:53 . [2023-03-07T20:53:53.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 20:52 .. [2023-03-07T20:53:53.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 20:53 .git [2023-03-07T20:53:53.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 20:52 .github [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 20:52 .gitignore [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 20:52 .golangci.yml [2023-03-07T20:53:53.265Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 20:52 .semver [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 20:52 Attribution.txt [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 20:52 CHANGELOG.md [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 20:52 Dockerfile [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 20:52 GOVERNANCE.md [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 20:52 Jenkinsfile [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 20:52 LICENSE [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 20:52 Makefile [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 20:52 OWNERS.md [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 20:52 README.md [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 20:52 VERSION [2023-03-07T20:53:53.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 20:52 bin [2023-03-07T20:53:53.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 20:52 cmd [2023-03-07T20:53:53.265Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 7 20:53 coverage.out [2023-03-07T20:53:53.265Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 20:52 doc [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 20:52 go.mod [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 7 20:52 go.sum [2023-03-07T20:53:53.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 20:52 internal [2023-03-07T20:53:53.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 20:52 snap [2023-03-07T20:53:53.265Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 20:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:53:53.642Z] + 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=66b34ea5b0bbb61c5cc803b4d26022937ad854dd --label arch=amd64 --label version=0.0.0 . [2023-03-07T20:53:53.642Z] Sending build context to Docker daemon 27.93MB [2023-03-07T20:53:53.642Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T20:53:53.642Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-07T20:53:53.642Z] ---> e6ee4fb5d4ae [2023-03-07T20:53:53.642Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-07T20:53:54.222Z] ---> Running in 5ad712378770 [2023-03-07T20:53:54.222Z] Removing intermediate container 5ad712378770 [2023-03-07T20:53:54.222Z] ---> 0ee2eaf79882 [2023-03-07T20:53:54.222Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T20:53:54.222Z] ---> Running in 126377b239d4 [2023-03-07T20:53:54.222Z] Removing intermediate container 126377b239d4 [2023-03-07T20:53:54.222Z] ---> 0e2232c380df [2023-03-07T20:53:54.222Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T20:53:54.222Z] ---> Running in e39b852b5bbb [2023-03-07T20:53:54.222Z] Removing intermediate container e39b852b5bbb [2023-03-07T20:53:54.222Z] ---> f7f155968dea [2023-03-07T20:53:54.222Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T20:53:54.222Z] ---> Running in 7bebf9aa3394 [2023-03-07T20:53:54.481Z] Removing intermediate container 7bebf9aa3394 [2023-03-07T20:53:54.481Z] ---> af71b1711378 [2023-03-07T20:53:54.481Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-07T20:53:54.481Z] ---> Running in ca5176c82a1e [2023-03-07T20:53:54.481Z] Removing intermediate container ca5176c82a1e [2023-03-07T20:53:54.481Z] ---> df81e65b8676 [2023-03-07T20:53:54.481Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T20:53:54.481Z] ---> Running in de3fb4b1f9b2 [2023-03-07T20:53:54.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T20:53:54.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T20:53:55.001Z] OK: 211 MiB in 51 packages [2023-03-07T20:53:55.567Z] Removing intermediate container de3fb4b1f9b2 [2023-03-07T20:53:55.567Z] ---> 89d068f712c9 [2023-03-07T20:53:55.567Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-07T20:53:55.567Z] ---> Running in 73cfa157dffa [2023-03-07T20:53:55.567Z] Removing intermediate container 73cfa157dffa [2023-03-07T20:53:55.567Z] ---> faffa7e0d53e [2023-03-07T20:53:55.567Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-07T20:53:55.567Z] ---> 27a56c1bb67a [2023-03-07T20:53:55.567Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T20:53:55.567Z] ---> Running in b70ab1c3553b [2023-03-07T20:53:56.503Z] Removing intermediate container b70ab1c3553b [2023-03-07T20:53:56.503Z] ---> 39d348454ccc [2023-03-07T20:53:56.503Z] Step 12/26 : COPY . . [2023-03-07T20:53:57.438Z] ---> 08d5309b5d43 [2023-03-07T20:53:57.438Z] Step 13/26 : RUN ${MAKE} [2023-03-07T20:53:57.438Z] ---> Running in 701a3a3335e7 [2023-03-07T20:53:57.697Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-07T20:54:19.632Z] Removing intermediate container 701a3a3335e7 [2023-03-07T20:54:19.632Z] ---> 544085a16d5d [2023-03-07T20:54:19.632Z] Step 14/26 : FROM alpine:3.16 [2023-03-07T20:54:19.632Z] 3.16: Pulling from library/alpine [2023-03-07T20:54:19.632Z] ef5531b6e74e: Pulling fs layer [2023-03-07T20:54:19.632Z] ef5531b6e74e: Download complete [2023-03-07T20:54:19.632Z] ef5531b6e74e: Pull complete [2023-03-07T20:54:19.632Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T20:54:19.632Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T20:54:19.632Z] ---> dfd21b5a31f5 [2023-03-07T20:54:19.632Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T20:54:19.632Z] ---> Running in ff9e24d6b947 [2023-03-07T20:54:19.632Z] Removing intermediate container ff9e24d6b947 [2023-03-07T20:54:19.632Z] ---> d6250e49d980 [2023-03-07T20:54:19.632Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-07T20:54:19.632Z] ---> Running in e2cedac77ee1 [2023-03-07T20:54:19.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T20:54:19.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T20:54:19.633Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T20:54:19.633Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T20:54:19.633Z] OK: 6 MiB in 15 packages [2023-03-07T20:54:19.891Z] Removing intermediate container e2cedac77ee1 [2023-03-07T20:54:19.891Z] ---> 728753d8697d [2023-03-07T20:54:19.891Z] Step 17/26 : WORKDIR / [2023-03-07T20:54:19.891Z] ---> Running in 98b076050f6f [2023-03-07T20:54:19.891Z] Removing intermediate container 98b076050f6f [2023-03-07T20:54:19.891Z] ---> d79dc3d233cd [2023-03-07T20:54:19.891Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-07T20:54:20.826Z] ---> b95162619dd2 [2023-03-07T20:54:20.826Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-07T20:54:20.826Z] ---> 2af7da23693b [2023-03-07T20:54:20.826Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-07T20:54:21.084Z] ---> 805796307e73 [2023-03-07T20:54:21.084Z] Step 21/26 : EXPOSE 59984 [2023-03-07T20:54:21.084Z] ---> Running in 86631b72231a [2023-03-07T20:54:21.084Z] Removing intermediate container 86631b72231a [2023-03-07T20:54:21.084Z] ---> 5539a734e944 [2023-03-07T20:54:21.084Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-07T20:54:21.084Z] ---> Running in d63839ed6bb0 [2023-03-07T20:54:21.084Z] Removing intermediate container d63839ed6bb0 [2023-03-07T20:54:21.084Z] ---> 3462bcfdb136 [2023-03-07T20:54:21.084Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T20:54:21.084Z] ---> Running in 6987b69c29e2 [2023-03-07T20:54:21.343Z] Removing intermediate container 6987b69c29e2 [2023-03-07T20:54:21.343Z] ---> 6b46b0eb78bc [2023-03-07T20:54:21.343Z] Step 24/26 : LABEL arch=amd64 [2023-03-07T20:54:21.343Z] ---> Running in 5a0679f27ead [2023-03-07T20:54:21.343Z] Removing intermediate container 5a0679f27ead [2023-03-07T20:54:21.343Z] ---> 8b50be8f3448 [2023-03-07T20:54:21.343Z] Step 25/26 : LABEL git_sha=66b34ea5b0bbb61c5cc803b4d26022937ad854dd [2023-03-07T20:54:21.343Z] ---> Running in b02c7f34034d [2023-03-07T20:54:21.343Z] Removing intermediate container b02c7f34034d [2023-03-07T20:54:21.343Z] ---> 51f2efbe1b39 [2023-03-07T20:54:21.343Z] Step 26/26 : LABEL version=0.0.0 [2023-03-07T20:54:21.343Z] ---> Running in d39dd9cbb1b5 [2023-03-07T20:54:21.601Z] Removing intermediate container d39dd9cbb1b5 [2023-03-07T20:54:21.601Z] ---> da6cebeccdfc [2023-03-07T20:54:21.601Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T20:54:21.601Z] Successfully built da6cebeccdfc [2023-03-07T20:54:21.601Z] 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 [2023-03-07T20:54:22.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T20:54:22.464Z] [2023-03-07T20:54:22.464Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:54:22.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T20:54:22.906Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T20:54:22.906Z] 5eb5b503b376: Pulling fs layer [2023-03-07T20:54:22.906Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T20:54:22.906Z] ec43610c2a17: Pulling fs layer [2023-03-07T20:54:22.906Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T20:54:22.906Z] 33b1e0a273af: Pulling fs layer [2023-03-07T20:54:22.906Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T20:54:22.906Z] 2f39f015ded8: Pulling fs layer [2023-03-07T20:54:22.906Z] 3a2ae6a8a46f: Waiting [2023-03-07T20:54:22.906Z] 33b1e0a273af: Waiting [2023-03-07T20:54:22.906Z] 5d3b04190fa2: Waiting [2023-03-07T20:54:22.906Z] 2f39f015ded8: Waiting [2023-03-07T20:54:22.906Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T20:54:22.906Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T20:54:22.906Z] 3a2ae6a8a46f: Download complete [2023-03-07T20:54:23.165Z] 33b1e0a273af: Verifying Checksum [2023-03-07T20:54:23.165Z] 33b1e0a273af: Download complete [2023-03-07T20:54:23.165Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T20:54:23.165Z] 5d3b04190fa2: Download complete [2023-03-07T20:54:23.165Z] ec43610c2a17: Verifying Checksum [2023-03-07T20:54:23.165Z] ec43610c2a17: Download complete [2023-03-07T20:54:23.165Z] 5eb5b503b376: Verifying Checksum [2023-03-07T20:54:23.165Z] 5eb5b503b376: Download complete [2023-03-07T20:54:23.738Z] 2f39f015ded8: Download complete [2023-03-07T20:54:24.305Z] 5eb5b503b376: Pull complete [2023-03-07T20:54:24.305Z] 5c69ac0246d0: Pull complete [2023-03-07T20:54:24.871Z] ec43610c2a17: Pull complete [2023-03-07T20:54:24.871Z] 3a2ae6a8a46f: Pull complete [2023-03-07T20:54:25.129Z] 33b1e0a273af: Pull complete [2023-03-07T20:54:25.129Z] 5d3b04190fa2: Pull complete [2023-03-07T20:54:29.314Z] 2f39f015ded8: Pull complete [2023-03-07T20:54:29.314Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T20:54:29.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T20:54:29.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T20:54:29.587Z] prd-ubuntu20.04-docker-8c-8g-8643 does not seem to be running inside a container [2023-03-07T20:54:29.620Z] $ 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-254 -v /w/workspace/undry_device-onvif-camera_PR-254:/w/workspace/undry_device-onvif-camera_PR-254:rw,z -v /w/workspace/undry_device-onvif-camera_PR-254@tmp:/w/workspace/undry_device-onvif-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T20:54:32.498Z] $ docker top bad3fd1ea616bdf76e66b3ba87cf37e21660be722a3352b65c97e71f024d0ecc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T20:54:32.945Z] ---> job-cost.sh [2023-03-07T20:54:32.945Z] lf-activate-venv: SKIPPING [2023-03-07T20:54:32.945Z] INFO: No Stack... [2023-03-07T20:54:33.203Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T20:54:33.460Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T20:54:33.773Z] + cat /w/workspace/undry_device-onvif-camera_PR-254/archives/cost.csv [2023-03-07T20:54:33.774Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T20:54:33.814Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-254-1-stack-cost] [2023-03-07T20:54:33.820Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-254-1-stack-cost] did not exist. Created. [2023-03-07T20:54:33.820Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-254-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T20:54:34.208Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T20:54:34.254Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T20:54:34.275Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-254-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T20:54:34.348Z] $ docker stop --time=1 bad3fd1ea616bdf76e66b3ba87cf37e21660be722a3352b65c97e71f024d0ecc [2023-03-07T20:54:35.497Z] $ docker rm -f --volumes bad3fd1ea616bdf76e66b3ba87cf37e21660be722a3352b65c97e71f024d0ecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T20:55:59.743Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8647 in /w/workspace/undry_device-onvif-camera_PR-254 [Pipeline] { [Pipeline] ws [2023-03-07T20:55:59.804Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-07T20:55:59.892Z] The recommended git tool is: git [2023-03-07T20:56:07.343Z] using credential edgex-jenkins-ssh [2023-03-07T20:56:07.363Z] Cloning the remote Git repository [2023-03-07T20:56:07.439Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T20:56:07.570Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-07T20:56:07.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T20:56:07.792Z] > git --version # timeout=10 [2023-03-07T20:56:07.819Z] > git --version # 'git version 2.25.1' [2023-03-07T20:56:07.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T20:56:07.897Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T20:56:09.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-07T20:56:09.531Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T20:56:11.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-07T20:56:11.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T20:56:11.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T20:56:11.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T20:56:12.125Z] Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit 66b34ea5b0bbb61c5cc803b4d26022937ad854dd [2023-03-07T20:56:12.695Z] Merge succeeded, producing 66b34ea5b0bbb61c5cc803b4d26022937ad854dd [2023-03-07T20:56:12.696Z] Checking out Revision 66b34ea5b0bbb61c5cc803b4d26022937ad854dd (PR-254) [2023-03-07T20:56:12.152Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T20:56:12.176Z] > git checkout -f 66b34ea5b0bbb61c5cc803b4d26022937ad854dd # timeout=10 [2023-03-07T20:56:12.565Z] > git remote # timeout=10 [2023-03-07T20:56:12.592Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T20:56:12.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T20:56:12.635Z] > git merge 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 [2023-03-07T20:56:12.672Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T20:56:12.704Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T20:56:12.723Z] > git checkout -f 66b34ea5b0bbb61c5cc803b4d26022937ad854dd # timeout=10 [2023-03-07T20:56:17.043Z] Commit message: "refactor!: provision watcher code removed" [2023-03-07T20:56:17.127Z] > git --version # timeout=10 [2023-03-07T20:56:17.145Z] > git --version # 'git version 2.25.1' [2023-03-07T20:56:17.167Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T20:56:19.046Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T20:56:19.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T20:56:19.046Z] Dload Upload Total Spent Left Speed [2023-03-07T20:56:19.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 116k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh [2023-03-07T20:56:19.820Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T20:56:20.337Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T20:56:20.337Z] + sudo tee /etc/docker/daemon.new [2023-03-07T20:56:20.337Z] { [2023-03-07T20:56:20.337Z] "registry-mirrors": [ [2023-03-07T20:56:20.337Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T20:56:20.337Z] ], [2023-03-07T20:56:20.337Z] "bip": "10.250.0.254/24", [2023-03-07T20:56:20.337Z] "hosts": [ [2023-03-07T20:56:20.337Z] "tcp://0.0.0.0:5555", [2023-03-07T20:56:20.337Z] "unix:///var/run/docker.sock" [2023-03-07T20:56:20.337Z] ], [2023-03-07T20:56:20.337Z] "mtu": 1458, [2023-03-07T20:56:20.337Z] "selinux-enabled": true, [2023-03-07T20:56:20.337Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T20:56:20.337Z] } [Pipeline] sh [2023-03-07T20:56:20.716Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T20:56:21.135Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T20:56:39.552Z] provisioning config files... [2023-03-07T20:56:39.588Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8028199741679544288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T20:56:40.005Z] ---> docker-login.sh [2023-03-07T20:56:40.005Z] nexus3.edgexfoundry.org:10001 [2023-03-07T20:56:40.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:56:40.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:56:40.602Z] Configure a credential helper to remove this warning. See [2023-03-07T20:56:40.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:56:40.602Z] [2023-03-07T20:56:40.602Z] Login Succeeded [2023-03-07T20:56:40.874Z] nexus3.edgexfoundry.org:10002 [2023-03-07T20:56:41.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:56:41.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:56:41.146Z] Configure a credential helper to remove this warning. See [2023-03-07T20:56:41.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:56:41.146Z] [2023-03-07T20:56:41.146Z] Login Succeeded [2023-03-07T20:56:41.146Z] nexus3.edgexfoundry.org:10003 [2023-03-07T20:56:41.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:56:41.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:56:41.691Z] Configure a credential helper to remove this warning. See [2023-03-07T20:56:41.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:56:41.691Z] [2023-03-07T20:56:41.691Z] Login Succeeded [2023-03-07T20:56:41.691Z] nexus3.edgexfoundry.org:10004 [2023-03-07T20:56:41.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:56:41.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:56:41.964Z] Configure a credential helper to remove this warning. See [2023-03-07T20:56:41.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:56:41.964Z] [2023-03-07T20:56:41.964Z] Login Succeeded [2023-03-07T20:56:41.964Z] docker.io [2023-03-07T20:56:42.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T20:56:42.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T20:56:42.508Z] Configure a credential helper to remove this warning. See [2023-03-07T20:56:42.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T20:56:42.508Z] [2023-03-07T20:56:42.508Z] Login Succeeded [2023-03-07T20:56:42.508Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T20:56:42.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T20:56:43.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T20:56:43.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T20:56:43.135Z] ========================================================= [2023-03-07T20:56:43.135Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T20:56:43.135Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:56:43.640Z] + 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 . [2023-03-07T20:56:44.232Z] Sending build context to Docker daemon 20.62MB [2023-03-07T20:56:44.232Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T20:56:44.232Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T20:56:44.521Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T20:56:44.521Z] 9b18e9b68314: Pulling fs layer [2023-03-07T20:56:44.521Z] 35d82f9e3411: Pulling fs layer [2023-03-07T20:56:44.521Z] e16973657156: Pulling fs layer [2023-03-07T20:56:44.521Z] fc693d55d65f: Pulling fs layer [2023-03-07T20:56:44.521Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T20:56:44.521Z] dda99020689f: Pulling fs layer [2023-03-07T20:56:44.521Z] db1c61fa0a46: Pulling fs layer [2023-03-07T20:56:44.521Z] 891c053d2c06: Pulling fs layer [2023-03-07T20:56:44.521Z] fc693d55d65f: Waiting [2023-03-07T20:56:44.521Z] 7e9fc2657dce: Waiting [2023-03-07T20:56:44.521Z] dda99020689f: Waiting [2023-03-07T20:56:44.521Z] db1c61fa0a46: Waiting [2023-03-07T20:56:44.521Z] 891c053d2c06: Waiting [2023-03-07T20:56:44.521Z] e16973657156: Verifying Checksum [2023-03-07T20:56:44.521Z] e16973657156: Download complete [2023-03-07T20:56:44.521Z] 35d82f9e3411: Verifying Checksum [2023-03-07T20:56:44.521Z] 35d82f9e3411: Download complete [2023-03-07T20:56:44.521Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T20:56:44.521Z] 7e9fc2657dce: Download complete [2023-03-07T20:56:44.521Z] dda99020689f: Verifying Checksum [2023-03-07T20:56:44.521Z] dda99020689f: Download complete [2023-03-07T20:56:44.521Z] 9b18e9b68314: Verifying Checksum [2023-03-07T20:56:44.521Z] 9b18e9b68314: Download complete [2023-03-07T20:56:45.504Z] 9b18e9b68314: Pull complete [2023-03-07T20:56:45.776Z] 891c053d2c06: Verifying Checksum [2023-03-07T20:56:45.776Z] 891c053d2c06: Download complete [2023-03-07T20:56:46.375Z] 35d82f9e3411: Pull complete [2023-03-07T20:56:46.648Z] e16973657156: Pull complete [2023-03-07T20:56:46.919Z] db1c61fa0a46: Verifying Checksum [2023-03-07T20:56:46.919Z] db1c61fa0a46: Download complete [2023-03-07T20:56:47.507Z] fc693d55d65f: Verifying Checksum [2023-03-07T20:56:47.507Z] fc693d55d65f: Download complete [2023-03-07T20:57:00.093Z] fc693d55d65f: Pull complete [2023-03-07T20:57:00.093Z] 7e9fc2657dce: Pull complete [2023-03-07T20:57:00.093Z] dda99020689f: Pull complete [2023-03-07T20:57:05.500Z] db1c61fa0a46: Pull complete [2023-03-07T20:57:08.861Z] 891c053d2c06: Pull complete [2023-03-07T20:57:08.861Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T20:57:08.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T20:57:08.861Z] ---> f96f9c87975a [2023-03-07T20:57:08.861Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T20:57:10.820Z] ---> Running in 5e6ba5a8621e [2023-03-07T20:57:11.416Z] Removing intermediate container 5e6ba5a8621e [2023-03-07T20:57:11.416Z] ---> dede04309603 [2023-03-07T20:57:11.416Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T20:57:11.416Z] ---> Running in 941e34a11a94 [2023-03-07T20:57:11.689Z] Removing intermediate container 941e34a11a94 [2023-03-07T20:57:11.689Z] ---> 39565088b838 [2023-03-07T20:57:11.689Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T20:57:11.967Z] ---> Running in 50b981e80850 [2023-03-07T20:57:12.247Z] Removing intermediate container 50b981e80850 [2023-03-07T20:57:12.247Z] ---> b206d7bde281 [2023-03-07T20:57:12.247Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T20:57:12.524Z] ---> Running in e51fecd8a094 [2023-03-07T20:57:12.795Z] Removing intermediate container e51fecd8a094 [2023-03-07T20:57:12.795Z] ---> a6ccaebd22a1 [2023-03-07T20:57:12.795Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-07T20:57:13.066Z] ---> Running in 6ff480bd8d38 [2023-03-07T20:57:13.337Z] Removing intermediate container 6ff480bd8d38 [2023-03-07T20:57:13.337Z] ---> c571bf91b433 [2023-03-07T20:57:13.337Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T20:57:13.337Z] ---> Running in d8c0b6c8bc68 [2023-03-07T20:57:14.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T20:57:15.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T20:57:16.802Z] OK: 221 MiB in 51 packages [2023-03-07T20:57:17.401Z] Removing intermediate container d8c0b6c8bc68 [2023-03-07T20:57:17.401Z] ---> 5c1bc641a86e [2023-03-07T20:57:17.401Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-07T20:57:17.759Z] ---> Running in 2cd08c5ba788 [2023-03-07T20:57:18.042Z] Removing intermediate container 2cd08c5ba788 [2023-03-07T20:57:18.042Z] ---> 3f7464dc1536 [2023-03-07T20:57:18.042Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-07T20:57:18.635Z] ---> 74f13caf018c [2023-03-07T20:57:18.635Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T20:57:18.925Z] ---> Running in bd4916652d17 [2023-03-07T20:58:27.076Z] Removing intermediate container bd4916652d17 [2023-03-07T20:58:27.076Z] ---> a4b6f3af2b47 [2023-03-07T20:58:27.076Z] Step 12/13 : COPY . . [2023-03-07T20:58:27.076Z] ---> b63b7d6eee3a [2023-03-07T20:58:27.076Z] Step 13/13 : RUN ${MAKE} [2023-03-07T20:58:27.076Z] ---> Running in f4c36695064c [2023-03-07T20:58:28.059Z] noop [2023-03-07T20:58:29.029Z] Removing intermediate container f4c36695064c [2023-03-07T20:58:29.029Z] ---> 9b596636136d [2023-03-07T20:58:29.029Z] Successfully built 9b596636136d [2023-03-07T20:58:29.029Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:58:29.519Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T20:58:29.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T20:58:29.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-8647 does not seem to be running inside a container [2023-03-07T20:58:29.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T20:58:31.213Z] $ docker top 89d7648680c0d6432b6e31cb39a3657b39690a7dab5367c2dcbc0974d5564b0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T20:58:32.128Z] + go version [2023-03-07T20:58:32.128Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T20:58:32.158Z] $ docker stop --time=1 89d7648680c0d6432b6e31cb39a3657b39690a7dab5367c2dcbc0974d5564b0f [2023-03-07T20:58:33.906Z] $ docker rm -f --volumes 89d7648680c0d6432b6e31cb39a3657b39690a7dab5367c2dcbc0974d5564b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T20:58:34.824Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T20:58:34.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T20:58:35.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-8647 does not seem to be running inside a container [2023-03-07T20:58:35.200Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T20:58:36.681Z] $ docker top d8d088fd6a8c0b8fb97c73cbb87e6096eff187048a533daee41df13ae0eb52a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T20:58:37.667Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T20:58:38.392Z] + make test [2023-03-07T20:58:38.392Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T20:58:40.354Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-07T21:00:47.148Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-07T21:00:48.572Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.213s coverage: 30.5% of statements [2023-03-07T21:00:48.572Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-07T21:01:10.736Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.107s coverage: 86.5% of statements [2023-03-07T21:01:10.736Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T21:01:10.736Z] go vet ./... [2023-03-07T21:01:49.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T21:01:49.703Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T21:01:49.703Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T21:01:49.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T21:01:49.770Z] $ docker stop --time=1 d8d088fd6a8c0b8fb97c73cbb87e6096eff187048a533daee41df13ae0eb52a1 [2023-03-07T21:01:52.750Z] $ docker rm -f --volumes d8d088fd6a8c0b8fb97c73cbb87e6096eff187048a533daee41df13ae0eb52a1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T21:01:53.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T21:01:53.912Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T21:01:54.598Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T21:01:55.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T21:01:55.610Z] + ls -al . [2023-03-07T21:01:55.610Z] total 228 [2023-03-07T21:01:55.610Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 20:58 . [2023-03-07T21:01:55.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 20:56 .. [2023-03-07T21:01:55.610Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 20:56 .git [2023-03-07T21:01:55.610Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 20:56 .github [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 20:56 .gitignore [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 20:56 .golangci.yml [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 20:56 Attribution.txt [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 20:56 CHANGELOG.md [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 20:56 Dockerfile [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 20:56 GOVERNANCE.md [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 20:56 Jenkinsfile [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 20:56 LICENSE [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 20:56 Makefile [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 20:56 OWNERS.md [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 20:56 README.md [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 20:52 VERSION [2023-03-07T21:01:55.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 20:56 bin [2023-03-07T21:01:55.610Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 20:56 cmd [2023-03-07T21:01:55.610Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 7 21:01 coverage.out [2023-03-07T21:01:55.610Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 20:56 doc [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 20:56 go.mod [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 7 20:56 go.sum [2023-03-07T21:01:55.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 20:56 internal [2023-03-07T21:01:55.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 20:56 snap [2023-03-07T21:01:55.610Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T21:01:56.049Z] + 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=66b34ea5b0bbb61c5cc803b4d26022937ad854dd --label arch=arm64 --label version=0.0.0 . [2023-03-07T21:01:56.644Z] Sending build context to Docker daemon 20.7MB [2023-03-07T21:01:56.916Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T21:01:56.916Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-07T21:01:56.916Z] ---> 9b596636136d [2023-03-07T21:01:56.916Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-07T21:01:56.916Z] ---> Running in a28db8c52f59 [2023-03-07T21:01:57.507Z] Removing intermediate container a28db8c52f59 [2023-03-07T21:01:57.507Z] ---> e28bb3269709 [2023-03-07T21:01:57.507Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T21:01:57.507Z] ---> Running in 2599426a9786 [2023-03-07T21:01:57.776Z] Removing intermediate container 2599426a9786 [2023-03-07T21:01:57.776Z] ---> 5cb3c59fc2d9 [2023-03-07T21:01:57.776Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T21:01:57.776Z] ---> Running in 43173e0ca88d [2023-03-07T21:01:58.376Z] Removing intermediate container 43173e0ca88d [2023-03-07T21:01:58.376Z] ---> 328cdbf5ba79 [2023-03-07T21:01:58.376Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T21:01:58.376Z] ---> Running in 437ca591b6bc [2023-03-07T21:01:58.645Z] Removing intermediate container 437ca591b6bc [2023-03-07T21:01:58.645Z] ---> d6df59da58a8 [2023-03-07T21:01:58.645Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-07T21:01:58.645Z] ---> Running in 3ca02ce9121b [2023-03-07T21:01:59.237Z] Removing intermediate container 3ca02ce9121b [2023-03-07T21:01:59.237Z] ---> 50371ffcd3ab [2023-03-07T21:01:59.237Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T21:01:59.237Z] ---> Running in 56c925de830c [2023-03-07T21:02:00.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T21:02:00.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T21:02:02.333Z] OK: 221 MiB in 51 packages [2023-03-07T21:02:06.271Z] Removing intermediate container 56c925de830c [2023-03-07T21:02:06.271Z] ---> 6842e11c9ef3 [2023-03-07T21:02:06.271Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-07T21:02:06.271Z] ---> Running in 7894ea3e3e73 [2023-03-07T21:02:06.544Z] Removing intermediate container 7894ea3e3e73 [2023-03-07T21:02:06.544Z] ---> 67614c199b96 [2023-03-07T21:02:06.544Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-07T21:02:07.129Z] ---> bd12024fe4b5 [2023-03-07T21:02:07.129Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T21:02:07.129Z] ---> Running in d6d81752dab1 [2023-03-07T21:02:10.496Z] Removing intermediate container d6d81752dab1 [2023-03-07T21:02:10.496Z] ---> e2f1c26afb1a [2023-03-07T21:02:10.496Z] Step 12/26 : COPY . . [2023-03-07T21:02:12.455Z] ---> fcbc4b802320 [2023-03-07T21:02:12.455Z] Step 13/26 : RUN ${MAKE} [2023-03-07T21:02:12.455Z] ---> Running in 5291b5877bf5 [2023-03-07T21:02:13.429Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-07T21:04:50.175Z] Removing intermediate container 5291b5877bf5 [2023-03-07T21:04:50.175Z] ---> cdca197d5ad5 [2023-03-07T21:04:50.175Z] Step 14/26 : FROM alpine:3.16 [2023-03-07T21:04:50.175Z] 3.16: Pulling from library/alpine [2023-03-07T21:04:50.175Z] 3760b48202b3: Pulling fs layer [2023-03-07T21:04:50.175Z] 3760b48202b3: Download complete [2023-03-07T21:04:50.175Z] 3760b48202b3: Pull complete [2023-03-07T21:04:50.175Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T21:04:50.175Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T21:04:50.175Z] ---> 4c81e5bf8899 [2023-03-07T21:04:50.175Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T21:04:50.175Z] ---> Running in e6c1badb721c [2023-03-07T21:04:50.175Z] Removing intermediate container e6c1badb721c [2023-03-07T21:04:50.175Z] ---> 8a7ff1949446 [2023-03-07T21:04:50.175Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-07T21:04:50.175Z] ---> Running in e70284a932f4 [2023-03-07T21:04:50.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T21:04:50.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T21:04:50.175Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T21:04:50.175Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T21:04:50.175Z] OK: 5 MiB in 15 packages [2023-03-07T21:04:50.175Z] Removing intermediate container e70284a932f4 [2023-03-07T21:04:50.175Z] ---> dc346d59f298 [2023-03-07T21:04:50.175Z] Step 17/26 : WORKDIR / [2023-03-07T21:04:50.175Z] ---> Running in d6663e6f8288 [2023-03-07T21:04:50.175Z] Removing intermediate container d6663e6f8288 [2023-03-07T21:04:50.175Z] ---> 6aafbfa3e901 [2023-03-07T21:04:50.175Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-07T21:04:50.175Z] ---> 2f43e7bf4cee [2023-03-07T21:04:50.175Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-07T21:04:50.175Z] ---> 8bafb9b05e8b [2023-03-07T21:04:50.175Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-07T21:04:50.175Z] ---> 189eabaece16 [2023-03-07T21:04:50.175Z] Step 21/26 : EXPOSE 59984 [2023-03-07T21:04:50.175Z] ---> Running in 4fc7af5fd64a [2023-03-07T21:04:50.175Z] Removing intermediate container 4fc7af5fd64a [2023-03-07T21:04:50.175Z] ---> 6443d6713e7e [2023-03-07T21:04:50.175Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-07T21:04:50.175Z] ---> Running in a169b20e516b [2023-03-07T21:04:50.445Z] Removing intermediate container a169b20e516b [2023-03-07T21:04:50.445Z] ---> 7058db52b6cc [2023-03-07T21:04:50.445Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T21:04:50.714Z] ---> Running in 7d7fbd0fb76b [2023-03-07T21:04:50.982Z] Removing intermediate container 7d7fbd0fb76b [2023-03-07T21:04:50.982Z] ---> 28f6a409fce6 [2023-03-07T21:04:50.982Z] Step 24/26 : LABEL arch=arm64 [2023-03-07T21:04:50.982Z] ---> Running in 0eb1b7a7a3c3 [2023-03-07T21:04:51.251Z] Removing intermediate container 0eb1b7a7a3c3 [2023-03-07T21:04:51.251Z] ---> 8b7f74ac53c7 [2023-03-07T21:04:51.251Z] Step 25/26 : LABEL git_sha=66b34ea5b0bbb61c5cc803b4d26022937ad854dd [2023-03-07T21:04:51.532Z] ---> Running in 1bee6b10777a [2023-03-07T21:04:51.803Z] Removing intermediate container 1bee6b10777a [2023-03-07T21:04:51.803Z] ---> 4ba8a25a97b9 [2023-03-07T21:04:51.803Z] Step 26/26 : LABEL version=0.0.0 [2023-03-07T21:04:51.803Z] ---> Running in 991eecc29680 [2023-03-07T21:04:52.070Z] Removing intermediate container 991eecc29680 [2023-03-07T21:04:52.070Z] ---> 41502e941499 [2023-03-07T21:04:52.070Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T21:04:52.070Z] Successfully built 41502e941499 [2023-03-07T21:04:52.070Z] 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 [2023-03-07T21:04:53.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T21:04:53.169Z] [2023-03-07T21:04:53.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T21:04:53.575Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T21:04:53.847Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T21:04:53.847Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T21:04:53.847Z] 04944245beec: Pulling fs layer [2023-03-07T21:04:53.847Z] 699f458cf7ca: Pulling fs layer [2023-03-07T21:04:53.847Z] 765212b225bb: Pulling fs layer [2023-03-07T21:04:53.847Z] f23df028b6ca: Pulling fs layer [2023-03-07T21:04:53.847Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T21:04:53.847Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T21:04:53.847Z] 765212b225bb: Waiting [2023-03-07T21:04:53.847Z] f23df028b6ca: Waiting [2023-03-07T21:04:53.847Z] d65c8cfc05b1: Waiting [2023-03-07T21:04:53.847Z] 2437ff75d9bd: Waiting [2023-03-07T21:04:53.847Z] 04944245beec: Verifying Checksum [2023-03-07T21:04:53.847Z] 04944245beec: Download complete [2023-03-07T21:04:53.847Z] 765212b225bb: Download complete [2023-03-07T21:04:53.847Z] f23df028b6ca: Verifying Checksum [2023-03-07T21:04:53.847Z] f23df028b6ca: Download complete [2023-03-07T21:04:54.117Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T21:04:54.117Z] d65c8cfc05b1: Download complete [2023-03-07T21:04:54.117Z] 699f458cf7ca: Verifying Checksum [2023-03-07T21:04:54.117Z] 699f458cf7ca: Download complete [2023-03-07T21:04:54.399Z] 8998bd30e6a1: Download complete [2023-03-07T21:04:56.989Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T21:04:56.989Z] 2437ff75d9bd: Download complete [2023-03-07T21:04:58.946Z] 8998bd30e6a1: Pull complete [2023-03-07T21:04:59.214Z] 04944245beec: Pull complete [2023-03-07T21:05:00.626Z] 699f458cf7ca: Pull complete [2023-03-07T21:05:00.626Z] 765212b225bb: Pull complete [2023-03-07T21:05:01.595Z] f23df028b6ca: Pull complete [2023-03-07T21:05:01.863Z] d65c8cfc05b1: Pull complete [2023-03-07T21:05:16.880Z] 2437ff75d9bd: Pull complete [2023-03-07T21:05:16.880Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T21:05:16.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T21:05:16.880Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T21:05:17.235Z] prd-ubuntu20.04-docker-arm64-4c-16g-8647 does not seem to be running inside a container [2023-03-07T21:05:17.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T21:05:21.228Z] $ docker top f9f8cb045ee0ba16efc0bd23a33098e30b8a6065ace5980b7780ffafea90d301 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T21:05:22.181Z] ---> job-cost.sh [2023-03-07T21:05:22.181Z] lf-activate-venv: SKIPPING [2023-03-07T21:05:22.181Z] INFO: No Stack... [2023-03-07T21:05:22.768Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T21:05:23.735Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T21:05:24.411Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-07T21:05:24.411Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T21:05:24.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-254-1-stack-cost] [2023-03-07T21:05:24.510Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-254-1-stack-cost] did not exist. Created. [2023-03-07T21:05:24.510Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-254-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T21:05:25.247Z] /w/workspace/device-onvif-camera/1@tmp/durable-167c1df8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T21:05:25.933Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T21:05:25.968Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T21:05:26.045Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T21:05:26.061Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-254-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T21:05:26.137Z] $ docker stop --time=1 f9f8cb045ee0ba16efc0bd23a33098e30b8a6065ace5980b7780ffafea90d301 [2023-03-07T21:05:27.725Z] $ docker rm -f --volumes f9f8cb045ee0ba16efc0bd23a33098e30b8a6065ace5980b7780ffafea90d301 [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 [2023-03-07T21:05:28.781Z] provisioning config files... [2023-03-07T21:05:28.788Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-254@tmp/config13591410820669619592tmp [Pipeline] { [Pipeline] sh [2023-03-07T21:05:29.126Z] + set +x [2023-03-07T21:05:29.126Z] + curl -s https://codecov.io/bash [2023-03-07T21:05:29.126Z] + bash -s -- [2023-03-07T21:05:29.126Z] [2023-03-07T21:05:29.126Z] _____ _ [2023-03-07T21:05:29.126Z] / ____| | | [2023-03-07T21:05:29.126Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T21:05:29.126Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T21:05:29.126Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T21:05:29.126Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T21:05:29.126Z] Bash-1.0.6 [2023-03-07T21:05:29.126Z] [2023-03-07T21:05:29.126Z] [2023-03-07T21:05:29.126Z] ==> git version 2.25.1 found [2023-03-07T21:05:29.126Z] ==> 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 [2023-03-07T21:05:29.126Z] Release-Date: 2020-01-08 [2023-03-07T21:05:29.126Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T21:05:29.126Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T21:05:29.126Z] ==> Jenkins CI detected. [2023-03-07T21:05:29.126Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-254 [2023-03-07T21:05:29.126Z] project root: . [2023-03-07T21:05:29.126Z] --> token set from env [2023-03-07T21:05:29.126Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T21:05:29.126Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T21:05:29.126Z] ==> Python coveragepy not found [2023-03-07T21:05:29.126Z] ==> Searching for coverage reports in: [2023-03-07T21:05:29.126Z] + . [2023-03-07T21:05:29.126Z] -> Found 1 reports [2023-03-07T21:05:29.126Z] ==> Detecting git/mercurial file structure [2023-03-07T21:05:29.126Z] ==> Reading reports [2023-03-07T21:05:29.384Z] + ./coverage.out bytes=76650 [2023-03-07T21:05:29.384Z] ==> Appending adjustments [2023-03-07T21:05:29.384Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T21:05:29.384Z] + Found adjustments [2023-03-07T21:05:29.384Z] ==> Gzipping contents [2023-03-07T21:05:29.384Z] 12K /tmp/codecov.EfyNg9.gz [2023-03-07T21:05:29.384Z] ==> Uploading reports [2023-03-07T21:05:29.384Z] url: https://codecov.io [2023-03-07T21:05:29.384Z] query: branch=PR-254&commit=66b34ea5b0bbb61c5cc803b4d26022937ad854dd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-254%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=254&job=&cmd_args= [2023-03-07T21:05:29.384Z] -> Pinging Codecov [2023-03-07T21:05:29.384Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-254&commit=66b34ea5b0bbb61c5cc803b4d26022937ad854dd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-254%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=254&job=&cmd_args= [2023-03-07T21:05:29.644Z] -> Uploading to [2023-03-07T21:05:29.644Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/F29A59C45E3A92E06B3E522C9905F8EF/66b34ea5b0bbb61c5cc803b4d26022937ad854dd/4b1537bb-1366-465e-b80d-94c192fd2587.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T210529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48ee26939e43d3e6e5d3aec01bfe75b5312d3ed1e9b8f129f36395f47125411d [2023-03-07T21:05:29.644Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T21:05:29.644Z] Dload Upload Total Spent Left Speed [2023-03-07T21:05:29.904Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10526 0 0 100 10526 0 183k --:--:-- --:--:-- --:--:-- 180k 100 10526 0 0 100 10526 0 38000 --:--:-- --:--:-- --:--:-- 38000 [2023-03-07T21:05:29.904Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/66b34ea5b0bbb61c5cc803b4d26022937ad854dd [Pipeline] } [2023-03-07T21:05:29.932Z] 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 [2023-03-07T21:05:31.733Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-254/archives ] [2023-03-07T21:05:31.733Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-254/archives [2023-03-07T21:05:31.733Z] total 16 [2023-03-07T21:05:31.733Z] drwxr-xr-x 3 root root 4096 Mar 7 20:54 . [2023-03-07T21:05:31.733Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 20:54 .. [2023-03-07T21:05:31.733Z] drwxr-xr-x 2 root root 4096 Mar 7 20:54 cost [2023-03-07T21:05:31.733Z] -rw-r--r-- 1 root root 91 Mar 7 20:54 cost.csv [2023-03-07T21:05:31.733Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-254/archives [2023-03-07T21:05:31.733Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-254/archives [2023-03-07T21:05:31.733Z] total 16 [2023-03-07T21:05:31.733Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 20:54 . [2023-03-07T21:05:31.733Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 20:54 .. [2023-03-07T21:05:31.733Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 20:54 cost [2023-03-07T21:05:31.733Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 7 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T21:05:32.063Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T21:05:32.955Z] ---> package-listing.sh [2023-03-07T21:05:32.955Z] ++ facter osfamily [2023-03-07T21:05:32.955Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T21:05:33.215Z] + OS_FAMILY=debian [2023-03-07T21:05:33.215Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-254 [2023-03-07T21:05:33.215Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T21:05:33.215Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T21:05:33.215Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T21:05:33.215Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T21:05:33.215Z] + '[' /w/workspace/undry_device-onvif-camera_PR-254 ']' [2023-03-07T21:05:33.215Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T21:05:33.215Z] + case "${OS_FAMILY}" in [2023-03-07T21:05:33.215Z] + dpkg -l [2023-03-07T21:05:33.215Z] + grep '^ii' [2023-03-07T21:05:33.215Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T21:05:33.215Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T21:05:33.215Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T21:05:33.215Z] + '[' /w/workspace/undry_device-onvif-camera_PR-254 ']' [2023-03-07T21:05:33.215Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-254/archives/ [2023-03-07T21:05:33.215Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-254/archives/ [Pipeline] echo [2023-03-07T21:05:33.252Z] 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T21:05:33.548Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T21:05:34.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T21:05:34.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T21:05:34.329Z] prd-ubuntu20.04-docker-8c-8g-8643 does not seem to be running inside a container [2023-03-07T21:05:34.366Z] $ 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-254/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-254 -v /w/workspace/undry_device-onvif-camera_PR-254:/w/workspace/undry_device-onvif-camera_PR-254:rw,z -v /w/workspace/undry_device-onvif-camera_PR-254@tmp:/w/workspace/undry_device-onvif-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T21:05:34.548Z] $ docker top 96de2b1ab7cc91663fb3a3201c9a8345e40f1cf46f2601735bcd5da913097265 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T21:05:34.945Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T21:05:35.257Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T21:05:35.569Z] + ls /var/log/sa-host [2023-03-07T21:05:35.569Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T21:05:35.824Z] provisioning config files... [2023-03-07T21:05:35.833Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-254@tmp/config4266305124383999881tmp [Pipeline] { [Pipeline] echo [2023-03-07T21:05:35.892Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T21:05:36.201Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T21:05:36.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T21:05:36.635Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T21:05:36.667Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T21:05:36.982Z] ---> sudo-logs.sh [2023-03-07T21:05:36.982Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T21:05:37.065Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T21:05:37.377Z] ---> job-cost.sh [2023-03-07T21:05:37.377Z] lf-activate-venv: SKIPPING [2023-03-07T21:05:37.377Z] DEBUG: total: 0.2199999988079071 [2023-03-07T21:05:37.377Z] INFO: Retrieving Stack Cost... [2023-03-07T21:05:37.943Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T21:05:38.203Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T21:05:38.240Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T21:05:38.561Z] ---> logs-deploy.sh [2023-03-07T21:05:38.561Z] lf-activate-venv: SKIPPING [2023-03-07T21:05:38.561Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-254/1 [2023-03-07T21:05:38.561Z] INFO: archiving workspace using pattern(s): [2023-03-07T21:05:39.498Z] Archives upload complete. [2023-03-07T21:05:39.498Z] INFO: archiving logs to Nexus