Pull request #206 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 e283d27a39f6608c4972b60e45559292c212ac31 rather than 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 Obtained Jenkinsfile from e283d27a39f6608c4972b60e45559292c212ac31 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-ssh4495385601845114313.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-ssh3358754305336753277.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-206/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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6747899577298727636.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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7491414882803258630.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-ssh3997945040543363404.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-206/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-206/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18036470906471274942.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1495 in /w/workspace/undry_device-onvif-camera_PR-206 [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-206 # 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 > 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/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 Merge succeeded, producing 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 Checking out Revision 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 (PR-206) > git config core.sparsecheckout # timeout=10 > git checkout -f 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 # timeout=10 Commit message: "fix: update scripts to use latest consul path" 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-01-09T22:44:53.250Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-09T22:44:53.435Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-09T22:44:53.539Z] ========================================================= [2023-01-09T22:44:53.539Z] EdgeX Global Pipelines Version Info [2023-01-09T22:44:53.539Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:44:54.295Z] ------------------- [2023-01-09T22:44:54.295Z] stable info: [2023-01-09T22:44:54.295Z] ------------------- [2023-01-09T22:44:54.295Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T22:44:54.295Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T22:44:54.295Z] Message: update stable to v1.0.244 [2023-01-09T22:44:54.866Z] ------------------- [2023-01-09T22:44:54.866Z] experimental info: [2023-01-09T22:44:54.866Z] ------------------- [2023-01-09T22:44:54.866Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T22:44:54.866Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T22:44:54.866Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T22:44:55.124Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-09T22:44:55.160Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-09T22:44:55.195Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T22:44:55.230Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T22:44:55.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T22:44:55.312Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T22:44:55.349Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T22:44:55.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-09T22:44:55.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T22:44:55.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T22:44:55.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T22:44:55.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-09T22:44:55.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T22:44:55.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T22:44:55.659Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T22:44:55.693Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T22:44:55.729Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T22:44:55.765Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T22:44:55.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T22:44:55.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T22:44:55.875Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-09T22:44:55.912Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-09T22:44:55.948Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T22:44:55.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T22:44:56.025Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-09T22:44:56.063Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T22:44:56.100Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T22:44:56.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-206 [Pipeline] echo [2023-01-09T22:44:56.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-206 [Pipeline] echo [2023-01-09T22:44:56.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-206 [Pipeline] echo [2023-01-09T22:44:56.261Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [Pipeline] echo [2023-01-09T22:44:56.303Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07cc2de [Pipeline] echo [2023-01-09T22:44:56.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T22:44:56.461Z] provisioning config files... [2023-01-09T22:44:56.476Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-206@tmp/config5520208870676802898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:44:56.814Z] ---> docker-login.sh [2023-01-09T22:44:56.814Z] nexus3.edgexfoundry.org:10001 [2023-01-09T22:44:57.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:44:57.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:44:57.076Z] Configure a credential helper to remove this warning. See [2023-01-09T22:44:57.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:44:57.076Z] [2023-01-09T22:44:57.076Z] Login Succeeded [2023-01-09T22:44:57.076Z] nexus3.edgexfoundry.org:10002 [2023-01-09T22:44:57.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:44:57.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:44:57.336Z] Configure a credential helper to remove this warning. See [2023-01-09T22:44:57.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:44:57.336Z] [2023-01-09T22:44:57.336Z] Login Succeeded [2023-01-09T22:44:57.336Z] nexus3.edgexfoundry.org:10003 [2023-01-09T22:44:57.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:44:57.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:44:57.336Z] Configure a credential helper to remove this warning. See [2023-01-09T22:44:57.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:44:57.336Z] [2023-01-09T22:44:57.336Z] Login Succeeded [2023-01-09T22:44:57.336Z] nexus3.edgexfoundry.org:10004 [2023-01-09T22:44:57.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:44:57.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:44:57.595Z] Configure a credential helper to remove this warning. See [2023-01-09T22:44:57.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:44:57.595Z] [2023-01-09T22:44:57.595Z] Login Succeeded [2023-01-09T22:44:57.595Z] docker.io [2023-01-09T22:44:57.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:44:57.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:44:57.855Z] Configure a credential helper to remove this warning. See [2023-01-09T22:44:57.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:44:57.855Z] [2023-01-09T22:44:57.855Z] Login Succeeded [2023-01-09T22:44:57.855Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T22:44:57.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T22:44:58.511Z] + git rev-list -1 --merges 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3~1..07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [Pipeline] echo [2023-01-09T22:44:58.567Z] -----------> git rev-list -1 --merges 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3~1..07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [false] [Pipeline] sh [2023-01-09T22:44:58.880Z] + git log --format=format:%s -1 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [Pipeline] echo [2023-01-09T22:44:58.914Z] ========================================================= [2023-01-09T22:44:58.914Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T22:44:58.914Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T22:44:59.365Z] + git log --format=format:%s -1 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [Pipeline] echo [2023-01-09T22:44:59.398Z] [semverPrep] GIT_COMMIT: 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3, Commit Message: fix: update scripts to use latest consul path [Pipeline] echo [2023-01-09T22:44:59.427Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T22:44:59.901Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T22:44:59.901Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T22:44:59.901Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T22:44:59.901Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T22:44:59.901Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T22:44:59.901Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T22:44:59.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:45:00.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T22:45:00.387Z] [2023-01-09T22:45:00.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:45:00.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T22:45:00.770Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T22:45:00.770Z] b85a868b505f: Pulling fs layer [2023-01-09T22:45:00.770Z] e2be974225ed: Pulling fs layer [2023-01-09T22:45:00.770Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T22:45:00.770Z] 988bab9f4d93: Pulling fs layer [2023-01-09T22:45:00.770Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T22:45:00.770Z] eaf3925da568: Pulling fs layer [2023-01-09T22:45:00.770Z] bab4dde63d76: Pulling fs layer [2023-01-09T22:45:00.770Z] bde34c3a00c8: Pulling fs layer [2023-01-09T22:45:00.770Z] b352a97aabf1: Pulling fs layer [2023-01-09T22:45:00.770Z] 4872d77fe225: Pulling fs layer [2023-01-09T22:45:00.770Z] 5851b861e8e6: Pulling fs layer [2023-01-09T22:45:00.770Z] 988bab9f4d93: Waiting [2023-01-09T22:45:00.770Z] 1469e6f7b9e6: Waiting [2023-01-09T22:45:00.770Z] eaf3925da568: Waiting [2023-01-09T22:45:00.770Z] bab4dde63d76: Waiting [2023-01-09T22:45:00.770Z] bde34c3a00c8: Waiting [2023-01-09T22:45:00.770Z] b352a97aabf1: Waiting [2023-01-09T22:45:00.770Z] 4872d77fe225: Waiting [2023-01-09T22:45:00.770Z] 5851b861e8e6: Waiting [2023-01-09T22:45:00.770Z] e2be974225ed: Download complete [2023-01-09T22:45:00.770Z] 988bab9f4d93: Verifying Checksum [2023-01-09T22:45:00.770Z] 988bab9f4d93: Download complete [2023-01-09T22:45:01.030Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T22:45:01.030Z] 1469e6f7b9e6: Download complete [2023-01-09T22:45:01.030Z] eaf3925da568: Download complete [2023-01-09T22:45:01.030Z] 339a4e72a1f5: Verifying Checksum [2023-01-09T22:45:01.030Z] 339a4e72a1f5: Download complete [2023-01-09T22:45:01.030Z] bde34c3a00c8: Verifying Checksum [2023-01-09T22:45:01.030Z] bde34c3a00c8: Download complete [2023-01-09T22:45:01.030Z] b352a97aabf1: Download complete [2023-01-09T22:45:01.030Z] 4872d77fe225: Verifying Checksum [2023-01-09T22:45:01.030Z] 4872d77fe225: Download complete [2023-01-09T22:45:01.030Z] 5851b861e8e6: Download complete [2023-01-09T22:45:01.030Z] b85a868b505f: Verifying Checksum [2023-01-09T22:45:01.030Z] b85a868b505f: Download complete [2023-01-09T22:45:01.305Z] bab4dde63d76: Download complete [2023-01-09T22:45:02.701Z] b85a868b505f: Pull complete [2023-01-09T22:45:02.701Z] e2be974225ed: Pull complete [2023-01-09T22:45:03.272Z] 339a4e72a1f5: Pull complete [2023-01-09T22:45:03.272Z] 988bab9f4d93: Pull complete [2023-01-09T22:45:03.531Z] 1469e6f7b9e6: Pull complete [2023-01-09T22:45:03.531Z] eaf3925da568: Pull complete [2023-01-09T22:45:05.430Z] bab4dde63d76: Pull complete [2023-01-09T22:45:05.690Z] bde34c3a00c8: Pull complete [2023-01-09T22:45:05.690Z] b352a97aabf1: Pull complete [2023-01-09T22:45:05.950Z] 4872d77fe225: Pull complete [2023-01-09T22:45:05.950Z] 5851b861e8e6: Pull complete [2023-01-09T22:45:05.950Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T22:45:05.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T22:45:05.950Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T22:45:06.212Z] prd-ubuntu20.04-docker-8c-8g-1495 does not seem to be running inside a container [2023-01-09T22:45:06.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-206 -v /w/workspace/undry_device-onvif-camera_PR-206:/w/workspace/undry_device-onvif-camera_PR-206:rw,z -v /w/workspace/undry_device-onvif-camera_PR-206@tmp:/w/workspace/undry_device-onvif-camera_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T22:45:09.973Z] $ docker top 994fb5287a9a35a4de208ad266cacb873785c72087701ee2f3fa97310b68400a -eo pid,comm [2023-01-09T22:45:10.037Z] 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-01-09T22:45:10.037Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T22:45:10.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T22:45:10.163Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T22:45:10.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T22:45:10.282Z] $ docker exec 994fb5287a9a35a4de208ad266cacb873785c72087701ee2f3fa97310b68400a ssh-agent [2023-01-09T22:45:10.410Z] SSH_AUTH_SOCK=/tmp/ssh-klcyRIkY5rOb/agent.33 [2023-01-09T22:45:10.410Z] SSH_AGENT_PID=39 [2023-01-09T22:45:10.415Z] Running ssh-add (command line suppressed) [2023-01-09T22:45:10.522Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-206@tmp/private_key_4535088271670324766.key (/w/workspace/undry_device-onvif-camera_PR-206@tmp/private_key_4535088271670324766.key) [2023-01-09T22:45:10.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T22:45:10.877Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T22:45:10.903Z] $ docker exec --env ******** --env ******** 994fb5287a9a35a4de208ad266cacb873785c72087701ee2f3fa97310b68400a ssh-agent -k [2023-01-09T22:45:11.007Z] unset SSH_AUTH_SOCK; [2023-01-09T22:45:11.008Z] unset SSH_AGENT_PID; [2023-01-09T22:45:11.008Z] echo Agent pid 39 killed; [2023-01-09T22:45:11.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T22:45:11.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T22:45:11.107Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T22:45:11.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T22:45:11.226Z] $ docker exec 994fb5287a9a35a4de208ad266cacb873785c72087701ee2f3fa97310b68400a ssh-agent [2023-01-09T22:45:11.334Z] SSH_AUTH_SOCK=/tmp/ssh-wGRntvdtJok5/agent.72 [2023-01-09T22:45:11.334Z] SSH_AGENT_PID=78 [2023-01-09T22:45:11.337Z] Running ssh-add (command line suppressed) [2023-01-09T22:45:11.442Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-206@tmp/private_key_1309607034447094765.key (/w/workspace/undry_device-onvif-camera_PR-206@tmp/private_key_1309607034447094765.key) [2023-01-09T22:45:11.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T22:45:11.781Z] + git semver init [2023-01-09T22:45:12.040Z] 2023-01-09 22:45:11,945 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T22:45:12.040Z] 2023-01-09 22:45:11,946 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-206/.semver [2023-01-09T22:45:12.040Z] 2023-01-09 22:45:11,946 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-206/.semver [2023-01-09T22:45:12.040Z] 2023-01-09 22:45:11,946 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-206/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-206, universal_newlines=False, shell=None, istream=None) [2023-01-09T22:45:12.980Z] 2023-01-09 22:45:12,897 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-206/.git/info/exclude [2023-01-09T22:45:12.980Z] 2023-01-09 22:45:12,897 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-206/.semver/PR-206 with force:False [2023-01-09T22:45:12.980Z] 2023-01-09 22:45:12,897 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-206/.semver/PR-206 [2023-01-09T22:45:12.980Z] 2023-01-09 22:45:12,902 [execute] INFO git cat-file --batch-check [2023-01-09T22:45:12.980Z] 2023-01-09 22:45:12,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-206/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T22:45:12.980Z] 2023-01-09 22:45:12,908 [execute] INFO git cat-file --batch [2023-01-09T22:45:12.980Z] 2023-01-09 22:45:12,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-206/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T22:45:12.980Z] 2023-01-09 22:45:12,914 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-206/.semver/PR-206 [2023-01-09T22:45:12.980Z] 0.0.0 [Pipeline] } [2023-01-09T22:45:13.011Z] $ docker exec --env ******** --env ******** 994fb5287a9a35a4de208ad266cacb873785c72087701ee2f3fa97310b68400a ssh-agent -k [2023-01-09T22:45:13.101Z] unset SSH_AUTH_SOCK; [2023-01-09T22:45:13.102Z] unset SSH_AGENT_PID; [2023-01-09T22:45:13.102Z] echo Agent pid 78 killed; [2023-01-09T22:45:13.111Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T22:45:13.544Z] + git semver [Pipeline] } [2023-01-09T22:45:13.829Z] $ docker stop --time=1 994fb5287a9a35a4de208ad266cacb873785c72087701ee2f3fa97310b68400a [2023-01-09T22:45:15.174Z] $ docker rm -f --volumes 994fb5287a9a35a4de208ad266cacb873785c72087701ee2f3fa97310b68400a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T22:45:15.576Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T22:45:15.856Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T22:45:15.874Z] [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-01-09T22:45:16.460Z] provisioning config files... [2023-01-09T22:45:16.470Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-206@tmp/config11211697695975252598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:45:16.816Z] ---> docker-login.sh [2023-01-09T22:45:16.816Z] nexus3.edgexfoundry.org:10001 [2023-01-09T22:45:16.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:45:16.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:45:16.816Z] Configure a credential helper to remove this warning. See [2023-01-09T22:45:16.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:45:16.816Z] [2023-01-09T22:45:16.816Z] Login Succeeded [2023-01-09T22:45:16.816Z] nexus3.edgexfoundry.org:10002 [2023-01-09T22:45:16.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:45:16.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:45:16.816Z] Configure a credential helper to remove this warning. See [2023-01-09T22:45:16.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:45:16.816Z] [2023-01-09T22:45:16.816Z] Login Succeeded [2023-01-09T22:45:16.816Z] nexus3.edgexfoundry.org:10003 [2023-01-09T22:45:17.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:45:17.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:45:17.076Z] Configure a credential helper to remove this warning. See [2023-01-09T22:45:17.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:45:17.076Z] [2023-01-09T22:45:17.076Z] Login Succeeded [2023-01-09T22:45:17.076Z] nexus3.edgexfoundry.org:10004 [2023-01-09T22:45:17.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:45:17.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:45:17.076Z] Configure a credential helper to remove this warning. See [2023-01-09T22:45:17.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:45:17.076Z] [2023-01-09T22:45:17.076Z] Login Succeeded [2023-01-09T22:45:17.076Z] docker.io [2023-01-09T22:45:17.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:45:17.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:45:17.335Z] Configure a credential helper to remove this warning. See [2023-01-09T22:45:17.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:45:17.335Z] [2023-01-09T22:45:17.335Z] Login Succeeded [2023-01-09T22:45:17.336Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T22:45:17.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T22:45:17.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T22:45:17.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T22:45:17.624Z] ========================================================= [2023-01-09T22:45:17.624Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T22:45:17.624Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:45:18.100Z] + 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-01-09T22:45:18.100Z] Sending build context to Docker daemon 27.62MB [2023-01-09T22:45:18.100Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T22:45:18.100Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-09T22:45:18.360Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T22:45:18.360Z] 213ec9aee27d: Pulling fs layer [2023-01-09T22:45:18.360Z] 4583459ba037: Pulling fs layer [2023-01-09T22:45:18.360Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T22:45:18.360Z] 53926ce57604: Pulling fs layer [2023-01-09T22:45:18.360Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T22:45:18.360Z] 22ff95d597cd: Pulling fs layer [2023-01-09T22:45:18.360Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T22:45:18.360Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T22:45:18.360Z] a7acece74701: Pulling fs layer [2023-01-09T22:45:18.360Z] 53926ce57604: Waiting [2023-01-09T22:45:18.360Z] 21b2b0c7a3f4: Waiting [2023-01-09T22:45:18.360Z] 22ff95d597cd: Waiting [2023-01-09T22:45:18.360Z] 12d6caf4c0d1: Waiting [2023-01-09T22:45:18.360Z] 96b7cbca73a9: Waiting [2023-01-09T22:45:18.360Z] a7acece74701: Waiting [2023-01-09T22:45:18.360Z] 93c1e223e6f2: Download complete [2023-01-09T22:45:18.360Z] 4583459ba037: Download complete [2023-01-09T22:45:18.360Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-09T22:45:18.360Z] 21b2b0c7a3f4: Download complete [2023-01-09T22:45:18.360Z] 22ff95d597cd: Verifying Checksum [2023-01-09T22:45:18.360Z] 22ff95d597cd: Download complete [2023-01-09T22:45:18.360Z] 213ec9aee27d: Download complete [2023-01-09T22:45:18.360Z] 12d6caf4c0d1: Download complete [2023-01-09T22:45:18.621Z] 213ec9aee27d: Pull complete [2023-01-09T22:45:18.621Z] 4583459ba037: Pull complete [2023-01-09T22:45:18.883Z] 93c1e223e6f2: Pull complete [2023-01-09T22:45:18.883Z] a7acece74701: Verifying Checksum [2023-01-09T22:45:18.883Z] a7acece74701: Download complete [2023-01-09T22:45:19.143Z] 96b7cbca73a9: Verifying Checksum [2023-01-09T22:45:19.143Z] 96b7cbca73a9: Download complete [2023-01-09T22:45:19.143Z] 53926ce57604: Verifying Checksum [2023-01-09T22:45:19.143Z] 53926ce57604: Download complete [2023-01-09T22:45:23.338Z] 53926ce57604: Pull complete [2023-01-09T22:45:23.338Z] 21b2b0c7a3f4: Pull complete [2023-01-09T22:45:23.338Z] 22ff95d597cd: Pull complete [2023-01-09T22:45:23.603Z] 12d6caf4c0d1: Pull complete [2023-01-09T22:45:26.139Z] 96b7cbca73a9: Pull complete [2023-01-09T22:45:26.707Z] a7acece74701: Pull complete [2023-01-09T22:45:26.707Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T22:45:26.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T22:45:26.707Z] ---> db6d94c90886 [2023-01-09T22:45:26.707Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-09T22:45:31.282Z] Still waiting to schedule task [2023-01-09T22:45:31.282Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-09T22:45:32.068Z] ---> Running in ef747dfd39fb [2023-01-09T22:45:32.068Z] Removing intermediate container ef747dfd39fb [2023-01-09T22:45:32.068Z] ---> 6f89be5b1241 [2023-01-09T22:45:32.068Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T22:45:32.068Z] ---> Running in 9c35c2824101 [2023-01-09T22:45:32.068Z] Removing intermediate container 9c35c2824101 [2023-01-09T22:45:32.068Z] ---> 83129fb92659 [2023-01-09T22:45:32.068Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T22:45:32.068Z] ---> Running in 3570cb394747 [2023-01-09T22:45:32.068Z] Removing intermediate container 3570cb394747 [2023-01-09T22:45:32.068Z] ---> 81f5ac2b9bcb [2023-01-09T22:45:32.068Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T22:45:32.068Z] ---> Running in cb32724b5a5c [2023-01-09T22:45:32.068Z] Removing intermediate container cb32724b5a5c [2023-01-09T22:45:32.068Z] ---> d2a87251aebe [2023-01-09T22:45:32.068Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-09T22:45:32.068Z] ---> Running in 14f42d50e3ae [2023-01-09T22:45:32.068Z] Removing intermediate container 14f42d50e3ae [2023-01-09T22:45:32.068Z] ---> f387fb0bb710 [2023-01-09T22:45:32.068Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T22:45:32.068Z] ---> Running in d62fab828159 [2023-01-09T22:45:32.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T22:45:32.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T22:45:32.588Z] OK: 211 MiB in 51 packages [2023-01-09T22:45:32.846Z] Removing intermediate container d62fab828159 [2023-01-09T22:45:32.846Z] ---> d9ac115c9cd2 [2023-01-09T22:45:32.846Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-09T22:45:33.106Z] ---> Running in cdd157e56a38 [2023-01-09T22:45:33.106Z] Removing intermediate container cdd157e56a38 [2023-01-09T22:45:33.106Z] ---> ec2aff5fc665 [2023-01-09T22:45:33.106Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-09T22:45:33.106Z] ---> 987cdc8dbc3f [2023-01-09T22:45:33.106Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T22:45:33.106Z] ---> Running in 40f7e44a10be [2023-01-09T22:46:12.063Z] Removing intermediate container 40f7e44a10be [2023-01-09T22:46:12.063Z] ---> a372410b7a27 [2023-01-09T22:46:12.063Z] Step 12/13 : COPY . . [2023-01-09T22:46:12.063Z] ---> 1d0f75ed6b21 [2023-01-09T22:46:12.063Z] Step 13/13 : RUN ${MAKE} [2023-01-09T22:46:12.063Z] ---> Running in 3ee866ce8fe0 [2023-01-09T22:46:12.063Z] noop [2023-01-09T22:46:12.063Z] Removing intermediate container 3ee866ce8fe0 [2023-01-09T22:46:12.063Z] ---> f9cc3b6e741c [2023-01-09T22:46:12.063Z] Successfully built f9cc3b6e741c [2023-01-09T22:46:12.063Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:46:12.510Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T22:46:12.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T22:46:12.655Z] prd-ubuntu20.04-docker-8c-8g-1495 does not seem to be running inside a container [2023-01-09T22:46:12.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-206 -v /w/workspace/undry_device-onvif-camera_PR-206:/w/workspace/undry_device-onvif-camera_PR-206:rw,z -v /w/workspace/undry_device-onvif-camera_PR-206@tmp:/w/workspace/undry_device-onvif-camera_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T22:46:13.019Z] $ docker top b751f055ee004269f56ff73e627080ac1018ad85bb4e3c62456c9205c1eda418 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T22:46:13.410Z] + go version [2023-01-09T22:46:13.410Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T22:46:13.442Z] $ docker stop --time=1 b751f055ee004269f56ff73e627080ac1018ad85bb4e3c62456c9205c1eda418 [2023-01-09T22:46:14.714Z] $ docker rm -f --volumes b751f055ee004269f56ff73e627080ac1018ad85bb4e3c62456c9205c1eda418 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:46:15.390Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T22:46:15.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T22:46:15.537Z] prd-ubuntu20.04-docker-8c-8g-1495 does not seem to be running inside a container [2023-01-09T22:46:15.568Z] $ 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-206 -v /w/workspace/undry_device-onvif-camera_PR-206:/w/workspace/undry_device-onvif-camera_PR-206:rw,z -v /w/workspace/undry_device-onvif-camera_PR-206@tmp:/w/workspace/undry_device-onvif-camera_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T22:46:15.949Z] $ docker top 680e8e9a4c09165631564f3425a53dab57832918b95d5531fae7f8e93dec203c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T22:46:16.355Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-206 [Pipeline] fileExists [Pipeline] sh [2023-01-09T22:46:16.717Z] + make test [2023-01-09T22:46:16.717Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-09T22:46:16.976Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-09T22:46:29.176Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-09T22:46:31.708Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.044s coverage: 29.3% of statements [2023-01-09T22:46:31.708Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-09T22:46:31.708Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.498s coverage: 86.5% of statements [2023-01-09T22:46:39.876Z] 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-01-09T22:46:39.876Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T22:46:44.069Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T22:46:44.069Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T22:46:44.069Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T22:46:44.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T22:46:44.145Z] $ docker stop --time=1 680e8e9a4c09165631564f3425a53dab57832918b95d5531fae7f8e93dec203c [2023-01-09T22:46:46.968Z] $ docker rm -f --volumes 680e8e9a4c09165631564f3425a53dab57832918b95d5531fae7f8e93dec203c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T22:46:47.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T22:46:47.564Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-09T22:46:48.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T22:46:48.532Z] + ls -al . [2023-01-09T22:46:48.532Z] total 248 [2023-01-09T22:46:48.532Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 22:46 . [2023-01-09T22:46:48.532Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 22:44 .. [2023-01-09T22:46:48.532Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 22:46 .git [2023-01-09T22:46:48.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 22:44 .github [2023-01-09T22:46:48.532Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 9 22:44 .gitignore [2023-01-09T22:46:48.532Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 22:44 .golangci.yml [2023-01-09T22:46:48.532Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 22:45 .semver [2023-01-09T22:46:48.532Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 9 22:44 Attribution.txt [2023-01-09T22:46:48.532Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 9 22:44 CHANGELOG.md [2023-01-09T22:46:48.532Z] -rw-rw-r-- 1 jenkins jenkins 1619 Jan 9 22:44 Dockerfile [2023-01-09T22:46:48.532Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 22:44 GOVERNANCE.md [2023-01-09T22:46:48.532Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 9 22:44 Jenkinsfile [2023-01-09T22:46:48.532Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 9 22:44 LICENSE [2023-01-09T22:46:48.533Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 9 22:44 Makefile [2023-01-09T22:46:48.533Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 9 22:44 OWNERS.md [2023-01-09T22:46:48.533Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 9 22:44 README.md [2023-01-09T22:46:48.533Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 22:45 VERSION [2023-01-09T22:46:48.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 22:44 bin [2023-01-09T22:46:48.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 22:44 cmd [2023-01-09T22:46:48.533Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 9 22:46 coverage.out [2023-01-09T22:46:48.533Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 22:44 doc [2023-01-09T22:46:48.533Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 9 22:44 go.mod [2023-01-09T22:46:48.533Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 9 22:44 go.sum [2023-01-09T22:46:48.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 22:44 internal [2023-01-09T22:46:48.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 22:44 snap [2023-01-09T22:46:48.533Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 9 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:46:48.931Z] + 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=07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 --label arch=amd64 --label version=0.0.0 . [2023-01-09T22:46:48.931Z] Sending build context to Docker daemon 27.7MB [2023-01-09T22:46:48.931Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T22:46:48.931Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-09T22:46:48.931Z] ---> f9cc3b6e741c [2023-01-09T22:46:48.931Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-09T22:46:49.514Z] ---> Running in 58830f84873b [2023-01-09T22:46:49.514Z] Removing intermediate container 58830f84873b [2023-01-09T22:46:49.514Z] ---> a021d70dc066 [2023-01-09T22:46:49.514Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T22:46:49.514Z] ---> Running in c66585aa08e1 [2023-01-09T22:46:49.514Z] Removing intermediate container c66585aa08e1 [2023-01-09T22:46:49.514Z] ---> 0b79eb9ae11e [2023-01-09T22:46:49.514Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T22:46:49.514Z] ---> Running in 24c934ed3037 [2023-01-09T22:46:49.773Z] Removing intermediate container 24c934ed3037 [2023-01-09T22:46:49.773Z] ---> fbd1673e9a19 [2023-01-09T22:46:49.773Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T22:46:49.773Z] ---> Running in e9abf5dd1244 [2023-01-09T22:46:49.773Z] Removing intermediate container e9abf5dd1244 [2023-01-09T22:46:49.773Z] ---> 5527347232ef [2023-01-09T22:46:49.773Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-09T22:46:49.773Z] ---> Running in f89e31ebb995 [2023-01-09T22:46:50.033Z] Removing intermediate container f89e31ebb995 [2023-01-09T22:46:50.033Z] ---> 1593b6afe954 [2023-01-09T22:46:50.033Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T22:46:50.033Z] ---> Running in 71ad6850ed70 [2023-01-09T22:46:50.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T22:46:50.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T22:46:50.551Z] OK: 211 MiB in 51 packages [2023-01-09T22:46:50.811Z] Removing intermediate container 71ad6850ed70 [2023-01-09T22:46:50.811Z] ---> 8dbdb2285496 [2023-01-09T22:46:50.811Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-09T22:46:51.069Z] ---> Running in 56193bca6c6b [2023-01-09T22:46:51.069Z] Removing intermediate container 56193bca6c6b [2023-01-09T22:46:51.069Z] ---> 7e4c82afcc82 [2023-01-09T22:46:51.069Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-09T22:46:51.069Z] ---> b05744d7f83f [2023-01-09T22:46:51.069Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T22:46:51.069Z] ---> Running in 79c343b3332a [2023-01-09T22:46:52.004Z] Removing intermediate container 79c343b3332a [2023-01-09T22:46:52.004Z] ---> dae40426e81c [2023-01-09T22:46:52.004Z] Step 12/26 : COPY . . [2023-01-09T22:46:53.015Z] ---> 5916133324c3 [2023-01-09T22:46:53.015Z] Step 13/26 : RUN ${MAKE} [2023-01-09T22:46:53.015Z] ---> Running in ab8234a305df [2023-01-09T22:46:53.015Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-09T22:47:06.638Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1496 in /w/workspace/undry_device-onvif-camera_PR-206 [Pipeline] { [Pipeline] ws [2023-01-09T22:47:06.696Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-09T22:47:06.781Z] The recommended git tool is: git [2023-01-09T22:47:12.918Z] using credential edgex-jenkins-ssh [2023-01-09T22:47:12.940Z] Cloning the remote Git repository [2023-01-09T22:47:13.006Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-09T22:47:13.104Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-09T22:47:13.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-09T22:47:13.314Z] > git --version # timeout=10 [2023-01-09T22:47:13.335Z] > git --version # 'git version 2.25.1' [2023-01-09T22:47:13.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T22:47:13.406Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T22:47:14.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-09T22:47:14.802Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T22:47:16.428Z] Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [2023-01-09T22:47:16.889Z] Merge succeeded, producing 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [2023-01-09T22:47:16.889Z] Checking out Revision 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 (PR-206) [2023-01-09T22:47:15.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-09T22:47:15.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-09T22:47:15.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T22:47:15.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-09T22:47:16.450Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T22:47:16.471Z] > git checkout -f 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 # timeout=10 [2023-01-09T22:47:16.791Z] > git remote # timeout=10 [2023-01-09T22:47:16.813Z] > git config --get remote.origin.url # timeout=10 [2023-01-09T22:47:16.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T22:47:16.847Z] > git merge e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 [2023-01-09T22:47:16.873Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-09T22:47:16.899Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T22:47:16.915Z] > git checkout -f 07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 # timeout=10 [2023-01-09T22:47:19.555Z] Removing intermediate container ab8234a305df [2023-01-09T22:47:19.555Z] ---> e5b5e8e51369 [2023-01-09T22:47:19.555Z] Step 14/26 : FROM alpine:3.16 [2023-01-09T22:47:19.555Z] 3.16: Pulling from library/alpine [2023-01-09T22:47:19.555Z] ca7dd9ec2225: Pulling fs layer [2023-01-09T22:47:19.555Z] ca7dd9ec2225: Download complete [2023-01-09T22:47:19.555Z] ca7dd9ec2225: Pull complete [2023-01-09T22:47:19.555Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T22:47:19.555Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T22:47:19.555Z] ---> bfe296a52501 [2023-01-09T22:47:19.555Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-09T22:47:19.555Z] ---> Running in 12f808f2650d [2023-01-09T22:47:19.555Z] Removing intermediate container 12f808f2650d [2023-01-09T22:47:19.555Z] ---> a92cb210455c [2023-01-09T22:47:19.555Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T22:47:19.555Z] ---> Running in 0499fe5d4a4d [2023-01-09T22:47:19.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T22:47:19.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T22:47:19.555Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T22:47:19.555Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-09T22:47:19.555Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T22:47:19.555Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-09T22:47:19.555Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T22:47:19.555Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T22:47:19.555Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T22:47:19.555Z] OK: 8 MiB in 20 packages [2023-01-09T22:47:19.555Z] Removing intermediate container 0499fe5d4a4d [2023-01-09T22:47:19.555Z] ---> 0a42601003c7 [2023-01-09T22:47:19.555Z] Step 17/26 : WORKDIR / [2023-01-09T22:47:19.555Z] ---> Running in 04d7b641758f [2023-01-09T22:47:19.555Z] Removing intermediate container 04d7b641758f [2023-01-09T22:47:19.555Z] ---> 617e970c9886 [2023-01-09T22:47:19.555Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-09T22:47:19.555Z] ---> 84fea2fd1b6b [2023-01-09T22:47:19.555Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-09T22:47:19.814Z] ---> 568a592cd8f9 [2023-01-09T22:47:19.814Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-09T22:47:19.814Z] ---> 52a3508b5607 [2023-01-09T22:47:19.814Z] Step 21/26 : EXPOSE 59984 [2023-01-09T22:47:19.814Z] ---> Running in 7a381b3d3b53 [2023-01-09T22:47:19.814Z] Removing intermediate container 7a381b3d3b53 [2023-01-09T22:47:19.814Z] ---> 99ccf8124156 [2023-01-09T22:47:19.814Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-09T22:47:20.073Z] ---> Running in 6aa962e19302 [2023-01-09T22:47:20.073Z] Removing intermediate container 6aa962e19302 [2023-01-09T22:47:20.073Z] ---> ae1ae2efb256 [2023-01-09T22:47:20.073Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-09T22:47:20.073Z] ---> Running in 18872cb076aa [2023-01-09T22:47:20.073Z] Removing intermediate container 18872cb076aa [2023-01-09T22:47:20.073Z] ---> e248f3cc5995 [2023-01-09T22:47:20.073Z] Step 24/26 : LABEL arch=amd64 [2023-01-09T22:47:20.073Z] ---> Running in 4ee3e75a51ea [2023-01-09T22:47:20.333Z] Removing intermediate container 4ee3e75a51ea [2023-01-09T22:47:20.333Z] ---> 66d013636a26 [2023-01-09T22:47:20.333Z] Step 25/26 : LABEL git_sha=07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [2023-01-09T22:47:20.333Z] ---> Running in 933a9621d95b [2023-01-09T22:47:20.333Z] Removing intermediate container 933a9621d95b [2023-01-09T22:47:20.333Z] ---> 8ecdaf8cd82d [2023-01-09T22:47:20.333Z] Step 26/26 : LABEL version=0.0.0 [2023-01-09T22:47:20.333Z] ---> Running in f8e1e0619719 [2023-01-09T22:47:20.333Z] Removing intermediate container f8e1e0619719 [2023-01-09T22:47:20.333Z] ---> e6aefe36a5ee [2023-01-09T22:47:20.333Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T22:47:20.333Z] Successfully built e6aefe36a5ee [2023-01-09T22:47:20.333Z] 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] { [2023-01-09T22:47:20.835Z] Commit message: "fix: update scripts to use latest consul path" [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:47:20.896Z] > git --version # timeout=10 [2023-01-09T22:47:20.910Z] > git --version # 'git version 2.25.1' [2023-01-09T22:47:20.928Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T22:47:21.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T22:47:21.188Z] [2023-01-09T22:47:21.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:47:21.315Z] [2023-01-09T22:47:21.316Z] GitHub has been notified of this commit’s build result [2023-01-09T22:47:21.316Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-01-09T22:47:21.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T22:47:21.563Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T22:47:21.563Z] 5eb5b503b376: Pulling fs layer [2023-01-09T22:47:21.563Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T22:47:21.563Z] ec43610c2a17: Pulling fs layer [2023-01-09T22:47:21.563Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T22:47:21.563Z] 33b1e0a273af: Pulling fs layer [2023-01-09T22:47:21.563Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T22:47:21.563Z] 2f39f015ded8: Pulling fs layer [2023-01-09T22:47:21.563Z] 33b1e0a273af: Waiting [2023-01-09T22:47:21.563Z] 5d3b04190fa2: Waiting [2023-01-09T22:47:21.563Z] 2f39f015ded8: Waiting [2023-01-09T22:47:21.563Z] 3a2ae6a8a46f: Waiting [2023-01-09T22:47:21.563Z] 5c69ac0246d0: Download complete [2023-01-09T22:47:21.563Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-09T22:47:21.563Z] 3a2ae6a8a46f: Download complete [2023-01-09T22:47:21.563Z] 33b1e0a273af: Verifying Checksum [2023-01-09T22:47:21.563Z] 33b1e0a273af: Download complete [Pipeline] sh [2023-01-09T22:47:21.824Z] 5d3b04190fa2: Verifying Checksum [2023-01-09T22:47:21.824Z] 5d3b04190fa2: Download complete [2023-01-09T22:47:21.824Z] ec43610c2a17: Verifying Checksum [2023-01-09T22:47:21.824Z] ec43610c2a17: Download complete [2023-01-09T22:47:21.824Z] 5eb5b503b376: Verifying Checksum [2023-01-09T22:47:21.824Z] 5eb5b503b376: Download complete [2023-01-09T22:47:22.072Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T22:47:22.072Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T22:47:22.072Z] Dload Upload Total Spent Left Speed [2023-01-09T22:47:22.072Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [2023-01-09T22:47:22.402Z] 2f39f015ded8: Download complete [Pipeline] sh [2023-01-09T22:47:22.881Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T22:47:22.967Z] 5eb5b503b376: Pull complete [2023-01-09T22:47:23.226Z] 5c69ac0246d0: Pull complete [2023-01-09T22:47:23.237Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-09T22:47:23.237Z] + sudo tee /etc/docker/daemon.new [2023-01-09T22:47:23.237Z] { [2023-01-09T22:47:23.237Z] "registry-mirrors": [ [2023-01-09T22:47:23.237Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T22:47:23.237Z] ], [2023-01-09T22:47:23.237Z] "bip": "10.250.0.254/24", [2023-01-09T22:47:23.237Z] "hosts": [ [2023-01-09T22:47:23.237Z] "tcp://0.0.0.0:5555", [2023-01-09T22:47:23.237Z] "unix:///var/run/docker.sock" [2023-01-09T22:47:23.237Z] ], [2023-01-09T22:47:23.237Z] "mtu": 1458, [2023-01-09T22:47:23.237Z] "selinux-enabled": true, [2023-01-09T22:47:23.237Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T22:47:23.237Z] } [Pipeline] sh [2023-01-09T22:47:23.593Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-09T22:47:23.792Z] ec43610c2a17: Pull complete [2023-01-09T22:47:23.792Z] 3a2ae6a8a46f: Pull complete [2023-01-09T22:47:23.959Z] + sudo service docker restart [2023-01-09T22:47:24.052Z] 33b1e0a273af: Pull complete [2023-01-09T22:47:24.052Z] 5d3b04190fa2: Pull complete [2023-01-09T22:47:29.442Z] 2f39f015ded8: Pull complete [2023-01-09T22:47:29.442Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T22:47:29.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T22:47:29.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T22:47:29.669Z] prd-ubuntu20.04-docker-8c-8g-1495 does not seem to be running inside a container [2023-01-09T22:47:29.695Z] $ 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-206 -v /w/workspace/undry_device-onvif-camera_PR-206:/w/workspace/undry_device-onvif-camera_PR-206:rw,z -v /w/workspace/undry_device-onvif-camera_PR-206@tmp:/w/workspace/undry_device-onvif-camera_PR-206@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-01-09T22:47:33.735Z] $ docker top 4bf6a3b328487a1797772db555af724591fd6212a60f3c018222d999a9a53a0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:47:34.191Z] ---> job-cost.sh [2023-01-09T22:47:34.191Z] lf-activate-venv: SKIPPING [2023-01-09T22:47:34.192Z] INFO: No Stack... [2023-01-09T22:47:34.759Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T22:47:35.018Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T22:47:35.335Z] + cat /w/workspace/undry_device-onvif-camera_PR-206/archives/cost.csv [2023-01-09T22:47:35.335Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T22:47:35.376Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-206-1-stack-cost] [2023-01-09T22:47:35.381Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-206-1-stack-cost] did not exist. Created. [2023-01-09T22:47:35.381Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-206-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T22:47:35.777Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T22:47:35.829Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T22:47:35.855Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-206-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T22:47:35.923Z] $ docker stop --time=1 4bf6a3b328487a1797772db555af724591fd6212a60f3c018222d999a9a53a0b [2023-01-09T22:47:37.069Z] $ docker rm -f --volumes 4bf6a3b328487a1797772db555af724591fd6212a60f3c018222d999a9a53a0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T22:47:42.272Z] provisioning config files... [2023-01-09T22:47:42.298Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config16579785690677633110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:47:42.688Z] ---> docker-login.sh [2023-01-09T22:47:42.688Z] nexus3.edgexfoundry.org:10001 [2023-01-09T22:47:43.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:47:43.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:47:43.274Z] Configure a credential helper to remove this warning. See [2023-01-09T22:47:43.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:47:43.274Z] [2023-01-09T22:47:43.274Z] Login Succeeded [2023-01-09T22:47:43.274Z] nexus3.edgexfoundry.org:10002 [2023-01-09T22:47:43.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:47:43.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:47:43.544Z] Configure a credential helper to remove this warning. See [2023-01-09T22:47:43.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:47:43.544Z] [2023-01-09T22:47:43.544Z] Login Succeeded [2023-01-09T22:47:43.544Z] nexus3.edgexfoundry.org:10003 [2023-01-09T22:47:43.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:47:44.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:47:44.084Z] Configure a credential helper to remove this warning. See [2023-01-09T22:47:44.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:47:44.084Z] [2023-01-09T22:47:44.084Z] Login Succeeded [2023-01-09T22:47:44.084Z] nexus3.edgexfoundry.org:10004 [2023-01-09T22:47:44.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:47:44.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:47:44.357Z] Configure a credential helper to remove this warning. See [2023-01-09T22:47:44.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:47:44.357Z] [2023-01-09T22:47:44.357Z] Login Succeeded [2023-01-09T22:47:44.357Z] docker.io [2023-01-09T22:47:44.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T22:47:44.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T22:47:44.898Z] Configure a credential helper to remove this warning. See [2023-01-09T22:47:44.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T22:47:44.898Z] [2023-01-09T22:47:44.898Z] Login Succeeded [2023-01-09T22:47:44.898Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T22:47:44.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T22:47:45.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T22:47:45.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T22:47:45.379Z] ========================================================= [2023-01-09T22:47:45.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T22:47:45.380Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:47:45.880Z] + 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-01-09T22:47:46.473Z] Sending build context to Docker daemon 20.53MB [2023-01-09T22:47:46.473Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T22:47:46.473Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-09T22:47:46.473Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T22:47:46.473Z] 9b18e9b68314: Pulling fs layer [2023-01-09T22:47:46.473Z] 35d82f9e3411: Pulling fs layer [2023-01-09T22:47:46.473Z] e16973657156: Pulling fs layer [2023-01-09T22:47:46.473Z] fc693d55d65f: Pulling fs layer [2023-01-09T22:47:46.473Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T22:47:46.473Z] dda99020689f: Pulling fs layer [2023-01-09T22:47:46.473Z] db1c61fa0a46: Pulling fs layer [2023-01-09T22:47:46.473Z] 891c053d2c06: Pulling fs layer [2023-01-09T22:47:46.473Z] fc693d55d65f: Waiting [2023-01-09T22:47:46.473Z] 7e9fc2657dce: Waiting [2023-01-09T22:47:46.473Z] dda99020689f: Waiting [2023-01-09T22:47:46.473Z] db1c61fa0a46: Waiting [2023-01-09T22:47:46.473Z] 891c053d2c06: Waiting [2023-01-09T22:47:46.744Z] e16973657156: Download complete [2023-01-09T22:47:46.744Z] 35d82f9e3411: Verifying Checksum [2023-01-09T22:47:46.744Z] 35d82f9e3411: Download complete [2023-01-09T22:47:46.744Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T22:47:46.744Z] 7e9fc2657dce: Download complete [2023-01-09T22:47:46.744Z] dda99020689f: Download complete [2023-01-09T22:47:46.744Z] 9b18e9b68314: Download complete [2023-01-09T22:47:47.733Z] 891c053d2c06: Verifying Checksum [2023-01-09T22:47:47.733Z] 891c053d2c06: Download complete [2023-01-09T22:47:48.704Z] 9b18e9b68314: Pull complete [2023-01-09T22:47:48.980Z] db1c61fa0a46: Verifying Checksum [2023-01-09T22:47:48.980Z] db1c61fa0a46: Download complete [2023-01-09T22:47:49.256Z] 35d82f9e3411: Pull complete [2023-01-09T22:47:49.533Z] e16973657156: Pull complete [2023-01-09T22:47:49.533Z] fc693d55d65f: Verifying Checksum [2023-01-09T22:47:49.533Z] fc693d55d65f: Download complete [2023-01-09T22:48:01.884Z] fc693d55d65f: Pull complete [2023-01-09T22:48:01.884Z] 7e9fc2657dce: Pull complete [2023-01-09T22:48:01.884Z] dda99020689f: Pull complete [2023-01-09T22:48:07.240Z] db1c61fa0a46: Pull complete [2023-01-09T22:48:08.668Z] 891c053d2c06: Pull complete [2023-01-09T22:48:08.668Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T22:48:08.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T22:48:08.668Z] ---> f96f9c87975a [2023-01-09T22:48:08.668Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-09T22:48:10.622Z] ---> Running in 9e96ec2bf517 [2023-01-09T22:48:10.891Z] Removing intermediate container 9e96ec2bf517 [2023-01-09T22:48:10.891Z] ---> 9df1fa04337a [2023-01-09T22:48:10.891Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T22:48:10.891Z] ---> Running in c5659a85064f [2023-01-09T22:48:11.173Z] Removing intermediate container c5659a85064f [2023-01-09T22:48:11.173Z] ---> af2ccf58570b [2023-01-09T22:48:11.173Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T22:48:11.447Z] ---> Running in 35ddc4141ae8 [2023-01-09T22:48:11.718Z] Removing intermediate container 35ddc4141ae8 [2023-01-09T22:48:11.718Z] ---> 755cef204509 [2023-01-09T22:48:11.718Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T22:48:11.718Z] ---> Running in dc2948dcc973 [2023-01-09T22:48:12.313Z] Removing intermediate container dc2948dcc973 [2023-01-09T22:48:12.313Z] ---> 876744554301 [2023-01-09T22:48:12.313Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-09T22:48:12.313Z] ---> Running in 5b0959e33135 [2023-01-09T22:48:12.585Z] Removing intermediate container 5b0959e33135 [2023-01-09T22:48:12.585Z] ---> 29ccbdff5ca5 [2023-01-09T22:48:12.585Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T22:48:12.585Z] ---> Running in 675be6416f80 [2023-01-09T22:48:14.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T22:48:14.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T22:48:15.248Z] OK: 221 MiB in 51 packages [2023-01-09T22:48:16.219Z] Removing intermediate container 675be6416f80 [2023-01-09T22:48:16.219Z] ---> d6e57b20cc81 [2023-01-09T22:48:16.219Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-09T22:48:16.219Z] ---> Running in 68809b5d19d2 [2023-01-09T22:48:16.488Z] Removing intermediate container 68809b5d19d2 [2023-01-09T22:48:16.488Z] ---> 69a734ac8b2c [2023-01-09T22:48:16.488Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-09T22:48:17.079Z] ---> 3350a537f2e6 [2023-01-09T22:48:17.079Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T22:48:17.349Z] ---> Running in 7820d27cb7dc [2023-01-09T22:49:25.274Z] Removing intermediate container 7820d27cb7dc [2023-01-09T22:49:25.274Z] ---> 183b9585144a [2023-01-09T22:49:25.274Z] Step 12/13 : COPY . . [2023-01-09T22:49:25.274Z] ---> d9bdfdd0f959 [2023-01-09T22:49:25.274Z] Step 13/13 : RUN ${MAKE} [2023-01-09T22:49:25.274Z] ---> Running in 8a851befbbae [2023-01-09T22:49:25.274Z] noop [2023-01-09T22:49:25.274Z] Removing intermediate container 8a851befbbae [2023-01-09T22:49:25.274Z] ---> 5e798b83dda2 [2023-01-09T22:49:25.274Z] Successfully built 5e798b83dda2 [2023-01-09T22:49:25.274Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:49:25.771Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T22:49:25.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T22:49:26.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-1496 does not seem to be running inside a container [2023-01-09T22:49:26.126Z] $ 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-01-09T22:49:27.410Z] $ docker top 9378211f5eeeb997c0073a0e6979973021fd03277ae2686a45e906040efa0585 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T22:49:28.325Z] + go version [2023-01-09T22:49:28.325Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T22:49:28.364Z] $ docker stop --time=1 9378211f5eeeb997c0073a0e6979973021fd03277ae2686a45e906040efa0585 [2023-01-09T22:49:30.004Z] $ docker rm -f --volumes 9378211f5eeeb997c0073a0e6979973021fd03277ae2686a45e906040efa0585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:49:30.824Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T22:49:30.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T22:49:31.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-1496 does not seem to be running inside a container [2023-01-09T22:49:31.137Z] $ 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-01-09T22:49:32.302Z] $ docker top 81055fce7cf28195f6134c6ee4cb2d19eaac9eed9d7567eb9be3bbbc10c0d897 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T22:49:33.161Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-09T22:49:33.862Z] + make test [2023-01-09T22:49:33.862Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-09T22:49:35.807Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-09T22:51:13.113Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-09T22:51:13.113Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 29.3% of statements [2023-01-09T22:51:13.113Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-09T22:51:31.339Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.423s coverage: 86.5% of statements [2023-01-09T22:51:31.339Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-09T22:51:31.339Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T22:52:10.248Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T22:52:10.248Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T22:52:10.248Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T22:52:10.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T22:52:10.320Z] $ docker stop --time=1 81055fce7cf28195f6134c6ee4cb2d19eaac9eed9d7567eb9be3bbbc10c0d897 [2023-01-09T22:52:12.480Z] $ docker rm -f --volumes 81055fce7cf28195f6134c6ee4cb2d19eaac9eed9d7567eb9be3bbbc10c0d897 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T22:52:13.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T22:52:13.639Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T22:52:14.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T22:52:14.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T22:52:15.196Z] + ls -al . [2023-01-09T22:52:15.196Z] total 244 [2023-01-09T22:52:15.196Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 22:49 . [2023-01-09T22:52:15.196Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 22:47 .. [2023-01-09T22:52:15.196Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 22:47 .git [2023-01-09T22:52:15.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 22:47 .github [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 9 22:47 .gitignore [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 22:47 .golangci.yml [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 9 22:47 Attribution.txt [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 9 22:47 CHANGELOG.md [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 1619 Jan 9 22:47 Dockerfile [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 22:47 GOVERNANCE.md [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 9 22:47 Jenkinsfile [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 9 22:47 LICENSE [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 9 22:47 Makefile [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 9 22:47 OWNERS.md [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 9 22:47 README.md [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 22:45 VERSION [2023-01-09T22:52:15.196Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 22:47 bin [2023-01-09T22:52:15.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 22:47 cmd [2023-01-09T22:52:15.196Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 9 22:51 coverage.out [2023-01-09T22:52:15.196Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 22:47 doc [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 9 22:47 go.mod [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 9 22:47 go.sum [2023-01-09T22:52:15.196Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 22:47 internal [2023-01-09T22:52:15.196Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 22:47 snap [2023-01-09T22:52:15.196Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 9 22:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:52:15.611Z] + 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=07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 --label arch=arm64 --label version=0.0.0 . [2023-01-09T22:52:16.193Z] Sending build context to Docker daemon 20.61MB [2023-01-09T22:52:16.193Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T22:52:16.193Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-09T22:52:16.193Z] ---> 5e798b83dda2 [2023-01-09T22:52:16.194Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-09T22:52:16.462Z] ---> Running in 83f2b8f98b05 [2023-01-09T22:52:16.731Z] Removing intermediate container 83f2b8f98b05 [2023-01-09T22:52:16.731Z] ---> 928038117c5a [2023-01-09T22:52:16.731Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T22:52:16.998Z] ---> Running in d7b32e593841 [2023-01-09T22:52:17.265Z] Removing intermediate container d7b32e593841 [2023-01-09T22:52:17.265Z] ---> c70517ea2276 [2023-01-09T22:52:17.265Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T22:52:17.265Z] ---> Running in 2248b54769db [2023-01-09T22:52:17.532Z] Removing intermediate container 2248b54769db [2023-01-09T22:52:17.532Z] ---> e68ae390750b [2023-01-09T22:52:17.532Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T22:52:17.802Z] ---> Running in 28a4636ea827 [2023-01-09T22:52:18.071Z] Removing intermediate container 28a4636ea827 [2023-01-09T22:52:18.071Z] ---> 555ac810b920 [2023-01-09T22:52:18.071Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-09T22:52:18.071Z] ---> Running in bbea39d55ddf [2023-01-09T22:52:20.023Z] Removing intermediate container bbea39d55ddf [2023-01-09T22:52:20.023Z] ---> 87163c9d00a1 [2023-01-09T22:52:20.023Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T22:52:20.023Z] ---> Running in 5736c40713fa [2023-01-09T22:52:20.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T22:52:21.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T22:52:22.212Z] OK: 221 MiB in 51 packages [2023-01-09T22:52:23.176Z] Removing intermediate container 5736c40713fa [2023-01-09T22:52:23.176Z] ---> b623a87edcd8 [2023-01-09T22:52:23.176Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-09T22:52:23.463Z] ---> Running in 1826acda7134 [2023-01-09T22:52:23.734Z] Removing intermediate container 1826acda7134 [2023-01-09T22:52:23.734Z] ---> 5c4c68dcf20b [2023-01-09T22:52:23.734Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-09T22:52:24.850Z] ---> 64c24eb1168b [2023-01-09T22:52:24.850Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T22:52:24.850Z] ---> Running in ab0f1f1de4f8 [2023-01-09T22:52:30.305Z] Removing intermediate container ab0f1f1de4f8 [2023-01-09T22:52:30.305Z] ---> 7c1db7d12de4 [2023-01-09T22:52:30.305Z] Step 12/26 : COPY . . [2023-01-09T22:52:32.905Z] ---> cb125d5bcd65 [2023-01-09T22:52:32.905Z] Step 13/26 : RUN ${MAKE} [2023-01-09T22:52:32.905Z] ---> Running in 16cedf4334aa [2023-01-09T22:52:33.868Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-09T22:54:55.609Z] Removing intermediate container 16cedf4334aa [2023-01-09T22:54:55.609Z] ---> a966a65a2d0f [2023-01-09T22:54:55.609Z] Step 14/26 : FROM alpine:3.16 [2023-01-09T22:54:55.609Z] 3.16: Pulling from library/alpine [2023-01-09T22:54:55.609Z] 6875df1f5354: Pulling fs layer [2023-01-09T22:54:55.876Z] 6875df1f5354: Verifying Checksum [2023-01-09T22:54:55.876Z] 6875df1f5354: Download complete [2023-01-09T22:54:56.462Z] 6875df1f5354: Pull complete [2023-01-09T22:54:56.462Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T22:54:56.462Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T22:54:56.462Z] ---> 2b4661558fb8 [2023-01-09T22:54:56.462Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-09T22:54:56.462Z] ---> Running in 3ba8ccf661b4 [2023-01-09T22:54:56.732Z] Removing intermediate container 3ba8ccf661b4 [2023-01-09T22:54:56.732Z] ---> 9f03fbeb47a1 [2023-01-09T22:54:56.732Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T22:54:56.732Z] ---> Running in cdff7520a963 [2023-01-09T22:54:57.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T22:54:58.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T22:54:59.255Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T22:54:59.255Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-09T22:54:59.255Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T22:54:59.255Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-09T22:54:59.255Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T22:54:59.255Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T22:54:59.255Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T22:54:59.255Z] OK: 8 MiB in 20 packages [2023-01-09T22:55:00.218Z] Removing intermediate container cdff7520a963 [2023-01-09T22:55:00.218Z] ---> 61c03abc197d [2023-01-09T22:55:00.218Z] Step 17/26 : WORKDIR / [2023-01-09T22:55:00.493Z] ---> Running in 2183e56c1a02 [2023-01-09T22:55:01.050Z] Removing intermediate container 2183e56c1a02 [2023-01-09T22:55:01.050Z] ---> 311ed1ac7997 [2023-01-09T22:55:01.050Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-09T22:55:02.502Z] ---> dba5781054fb [2023-01-09T22:55:02.502Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-09T22:55:03.096Z] ---> fc986738ca52 [2023-01-09T22:55:03.096Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-09T22:55:03.682Z] ---> 6e2734a50d6f [2023-01-09T22:55:03.682Z] Step 21/26 : EXPOSE 59984 [2023-01-09T22:55:03.682Z] ---> Running in df9bb11483bb [2023-01-09T22:55:03.950Z] Removing intermediate container df9bb11483bb [2023-01-09T22:55:03.950Z] ---> 81feef745711 [2023-01-09T22:55:03.950Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-09T22:55:03.950Z] ---> Running in 944983ec3331 [2023-01-09T22:55:04.536Z] Removing intermediate container 944983ec3331 [2023-01-09T22:55:04.536Z] ---> ce2751179bb3 [2023-01-09T22:55:04.536Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-09T22:55:04.536Z] ---> Running in 626fc017290f [2023-01-09T22:55:04.808Z] Removing intermediate container 626fc017290f [2023-01-09T22:55:04.808Z] ---> 2bf37ceaa7e0 [2023-01-09T22:55:04.808Z] Step 24/26 : LABEL arch=arm64 [2023-01-09T22:55:04.808Z] ---> Running in 189f64a1357d [2023-01-09T22:55:05.078Z] Removing intermediate container 189f64a1357d [2023-01-09T22:55:05.078Z] ---> 6679c2d41871 [2023-01-09T22:55:05.078Z] Step 25/26 : LABEL git_sha=07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [2023-01-09T22:55:05.347Z] ---> Running in 7e65c1ce998b [2023-01-09T22:55:05.615Z] Removing intermediate container 7e65c1ce998b [2023-01-09T22:55:05.615Z] ---> ceeb3ba68991 [2023-01-09T22:55:05.615Z] Step 26/26 : LABEL version=0.0.0 [2023-01-09T22:55:05.615Z] ---> Running in 61bdfc5e6518 [2023-01-09T22:55:05.880Z] Removing intermediate container 61bdfc5e6518 [2023-01-09T22:55:05.880Z] ---> 9c604afdf648 [2023-01-09T22:55:05.880Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T22:55:05.880Z] Successfully built 9c604afdf648 [2023-01-09T22:55:05.880Z] 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-01-09T22:55:07.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T22:55:07.370Z] [2023-01-09T22:55:07.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:55:07.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T22:55:08.055Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T22:55:08.055Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T22:55:08.055Z] 04944245beec: Pulling fs layer [2023-01-09T22:55:08.055Z] 699f458cf7ca: Pulling fs layer [2023-01-09T22:55:08.055Z] 765212b225bb: Pulling fs layer [2023-01-09T22:55:08.055Z] f23df028b6ca: Pulling fs layer [2023-01-09T22:55:08.055Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T22:55:08.055Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T22:55:08.055Z] f23df028b6ca: Waiting [2023-01-09T22:55:08.055Z] 2437ff75d9bd: Waiting [2023-01-09T22:55:08.055Z] d65c8cfc05b1: Waiting [2023-01-09T22:55:08.055Z] 765212b225bb: Waiting [2023-01-09T22:55:08.055Z] 04944245beec: Verifying Checksum [2023-01-09T22:55:08.055Z] 04944245beec: Download complete [2023-01-09T22:55:08.055Z] 765212b225bb: Verifying Checksum [2023-01-09T22:55:08.055Z] 765212b225bb: Download complete [2023-01-09T22:55:08.055Z] f23df028b6ca: Verifying Checksum [2023-01-09T22:55:08.055Z] f23df028b6ca: Download complete [2023-01-09T22:55:08.055Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T22:55:08.055Z] d65c8cfc05b1: Download complete [2023-01-09T22:55:08.327Z] 699f458cf7ca: Verifying Checksum [2023-01-09T22:55:08.327Z] 699f458cf7ca: Download complete [2023-01-09T22:55:08.598Z] 8998bd30e6a1: Download complete [2023-01-09T22:55:11.201Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T22:55:11.201Z] 2437ff75d9bd: Download complete [2023-01-09T22:55:12.616Z] 8998bd30e6a1: Pull complete [2023-01-09T22:55:13.215Z] 04944245beec: Pull complete [2023-01-09T22:55:14.627Z] 699f458cf7ca: Pull complete [2023-01-09T22:55:14.896Z] 765212b225bb: Pull complete [2023-01-09T22:55:15.490Z] f23df028b6ca: Pull complete [2023-01-09T22:55:15.757Z] d65c8cfc05b1: Pull complete [2023-01-09T22:55:30.773Z] 2437ff75d9bd: Pull complete [2023-01-09T22:55:30.773Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T22:55:30.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T22:55:30.773Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T22:55:31.095Z] prd-ubuntu20.04-docker-arm64-4c-16g-1496 does not seem to be running inside a container [2023-01-09T22:55:31.161Z] $ 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-01-09T22:55:34.029Z] $ docker top dbb938cb2a2164bb8a653a7d8c947a30b5ca9b21bf1b65c6d3d39b4e406ddaa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:55:34.985Z] ---> job-cost.sh [2023-01-09T22:55:34.985Z] lf-activate-venv: SKIPPING [2023-01-09T22:55:34.985Z] INFO: No Stack... [2023-01-09T22:55:35.568Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T22:55:36.148Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T22:55:36.488Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-01-09T22:55:36.489Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T22:55:36.547Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-206-1-stack-cost] [2023-01-09T22:55:36.552Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-206-1-stack-cost] did not exist. Created. [2023-01-09T22:55:36.552Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-206-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T22:55:37.274Z] /w/workspace/device-onvif-camera/1@tmp/durable-db49ad66/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T22:55:37.629Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T22:55:37.660Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T22:55:37.732Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T22:55:37.747Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-206-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T22:55:37.815Z] $ docker stop --time=1 dbb938cb2a2164bb8a653a7d8c947a30b5ca9b21bf1b65c6d3d39b4e406ddaa9 [2023-01-09T22:55:39.339Z] $ docker rm -f --volumes dbb938cb2a2164bb8a653a7d8c947a30b5ca9b21bf1b65c6d3d39b4e406ddaa9 [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-01-09T22:55:40.318Z] provisioning config files... [2023-01-09T22:55:40.325Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-206@tmp/config12807658568354316799tmp [Pipeline] { [Pipeline] sh [2023-01-09T22:55:40.661Z] + set +x [2023-01-09T22:55:40.661Z] + curl -s https://codecov.io/bash [2023-01-09T22:55:40.661Z] + bash -s -- [2023-01-09T22:55:40.661Z] [2023-01-09T22:55:40.661Z] _____ _ [2023-01-09T22:55:40.661Z] / ____| | | [2023-01-09T22:55:40.661Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T22:55:40.661Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T22:55:40.661Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T22:55:40.661Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T22:55:40.661Z] Bash-1.0.6 [2023-01-09T22:55:40.661Z] [2023-01-09T22:55:40.661Z] [2023-01-09T22:55:40.661Z] ==> git version 2.25.1 found [2023-01-09T22:55:40.661Z] ==> 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-01-09T22:55:40.661Z] Release-Date: 2020-01-08 [2023-01-09T22:55:40.661Z] 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-01-09T22:55:40.661Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T22:55:40.661Z] ==> Jenkins CI detected. [2023-01-09T22:55:40.661Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-206 [2023-01-09T22:55:40.661Z] project root: . [2023-01-09T22:55:40.661Z] --> token set from env [2023-01-09T22:55:40.661Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T22:55:40.661Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T22:55:40.661Z] ==> Python coveragepy not found [2023-01-09T22:55:40.661Z] ==> Searching for coverage reports in: [2023-01-09T22:55:40.661Z] + . [2023-01-09T22:55:40.661Z] -> Found 1 reports [2023-01-09T22:55:40.661Z] ==> Detecting git/mercurial file structure [2023-01-09T22:55:40.919Z] ==> Reading reports [2023-01-09T22:55:40.919Z] + ./coverage.out bytes=79184 [2023-01-09T22:55:40.919Z] ==> Appending adjustments [2023-01-09T22:55:40.920Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T22:55:40.920Z] + Found adjustments [2023-01-09T22:55:40.920Z] ==> Gzipping contents [2023-01-09T22:55:40.920Z] 12K /tmp/codecov.clWGIy.gz [2023-01-09T22:55:40.920Z] ==> Uploading reports [2023-01-09T22:55:40.920Z] url: https://codecov.io [2023-01-09T22:55:40.920Z] query: branch=PR-206&commit=07cc2de2bdcc9ca64e18933282e04fdf1e5498f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-206%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=206&job=&cmd_args= [2023-01-09T22:55:40.920Z] -> Pinging Codecov [2023-01-09T22:55:40.920Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-206&commit=07cc2de2bdcc9ca64e18933282e04fdf1e5498f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-206%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=206&job=&cmd_args= [2023-01-09T22:55:41.487Z] -> Uploading to [2023-01-09T22:55:41.487Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/F29A59C45E3A92E06B3E522C9905F8EF/07cc2de2bdcc9ca64e18933282e04fdf1e5498f3/87bf6fd2-92b3-4c1f-8480-7d93c3a11b58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T225541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4920476a6e08bfb2616af41132a6bf2bb1e8be0080faf84377f8e3530ef8204f [2023-01-09T22:55:41.487Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T22:55:41.487Z] Dload Upload Total Spent Left Speed [2023-01-09T22:55:41.745Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10874 0 0 100 10874 0 38154 --:--:-- --:--:-- --:--:-- 38154 [2023-01-09T22:55:41.745Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/07cc2de2bdcc9ca64e18933282e04fdf1e5498f3 [Pipeline] } [2023-01-09T22:55:41.777Z] 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-01-09T22:55:43.513Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-206/archives ] [2023-01-09T22:55:43.513Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-206/archives [2023-01-09T22:55:43.513Z] total 16 [2023-01-09T22:55:43.513Z] drwxr-xr-x 3 root root 4096 Jan 9 22:47 . [2023-01-09T22:55:43.513Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 22:47 .. [2023-01-09T22:55:43.513Z] drwxr-xr-x 2 root root 4096 Jan 9 22:47 cost [2023-01-09T22:55:43.513Z] -rw-r--r-- 1 root root 91 Jan 9 22:47 cost.csv [2023-01-09T22:55:43.513Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-206/archives [2023-01-09T22:55:43.513Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-206/archives [2023-01-09T22:55:43.513Z] total 16 [2023-01-09T22:55:43.513Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 22:47 . [2023-01-09T22:55:43.513Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 22:47 .. [2023-01-09T22:55:43.513Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 22:47 cost [2023-01-09T22:55:43.513Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 9 22:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:55:43.841Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:55:44.731Z] ---> package-listing.sh [2023-01-09T22:55:44.731Z] ++ facter osfamily [2023-01-09T22:55:44.731Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T22:55:44.991Z] + OS_FAMILY=debian [2023-01-09T22:55:44.991Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-206 [2023-01-09T22:55:44.991Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T22:55:44.991Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T22:55:44.991Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T22:55:44.991Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T22:55:44.991Z] + '[' /w/workspace/undry_device-onvif-camera_PR-206 ']' [2023-01-09T22:55:44.991Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T22:55:44.991Z] + case "${OS_FAMILY}" in [2023-01-09T22:55:44.991Z] + dpkg -l [2023-01-09T22:55:44.991Z] + grep '^ii' [2023-01-09T22:55:44.991Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T22:55:44.991Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T22:55:44.991Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T22:55:44.991Z] + '[' /w/workspace/undry_device-onvif-camera_PR-206 ']' [2023-01-09T22:55:44.991Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-206/archives/ [2023-01-09T22:55:44.991Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-206/archives/ [Pipeline] echo [2023-01-09T22:55:45.030Z] 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-206/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T22:55:45.323Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T22:55:45.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T22:55:45.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T22:55:46.091Z] prd-ubuntu20.04-docker-8c-8g-1495 does not seem to be running inside a container [2023-01-09T22:55:46.116Z] $ 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-206/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-206 -v /w/workspace/undry_device-onvif-camera_PR-206:/w/workspace/undry_device-onvif-camera_PR-206:rw,z -v /w/workspace/undry_device-onvif-camera_PR-206@tmp:/w/workspace/undry_device-onvif-camera_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T22:55:46.326Z] $ docker top 51c7e156b792084d985a52c5d6b13fc167bfca6d60f5414eff8cdd27bb17f417 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T22:55:46.808Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T22:55:47.116Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T22:55:47.429Z] + ls /var/log/sa-host [2023-01-09T22:55:47.429Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T22:55:47.662Z] provisioning config files... [2023-01-09T22:55:47.672Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-206@tmp/config5251921739147010270tmp [Pipeline] { [Pipeline] echo [2023-01-09T22:55:47.719Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:55:48.028Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T22:55:48.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:55:48.455Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T22:55:48.486Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:55:48.796Z] ---> sudo-logs.sh [2023-01-09T22:55:48.797Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T22:55:48.881Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:55:49.190Z] ---> job-cost.sh [2023-01-09T22:55:49.190Z] lf-activate-venv: SKIPPING [2023-01-09T22:55:49.190Z] DEBUG: total: 0.2199999988079071 [2023-01-09T22:55:49.190Z] INFO: Retrieving Stack Cost... [2023-01-09T22:55:49.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T22:55:50.018Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T22:55:50.053Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T22:55:50.365Z] ---> logs-deploy.sh [2023-01-09T22:55:50.365Z] lf-activate-venv: SKIPPING [2023-01-09T22:55:50.365Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-206/1 [2023-01-09T22:55:50.365Z] INFO: archiving workspace using pattern(s): [2023-01-09T22:55:51.302Z] Archives upload complete. [2023-01-09T22:55:51.302Z] INFO: archiving logs to Nexus