Pull request #150 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 06d0f2addced559a6b629125c025b062c3ce01e9 rather than 14fba0afb2397dba4add4d4782a4187c0e389ea1 Obtained Jenkinsfile from 06d0f2addced559a6b629125c025b062c3ce01e9 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-ssh10059551492385463306.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15303669617395847346.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-150/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-150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12925028842529118001.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-150/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2569431494773435574.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17350240904250773205.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-150/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-150/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6869039188784133846.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24286 in /w/workspace/undry_device-onvif-camera_PR-150 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-150 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 06d0f2addced559a6b629125c025b062c3ce01e9 into PR head commit 14fba0afb2397dba4add4d4782a4187c0e389ea1 Merge succeeded, producing 14fba0afb2397dba4add4d4782a4187c0e389ea1 Checking out Revision 14fba0afb2397dba4add4d4782a4187c0e389ea1 (PR-150) > 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/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14fba0afb2397dba4add4d4782a4187c0e389ea1 # 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 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14fba0afb2397dba4add4d4782a4187c0e389ea1 # timeout=10 Commit message: "feat: remove custom service interface and use sdk interface" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-01T05:37:38.591Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-01T05:37:38.773Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-01T05:37:38.878Z] ========================================================= [2022-09-01T05:37:38.878Z] EdgeX Global Pipelines Version Info [2022-09-01T05:37:38.878Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:37:39.683Z] ------------------- [2022-09-01T05:37:39.683Z] stable info: [2022-09-01T05:37:39.683Z] ------------------- [2022-09-01T05:37:39.683Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-01T05:37:39.683Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-01T05:37:39.683Z] Message: update stable to v1.0.239 [2022-09-01T05:37:40.260Z] ------------------- [2022-09-01T05:37:40.260Z] experimental info: [2022-09-01T05:37:40.260Z] ------------------- [2022-09-01T05:37:40.260Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-01T05:37:40.260Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-01T05:37:40.260Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-01T05:37:40.665Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-01T05:37:40.704Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-01T05:37:40.744Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-01T05:37:40.784Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-01T05:37:40.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-01T05:37:40.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-01T05:37:40.915Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-01T05:37:40.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-01T05:37:40.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-01T05:37:41.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-01T05:37:41.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-01T05:37:41.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-01T05:37:41.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-01T05:37:41.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-01T05:37:41.220Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-01T05:37:41.257Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-01T05:37:41.298Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-01T05:37:41.339Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-01T05:37:41.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-01T05:37:41.419Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-01T05:37:41.463Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-01T05:37:41.506Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-01T05:37:41.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-01T05:37:41.593Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-01T05:37:41.632Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-01T05:37:41.673Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-01T05:37:41.713Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-01T05:37:41.754Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-150 [Pipeline] echo [2022-09-01T05:37:41.792Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-150 [Pipeline] echo [2022-09-01T05:37:41.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-150 [Pipeline] echo [2022-09-01T05:37:41.871Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] echo [2022-09-01T05:37:41.911Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14fba0a [Pipeline] echo [2022-09-01T05:37:41.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T05:37:42.064Z] provisioning config files... [2022-09-01T05:37:42.078Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-150@tmp/config6254565068401095170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:37:42.439Z] ---> docker-login.sh [2022-09-01T05:37:42.440Z] nexus3.edgexfoundry.org:10001 [2022-09-01T05:37:42.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:37:42.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:37:42.967Z] Configure a credential helper to remove this warning. See [2022-09-01T05:37:42.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:37:42.967Z] [2022-09-01T05:37:42.967Z] Login Succeeded [2022-09-01T05:37:42.967Z] nexus3.edgexfoundry.org:10002 [2022-09-01T05:37:42.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:37:43.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:37:43.229Z] Configure a credential helper to remove this warning. See [2022-09-01T05:37:43.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:37:43.229Z] [2022-09-01T05:37:43.229Z] Login Succeeded [2022-09-01T05:37:43.229Z] nexus3.edgexfoundry.org:10003 [2022-09-01T05:37:43.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:37:43.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:37:43.229Z] Configure a credential helper to remove this warning. See [2022-09-01T05:37:43.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:37:43.229Z] [2022-09-01T05:37:43.229Z] Login Succeeded [2022-09-01T05:37:43.229Z] nexus3.edgexfoundry.org:10004 [2022-09-01T05:37:43.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:37:43.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:37:43.493Z] Configure a credential helper to remove this warning. See [2022-09-01T05:37:43.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:37:43.493Z] [2022-09-01T05:37:43.493Z] Login Succeeded [2022-09-01T05:37:43.493Z] docker.io [2022-09-01T05:37:43.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:37:43.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:37:43.754Z] Configure a credential helper to remove this warning. See [2022-09-01T05:37:43.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:37:43.754Z] [2022-09-01T05:37:43.754Z] Login Succeeded [2022-09-01T05:37:43.754Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T05:37:43.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-01T05:37:44.404Z] + git rev-list -1 --merges 14fba0afb2397dba4add4d4782a4187c0e389ea1~1..14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] echo [2022-09-01T05:37:44.455Z] -----------> git rev-list -1 --merges 14fba0afb2397dba4add4d4782a4187c0e389ea1~1..14fba0afb2397dba4add4d4782a4187c0e389ea1 14fba0afb2397dba4add4d4782a4187c0e389ea1 [false] [Pipeline] sh [2022-09-01T05:37:44.775Z] + git log --format=format:%s -1 14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] echo [2022-09-01T05:37:44.810Z] ========================================================= [2022-09-01T05:37:44.810Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-01T05:37:44.810Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T05:37:45.231Z] + git log --format=format:%s -1 14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] echo [2022-09-01T05:37:45.260Z] [semverPrep] GIT_COMMIT: 14fba0afb2397dba4add4d4782a4187c0e389ea1, Commit Message: feat: remove custom service interface and use sdk interface [Pipeline] echo [2022-09-01T05:37:45.288Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-01T05:37:45.692Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-01T05:37:45.692Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-01T05:37:45.692Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-01T05:37:45.692Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-01T05:37:45.692Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-01T05:37:45.692Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-01T05:37:45.692Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:37:46.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T05:37:46.189Z] [2022-09-01T05:37:46.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:37:46.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T05:37:46.570Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-01T05:37:46.570Z] b85a868b505f: Pulling fs layer [2022-09-01T05:37:46.570Z] e2be974225ed: Pulling fs layer [2022-09-01T05:37:46.570Z] 339a4e72a1f5: Pulling fs layer [2022-09-01T05:37:46.570Z] 988bab9f4d93: Pulling fs layer [2022-09-01T05:37:46.570Z] 1469e6f7b9e6: Pulling fs layer [2022-09-01T05:37:46.570Z] eaf3925da568: Pulling fs layer [2022-09-01T05:37:46.570Z] bab4dde63d76: Pulling fs layer [2022-09-01T05:37:46.570Z] bde34c3a00c8: Pulling fs layer [2022-09-01T05:37:46.570Z] b352a97aabf1: Pulling fs layer [2022-09-01T05:37:46.570Z] 4872d77fe225: Pulling fs layer [2022-09-01T05:37:46.570Z] 5851b861e8e6: Pulling fs layer [2022-09-01T05:37:46.570Z] 988bab9f4d93: Waiting [2022-09-01T05:37:46.570Z] bde34c3a00c8: Waiting [2022-09-01T05:37:46.570Z] 1469e6f7b9e6: Waiting [2022-09-01T05:37:46.570Z] bab4dde63d76: Waiting [2022-09-01T05:37:46.570Z] eaf3925da568: Waiting [2022-09-01T05:37:46.570Z] b352a97aabf1: Waiting [2022-09-01T05:37:46.570Z] 4872d77fe225: Waiting [2022-09-01T05:37:46.570Z] 5851b861e8e6: Waiting [2022-09-01T05:37:46.570Z] e2be974225ed: Download complete [2022-09-01T05:37:46.570Z] 988bab9f4d93: Verifying Checksum [2022-09-01T05:37:46.570Z] 988bab9f4d93: Download complete [2022-09-01T05:37:46.832Z] 1469e6f7b9e6: Verifying Checksum [2022-09-01T05:37:46.832Z] 1469e6f7b9e6: Download complete [2022-09-01T05:37:46.832Z] eaf3925da568: Verifying Checksum [2022-09-01T05:37:46.832Z] eaf3925da568: Download complete [2022-09-01T05:37:46.832Z] 339a4e72a1f5: Verifying Checksum [2022-09-01T05:37:46.832Z] 339a4e72a1f5: Download complete [2022-09-01T05:37:46.832Z] bde34c3a00c8: Verifying Checksum [2022-09-01T05:37:46.832Z] bde34c3a00c8: Download complete [2022-09-01T05:37:46.832Z] b352a97aabf1: Verifying Checksum [2022-09-01T05:37:46.832Z] b352a97aabf1: Download complete [2022-09-01T05:37:46.832Z] 4872d77fe225: Download complete [2022-09-01T05:37:46.832Z] 5851b861e8e6: Download complete [2022-09-01T05:37:46.832Z] b85a868b505f: Verifying Checksum [2022-09-01T05:37:46.832Z] b85a868b505f: Download complete [2022-09-01T05:37:47.094Z] bab4dde63d76: Verifying Checksum [2022-09-01T05:37:47.094Z] bab4dde63d76: Download complete [2022-09-01T05:37:48.483Z] b85a868b505f: Pull complete [2022-09-01T05:37:48.483Z] e2be974225ed: Pull complete [2022-09-01T05:37:49.057Z] 339a4e72a1f5: Pull complete [2022-09-01T05:37:49.057Z] 988bab9f4d93: Pull complete [2022-09-01T05:37:49.318Z] 1469e6f7b9e6: Pull complete [2022-09-01T05:37:49.581Z] eaf3925da568: Pull complete [2022-09-01T05:37:51.498Z] bab4dde63d76: Pull complete [2022-09-01T05:37:51.498Z] bde34c3a00c8: Pull complete [2022-09-01T05:37:51.760Z] b352a97aabf1: Pull complete [2022-09-01T05:37:51.760Z] 4872d77fe225: Pull complete [2022-09-01T05:37:51.760Z] 5851b861e8e6: Pull complete [2022-09-01T05:37:51.760Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-01T05:37:51.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T05:37:51.760Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T05:37:51.990Z] prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container [2022-09-01T05:37:52.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-01T05:37:53.249Z] $ docker top 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 -eo pid,comm [2022-09-01T05:37:53.321Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-01T05:37:53.321Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-01T05:37:53.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-01T05:37:53.440Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-01T05:37:53.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-01T05:37:53.614Z] $ docker exec 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 ssh-agent [2022-09-01T05:37:53.750Z] SSH_AUTH_SOCK=/tmp/ssh-ihkN1VQSL4I2/agent.34 [2022-09-01T05:37:53.750Z] SSH_AGENT_PID=40 [2022-09-01T05:37:53.758Z] Running ssh-add (command line suppressed) [2022-09-01T05:37:53.888Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-150@tmp/private_key_3076345253126222542.key (/w/workspace/undry_device-onvif-camera_PR-150@tmp/private_key_3076345253126222542.key) [2022-09-01T05:37:53.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-01T05:37:54.236Z] + git tag --points-at HEAD [Pipeline] } [2022-09-01T05:37:54.267Z] $ docker exec --env ******** --env ******** 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 ssh-agent -k [2022-09-01T05:37:54.390Z] unset SSH_AUTH_SOCK; [2022-09-01T05:37:54.390Z] unset SSH_AGENT_PID; [2022-09-01T05:37:54.391Z] echo Agent pid 40 killed; [2022-09-01T05:37:54.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-01T05:37:54.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-01T05:37:54.489Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-01T05:37:54.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-01T05:37:54.633Z] $ docker exec 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 ssh-agent [2022-09-01T05:37:54.761Z] SSH_AUTH_SOCK=/tmp/ssh-ZYzqk8ecwmBp/agent.73 [2022-09-01T05:37:54.761Z] SSH_AGENT_PID=79 [2022-09-01T05:37:54.768Z] Running ssh-add (command line suppressed) [2022-09-01T05:37:54.910Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-150@tmp/private_key_1778400383870147242.key (/w/workspace/undry_device-onvif-camera_PR-150@tmp/private_key_1778400383870147242.key) [2022-09-01T05:37:54.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-01T05:37:55.264Z] + git semver init [2022-09-01T05:37:55.525Z] 2022-09-01 05:37:55,462 [run_init] DEBUG init version:0.0.0 force:False [2022-09-01T05:37:55.525Z] 2022-09-01 05:37:55,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-150/.semver [2022-09-01T05:37:55.525Z] 2022-09-01 05:37:55,463 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-150/.semver [2022-09-01T05:37:55.525Z] 2022-09-01 05:37:55,463 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-150/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-150, universal_newlines=False, shell=None, istream=None) [2022-09-01T05:37:56.471Z] 2022-09-01 05:37:56,306 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-150/.git/info/exclude [2022-09-01T05:37:56.471Z] 2022-09-01 05:37:56,306 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-150/.semver/PR-150 with force:False [2022-09-01T05:37:56.471Z] 2022-09-01 05:37:56,307 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-150/.semver/PR-150 [2022-09-01T05:37:56.471Z] 2022-09-01 05:37:56,311 [execute] INFO git cat-file --batch-check [2022-09-01T05:37:56.471Z] 2022-09-01 05:37:56,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-150/.semver, universal_newlines=False, shell=None, istream=) [2022-09-01T05:37:56.471Z] 2022-09-01 05:37:56,319 [execute] INFO git cat-file --batch [2022-09-01T05:37:56.471Z] 2022-09-01 05:37:56,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-150/.semver, universal_newlines=False, shell=None, istream=) [2022-09-01T05:37:56.471Z] 2022-09-01 05:37:56,325 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-150/.semver/PR-150 [2022-09-01T05:37:56.471Z] 0.0.0 [Pipeline] } [2022-09-01T05:37:56.499Z] $ docker exec --env ******** --env ******** 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 ssh-agent -k [2022-09-01T05:37:56.625Z] unset SSH_AUTH_SOCK; [2022-09-01T05:37:56.626Z] unset SSH_AGENT_PID; [2022-09-01T05:37:56.626Z] echo Agent pid 79 killed; [2022-09-01T05:37:56.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-01T05:37:57.053Z] + git semver [Pipeline] } [2022-09-01T05:37:57.347Z] $ docker stop --time=1 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 [2022-09-01T05:37:58.634Z] $ docker rm -f 151fab5f1e7e2c05ea90cd8929ef7c35925c83dc0438829c47819df935cdb225 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T05:37:59.064Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-01T05:37:59.422Z] Stashed 1 file(s) [Pipeline] echo [2022-09-01T05:37:59.439Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T05:38:00.023Z] provisioning config files... [2022-09-01T05:38:00.035Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-150@tmp/config5370660565570444928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:38:00.381Z] ---> docker-login.sh [2022-09-01T05:38:00.381Z] nexus3.edgexfoundry.org:10001 [2022-09-01T05:38:00.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:38:00.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:38:00.381Z] Configure a credential helper to remove this warning. See [2022-09-01T05:38:00.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:38:00.381Z] [2022-09-01T05:38:00.381Z] Login Succeeded [2022-09-01T05:38:00.381Z] nexus3.edgexfoundry.org:10002 [2022-09-01T05:38:00.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:38:00.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:38:00.642Z] Configure a credential helper to remove this warning. See [2022-09-01T05:38:00.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:38:00.642Z] [2022-09-01T05:38:00.642Z] Login Succeeded [2022-09-01T05:38:00.642Z] nexus3.edgexfoundry.org:10003 [2022-09-01T05:38:00.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:38:00.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:38:00.642Z] Configure a credential helper to remove this warning. See [2022-09-01T05:38:00.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:38:00.642Z] [2022-09-01T05:38:00.642Z] Login Succeeded [2022-09-01T05:38:00.642Z] nexus3.edgexfoundry.org:10004 [2022-09-01T05:38:00.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:38:00.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:38:00.905Z] Configure a credential helper to remove this warning. See [2022-09-01T05:38:00.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:38:00.905Z] [2022-09-01T05:38:00.905Z] Login Succeeded [2022-09-01T05:38:00.905Z] docker.io [2022-09-01T05:38:00.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:38:01.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:38:01.166Z] Configure a credential helper to remove this warning. See [2022-09-01T05:38:01.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:38:01.166Z] [2022-09-01T05:38:01.166Z] Login Succeeded [2022-09-01T05:38:01.166Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T05:38:01.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-01T05:38:01.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T05:38:01.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T05:38:01.458Z] ========================================================= [2022-09-01T05:38:01.458Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-01T05:38:01.458Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:38:01.935Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-01T05:38:01.936Z] Sending build context to Docker daemon 20.64MB [2022-09-01T05:38:01.936Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T05:38:01.936Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-01T05:38:02.199Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-01T05:38:02.199Z] 2408cc74d12b: Pulling fs layer [2022-09-01T05:38:02.199Z] ea60b727a1ce: Pulling fs layer [2022-09-01T05:38:02.199Z] 30c4a7721957: Pulling fs layer [2022-09-01T05:38:02.199Z] 370296b7ddb6: Pulling fs layer [2022-09-01T05:38:02.199Z] 7c6cee850709: Pulling fs layer [2022-09-01T05:38:02.199Z] 39a5fcdaea64: Pulling fs layer [2022-09-01T05:38:02.199Z] d94ebbe4e438: Pulling fs layer [2022-09-01T05:38:02.199Z] bcfd1f05c69d: Pulling fs layer [2022-09-01T05:38:02.199Z] 59ccb84bbe0f: Pulling fs layer [2022-09-01T05:38:02.199Z] d94ebbe4e438: Waiting [2022-09-01T05:38:02.199Z] bcfd1f05c69d: Waiting [2022-09-01T05:38:02.199Z] 59ccb84bbe0f: Waiting [2022-09-01T05:38:02.199Z] 370296b7ddb6: Waiting [2022-09-01T05:38:02.199Z] 7c6cee850709: Waiting [2022-09-01T05:38:02.199Z] 39a5fcdaea64: Waiting [2022-09-01T05:38:02.199Z] 30c4a7721957: Verifying Checksum [2022-09-01T05:38:02.199Z] 30c4a7721957: Download complete [2022-09-01T05:38:02.199Z] ea60b727a1ce: Verifying Checksum [2022-09-01T05:38:02.199Z] ea60b727a1ce: Download complete [2022-09-01T05:38:02.199Z] 7c6cee850709: Verifying Checksum [2022-09-01T05:38:02.199Z] 7c6cee850709: Download complete [2022-09-01T05:38:02.199Z] 39a5fcdaea64: Download complete [2022-09-01T05:38:02.199Z] 2408cc74d12b: Verifying Checksum [2022-09-01T05:38:02.199Z] 2408cc74d12b: Download complete [2022-09-01T05:38:02.199Z] d94ebbe4e438: Verifying Checksum [2022-09-01T05:38:02.199Z] d94ebbe4e438: Download complete [2022-09-01T05:38:02.199Z] 2408cc74d12b: Pull complete [2022-09-01T05:38:02.462Z] ea60b727a1ce: Pull complete [2022-09-01T05:38:02.462Z] 30c4a7721957: Pull complete [2022-09-01T05:38:02.462Z] 59ccb84bbe0f: Verifying Checksum [2022-09-01T05:38:02.724Z] bcfd1f05c69d: Verifying Checksum [2022-09-01T05:38:02.724Z] bcfd1f05c69d: Download complete [2022-09-01T05:38:02.985Z] 370296b7ddb6: Verifying Checksum [2022-09-01T05:38:02.985Z] 370296b7ddb6: Download complete [2022-09-01T05:38:07.191Z] 370296b7ddb6: Pull complete [2022-09-01T05:38:07.191Z] 7c6cee850709: Pull complete [2022-09-01T05:38:07.191Z] 39a5fcdaea64: Pull complete [2022-09-01T05:38:07.451Z] d94ebbe4e438: Pull complete [2022-09-01T05:38:09.989Z] bcfd1f05c69d: Pull complete [2022-09-01T05:38:10.562Z] 59ccb84bbe0f: Pull complete [2022-09-01T05:38:10.562Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-01T05:38:10.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-01T05:38:10.562Z] ---> a4fb48ad2a94 [2022-09-01T05:38:10.562Z] Step 3/13 : ARG MAKE="make build" [2022-09-01T05:38:11.950Z] ---> Running in 47f7c29e5eb3 [2022-09-01T05:38:11.950Z] Removing intermediate container 47f7c29e5eb3 [2022-09-01T05:38:11.950Z] ---> 60e0152ed458 [2022-09-01T05:38:11.950Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T05:38:11.950Z] ---> Running in e1c441ca8efb [2022-09-01T05:38:11.950Z] Removing intermediate container e1c441ca8efb [2022-09-01T05:38:11.950Z] ---> a90466dabb52 [2022-09-01T05:38:11.950Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T05:38:11.950Z] ---> Running in afc6417ef1f3 [2022-09-01T05:38:12.221Z] Removing intermediate container afc6417ef1f3 [2022-09-01T05:38:12.221Z] ---> d71c441d5fee [2022-09-01T05:38:12.221Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-01T05:38:12.221Z] ---> Running in 180677ec4b2d [2022-09-01T05:38:12.221Z] Removing intermediate container 180677ec4b2d [2022-09-01T05:38:12.221Z] ---> 06378df5ab75 [2022-09-01T05:38:12.221Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T05:38:12.221Z] ---> Running in ce44859ee000 [2022-09-01T05:38:12.793Z] Removing intermediate container ce44859ee000 [2022-09-01T05:38:12.793Z] ---> 3b8d135a4eff [2022-09-01T05:38:12.794Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T05:38:12.794Z] ---> Running in 254a5f092b12 [2022-09-01T05:38:13.056Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T05:38:14.441Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T05:38:14.701Z] OK: 211 MiB in 51 packages [2022-09-01T05:38:14.852Z] Still waiting to schedule task [2022-09-01T05:38:14.852Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-01T05:38:14.961Z] Removing intermediate container 254a5f092b12 [2022-09-01T05:38:14.961Z] ---> 87207c26fc79 [2022-09-01T05:38:14.961Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-01T05:38:14.961Z] ---> Running in e656659836b9 [2022-09-01T05:38:14.961Z] Removing intermediate container e656659836b9 [2022-09-01T05:38:14.961Z] ---> 966a8d739549 [2022-09-01T05:38:14.961Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-01T05:38:15.222Z] ---> 4baaaea87111 [2022-09-01T05:38:15.222Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T05:38:15.222Z] ---> Running in 95d319e3a5c4 [2022-09-01T05:38:33.364Z] Removing intermediate container 95d319e3a5c4 [2022-09-01T05:38:33.364Z] ---> a7afb6ed508e [2022-09-01T05:38:33.364Z] Step 12/13 : COPY . . [2022-09-01T05:38:33.364Z] ---> 76d7e7c27204 [2022-09-01T05:38:33.364Z] Step 13/13 : RUN ${MAKE} [2022-09-01T05:38:33.364Z] ---> Running in 28a8fcba5d5c [2022-09-01T05:38:33.364Z] noop [2022-09-01T05:38:33.364Z] Removing intermediate container 28a8fcba5d5c [2022-09-01T05:38:33.364Z] ---> 6f57a0449d6e [2022-09-01T05:38:33.364Z] Successfully built 6f57a0449d6e [2022-09-01T05:38:33.364Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:38:33.810Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-01T05:38:33.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T05:38:33.974Z] prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container [2022-09-01T05:38:34.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-01T05:38:34.446Z] $ docker top bc8d9cf035330d7b6ea0dd2f3c420b378cffe68bfee54559061574314faf7c19 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T05:38:34.865Z] + go version [2022-09-01T05:38:34.866Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-01T05:38:34.899Z] $ docker stop --time=1 bc8d9cf035330d7b6ea0dd2f3c420b378cffe68bfee54559061574314faf7c19 [2022-09-01T05:38:36.184Z] $ docker rm -f bc8d9cf035330d7b6ea0dd2f3c420b378cffe68bfee54559061574314faf7c19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:38:36.909Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-01T05:38:36.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T05:38:37.092Z] prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container [2022-09-01T05:38:37.134Z] $ 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-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-01T05:38:37.531Z] $ docker top 3fb02db61975d956d19c32678c11ad72e28acd8343b39fc20496072e36390fbf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T05:38:37.993Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-150 [Pipeline] fileExists [Pipeline] sh [2022-09-01T05:38:38.346Z] + make test [2022-09-01T05:38:38.346Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-01T05:38:38.607Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-01T05:38:50.825Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-01T05:38:51.086Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.6% of statements [2022-09-01T05:38:51.086Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-01T05:38:54.386Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.676s coverage: 13.8% of statements [2022-09-01T05:39:02.521Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-01T05:39:02.521Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-01T05:39:05.065Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-01T05:39:05.065Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-01T05:39:05.065Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-01T05:39:05.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-01T05:39:05.135Z] $ docker stop --time=1 3fb02db61975d956d19c32678c11ad72e28acd8343b39fc20496072e36390fbf [2022-09-01T05:39:06.833Z] $ docker rm -f 3fb02db61975d956d19c32678c11ad72e28acd8343b39fc20496072e36390fbf [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T05:39:07.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-01T05:39:07.453Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-01T05:39:08.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-01T05:39:08.451Z] + ls -al . [2022-09-01T05:39:08.451Z] total 232 [2022-09-01T05:39:08.451Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 05:38 . [2022-09-01T05:39:08.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:37 .. [2022-09-01T05:39:08.451Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 05:38 .git [2022-09-01T05:39:08.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 05:37 .github [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 05:37 .gitignore [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 05:37 .golangci.yml [2022-09-01T05:39:08.451Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 05:37 .semver [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 05:37 Attribution.txt [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 05:37 CHANGELOG.md [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 05:37 Dockerfile [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 05:37 GOVERNANCE.md [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 05:37 Jenkinsfile [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 05:37 LICENSE [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 05:37 Makefile [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 05:37 OWNERS.md [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 05:37 README.md [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 05:37 VERSION [2022-09-01T05:39:08.451Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 05:37 bin [2022-09-01T05:39:08.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 05:37 cmd [2022-09-01T05:39:08.451Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 1 05:38 coverage.out [2022-09-01T05:39:08.451Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 05:37 doc [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 05:37 go.mod [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 05:37 go.sum [2022-09-01T05:39:08.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:37 internal [2022-09-01T05:39:08.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:37 snap [2022-09-01T05:39:08.451Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 05:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:39:08.848Z] + 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=14fba0afb2397dba4add4d4782a4187c0e389ea1 --label arch=amd64 --label version=0.0.0 . [2022-09-01T05:39:08.848Z] Sending build context to Docker daemon 20.72MB [2022-09-01T05:39:08.849Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T05:39:08.849Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-01T05:39:08.849Z] ---> 6f57a0449d6e [2022-09-01T05:39:08.849Z] Step 3/26 : ARG MAKE="make build" [2022-09-01T05:39:09.112Z] ---> Running in 21d648be847e [2022-09-01T05:39:09.112Z] Removing intermediate container 21d648be847e [2022-09-01T05:39:09.112Z] ---> b88e3e542cc1 [2022-09-01T05:39:09.112Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T05:39:09.112Z] ---> Running in 237b1cceffac [2022-09-01T05:39:09.112Z] Removing intermediate container 237b1cceffac [2022-09-01T05:39:09.112Z] ---> 00baa8da423d [2022-09-01T05:39:09.112Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T05:39:09.112Z] ---> Running in 05dcf86aa78d [2022-09-01T05:39:09.373Z] Removing intermediate container 05dcf86aa78d [2022-09-01T05:39:09.373Z] ---> 0cf6b7553cf6 [2022-09-01T05:39:09.373Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-01T05:39:09.373Z] ---> Running in 43b4ed83cf8e [2022-09-01T05:39:09.373Z] Removing intermediate container 43b4ed83cf8e [2022-09-01T05:39:09.373Z] ---> f322f6b03f36 [2022-09-01T05:39:09.373Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T05:39:09.373Z] ---> Running in ec7baf5eab9f [2022-09-01T05:39:09.944Z] Removing intermediate container ec7baf5eab9f [2022-09-01T05:39:09.944Z] ---> f890302482ad [2022-09-01T05:39:09.944Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T05:39:09.944Z] ---> Running in 57a0cce1c8f2 [2022-09-01T05:39:10.204Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T05:39:11.154Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T05:39:11.730Z] OK: 211 MiB in 51 packages [2022-09-01T05:39:11.991Z] Removing intermediate container 57a0cce1c8f2 [2022-09-01T05:39:11.991Z] ---> 19ed57d3cd62 [2022-09-01T05:39:11.991Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-01T05:39:11.991Z] ---> Running in 6b563f9a542a [2022-09-01T05:39:11.991Z] Removing intermediate container 6b563f9a542a [2022-09-01T05:39:11.991Z] ---> df850e90490b [2022-09-01T05:39:11.991Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-01T05:39:12.253Z] ---> ba523c0b355d [2022-09-01T05:39:12.253Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T05:39:12.253Z] ---> Running in bfa1331b5e3b [2022-09-01T05:39:12.823Z] Removing intermediate container bfa1331b5e3b [2022-09-01T05:39:12.824Z] ---> ea305e334404 [2022-09-01T05:39:12.824Z] Step 12/26 : COPY . . [2022-09-01T05:39:13.398Z] ---> b7501643f6da [2022-09-01T05:39:13.398Z] Step 13/26 : RUN ${MAKE} [2022-09-01T05:39:13.398Z] ---> Running in e28f3be92cc6 [2022-09-01T05:39:13.658Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-01T05:39:35.642Z] Removing intermediate container e28f3be92cc6 [2022-09-01T05:39:35.642Z] ---> 67924e451447 [2022-09-01T05:39:35.642Z] Step 14/26 : FROM alpine:3.16 [2022-09-01T05:39:35.642Z] 3.16: Pulling from library/alpine [2022-09-01T05:39:35.642Z] 213ec9aee27d: Pulling fs layer [2022-09-01T05:39:35.642Z] 213ec9aee27d: Verifying Checksum [2022-09-01T05:39:35.642Z] 213ec9aee27d: Download complete [2022-09-01T05:39:35.642Z] 213ec9aee27d: Pull complete [2022-09-01T05:39:35.642Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-01T05:39:35.642Z] Status: Downloaded newer image for alpine:3.16 [2022-09-01T05:39:35.642Z] ---> 9c6f07244728 [2022-09-01T05:39:35.642Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-01T05:39:35.642Z] ---> Running in 074e37b6ba4f [2022-09-01T05:39:35.642Z] Removing intermediate container 074e37b6ba4f [2022-09-01T05:39:35.642Z] ---> 7a636491d89f [2022-09-01T05:39:35.642Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-01T05:39:35.642Z] ---> Running in 2ca35a7c8ea4 [2022-09-01T05:39:35.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T05:39:36.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T05:39:36.427Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-01T05:39:36.427Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-01T05:39:36.427Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-01T05:39:36.427Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-01T05:39:36.427Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-01T05:39:36.428Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-01T05:39:36.428Z] Executing busybox-1.35.0-r17.trigger [2022-09-01T05:39:36.428Z] OK: 8 MiB in 20 packages [2022-09-01T05:39:36.687Z] Removing intermediate container 2ca35a7c8ea4 [2022-09-01T05:39:36.687Z] ---> 5b193f08d6e8 [2022-09-01T05:39:36.687Z] Step 17/26 : WORKDIR / [2022-09-01T05:39:36.687Z] ---> Running in bf578ceb1e36 [2022-09-01T05:39:36.948Z] Removing intermediate container bf578ceb1e36 [2022-09-01T05:39:36.948Z] ---> 031067f2ebeb [2022-09-01T05:39:36.948Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-01T05:39:37.207Z] ---> 710a347fe7d6 [2022-09-01T05:39:37.207Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-01T05:39:37.467Z] ---> 466499f31a41 [2022-09-01T05:39:37.468Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-01T05:39:37.468Z] ---> f0f51e2bebc0 [2022-09-01T05:39:37.468Z] Step 21/26 : EXPOSE 59984 [2022-09-01T05:39:37.734Z] ---> Running in 8d07e3c5c2f5 [2022-09-01T05:39:37.734Z] Removing intermediate container 8d07e3c5c2f5 [2022-09-01T05:39:37.734Z] ---> aa526fc5c3b2 [2022-09-01T05:39:37.734Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-01T05:39:37.734Z] ---> Running in 82602e63df0d [2022-09-01T05:39:37.734Z] Removing intermediate container 82602e63df0d [2022-09-01T05:39:37.734Z] ---> 1acbc89ed0c6 [2022-09-01T05:39:37.734Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-01T05:39:37.734Z] ---> Running in 4701d54a9d6a [2022-09-01T05:39:37.993Z] Removing intermediate container 4701d54a9d6a [2022-09-01T05:39:37.993Z] ---> 00516598d26a [2022-09-01T05:39:37.993Z] Step 24/26 : LABEL arch=amd64 [2022-09-01T05:39:37.993Z] ---> Running in d827c3bc075a [2022-09-01T05:39:37.993Z] Removing intermediate container d827c3bc075a [2022-09-01T05:39:37.993Z] ---> 111e7a70d75c [2022-09-01T05:39:37.993Z] Step 25/26 : LABEL git_sha=14fba0afb2397dba4add4d4782a4187c0e389ea1 [2022-09-01T05:39:37.993Z] ---> Running in 7cc441a4b892 [2022-09-01T05:39:38.254Z] Removing intermediate container 7cc441a4b892 [2022-09-01T05:39:38.254Z] ---> 59b1eb18565d [2022-09-01T05:39:38.254Z] Step 26/26 : LABEL version=0.0.0 [2022-09-01T05:39:38.254Z] ---> Running in 192d8d5292f4 [2022-09-01T05:39:38.254Z] Removing intermediate container 192d8d5292f4 [2022-09-01T05:39:38.254Z] ---> caa5943285c6 [2022-09-01T05:39:38.254Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-01T05:39:38.254Z] Successfully built caa5943285c6 [2022-09-01T05:39:38.254Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:39:39.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T05:39:39.161Z] [2022-09-01T05:39:39.161Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:39:39.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T05:39:39.553Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-01T05:39:39.553Z] 5eb5b503b376: Pulling fs layer [2022-09-01T05:39:39.553Z] 5c69ac0246d0: Pulling fs layer [2022-09-01T05:39:39.553Z] ec43610c2a17: Pulling fs layer [2022-09-01T05:39:39.553Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-01T05:39:39.553Z] 33b1e0a273af: Pulling fs layer [2022-09-01T05:39:39.553Z] 5d3b04190fa2: Pulling fs layer [2022-09-01T05:39:39.553Z] 2f39f015ded8: Pulling fs layer [2022-09-01T05:39:39.553Z] 3a2ae6a8a46f: Waiting [2022-09-01T05:39:39.553Z] 5d3b04190fa2: Waiting [2022-09-01T05:39:39.553Z] 33b1e0a273af: Waiting [2022-09-01T05:39:39.553Z] 5c69ac0246d0: Download complete [2022-09-01T05:39:39.553Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-01T05:39:39.553Z] 3a2ae6a8a46f: Download complete [2022-09-01T05:39:39.553Z] 33b1e0a273af: Verifying Checksum [2022-09-01T05:39:39.553Z] 33b1e0a273af: Download complete [2022-09-01T05:39:39.553Z] ec43610c2a17: Download complete [2022-09-01T05:39:39.553Z] 5d3b04190fa2: Verifying Checksum [2022-09-01T05:39:39.553Z] 5d3b04190fa2: Download complete [2022-09-01T05:39:39.812Z] 5eb5b503b376: Verifying Checksum [2022-09-01T05:39:39.812Z] 5eb5b503b376: Download complete [2022-09-01T05:39:40.382Z] 2f39f015ded8: Download complete [2022-09-01T05:39:40.954Z] 5eb5b503b376: Pull complete [2022-09-01T05:39:41.213Z] 5c69ac0246d0: Pull complete [2022-09-01T05:39:41.474Z] ec43610c2a17: Pull complete [2022-09-01T05:39:41.735Z] 3a2ae6a8a46f: Pull complete [2022-09-01T05:39:41.735Z] 33b1e0a273af: Pull complete [2022-09-01T05:39:41.997Z] 5d3b04190fa2: Pull complete [2022-09-01T05:39:45.310Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24287 in /w/workspace/undry_device-onvif-camera_PR-150 [Pipeline] { [Pipeline] ws [2022-09-01T05:39:45.353Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-01T05:39:45.422Z] Selected Git installation does not exist. Using Default [2022-09-01T05:39:45.422Z] The recommended git tool is: NONE [2022-09-01T05:39:46.192Z] 2f39f015ded8: Pull complete [2022-09-01T05:39:46.192Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-01T05:39:46.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T05:39:46.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T05:39:46.432Z] prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container [2022-09-01T05:39:46.469Z] $ 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-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-01T05:39:47.795Z] $ docker top 388a2311c014fdc4babf5fc7e9044129744965c92f2a431027195ad3f1a89e95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:39:48.258Z] ---> job-cost.sh [2022-09-01T05:39:48.258Z] lf-activate-venv: SKIPPING [2022-09-01T05:39:48.258Z] INFO: No Stack... [2022-09-01T05:39:48.827Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-01T05:39:49.088Z] INFO: Archiving Costs [Pipeline] sh [2022-09-01T05:39:49.400Z] + + catcut /w/workspace/undry_device-onvif-camera_PR-150/archives/cost.csv -d, [2022-09-01T05:39:49.400Z] -f6 [Pipeline] lock [2022-09-01T05:39:49.445Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [2022-09-01T05:39:49.449Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] did not exist. Created. [2022-09-01T05:39:49.450Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-01T05:39:49.845Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-01T05:39:49.898Z] Stashed 1 file(s) [Pipeline] } [2022-09-01T05:39:49.922Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-01T05:39:50.003Z] $ docker stop --time=1 388a2311c014fdc4babf5fc7e9044129744965c92f2a431027195ad3f1a89e95 [2022-09-01T05:39:51.162Z] $ docker rm -f 388a2311c014fdc4babf5fc7e9044129744965c92f2a431027195ad3f1a89e95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-01T05:39:52.441Z] using credential edgex-jenkins-ssh [2022-09-01T05:39:52.459Z] Cloning the remote Git repository [2022-09-01T05:39:52.532Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T05:39:52.611Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-01T05:39:52.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T05:39:52.679Z] > git --version # timeout=10 [2022-09-01T05:39:52.701Z] > git --version # 'git version 2.25.1' [2022-09-01T05:39:52.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T05:39:52.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-01T05:39:53.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-01T05:39:54.026Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-01T05:39:54.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-01T05:39:54.093Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T05:39:54.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T05:39:54.107Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-01T05:39:54.746Z] Merging remotes/origin/main commit 06d0f2addced559a6b629125c025b062c3ce01e9 into PR head commit 14fba0afb2397dba4add4d4782a4187c0e389ea1 [2022-09-01T05:39:55.104Z] Merge succeeded, producing 14fba0afb2397dba4add4d4782a4187c0e389ea1 [2022-09-01T05:39:55.104Z] Checking out Revision 14fba0afb2397dba4add4d4782a4187c0e389ea1 (PR-150) [2022-09-01T05:39:54.768Z] > git config core.sparsecheckout # timeout=10 [2022-09-01T05:39:54.789Z] > git checkout -f 14fba0afb2397dba4add4d4782a4187c0e389ea1 # timeout=10 [2022-09-01T05:39:55.015Z] > git remote # timeout=10 [2022-09-01T05:39:55.035Z] > git config --get remote.origin.url # timeout=10 [2022-09-01T05:39:55.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T05:39:55.062Z] > git merge 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 [2022-09-01T05:39:55.088Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-01T05:39:55.113Z] > git config core.sparsecheckout # timeout=10 [2022-09-01T05:39:55.125Z] > git checkout -f 14fba0afb2397dba4add4d4782a4187c0e389ea1 # timeout=10 [2022-09-01T05:39:59.448Z] Commit message: "feat: remove custom service interface and use sdk interface" [2022-09-01T05:39:59.507Z] > git --version # timeout=10 [2022-09-01T05:39:59.518Z] > git --version # 'git version 2.25.1' [2022-09-01T05:39:59.534Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T05:40:00.659Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-01T05:40:00.659Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-01T05:40:00.659Z] Dload Upload Total Spent Left Speed [2022-09-01T05:40:00.659Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh [2022-09-01T05:40:01.485Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-01T05:40:01.852Z] + sudo tee /etc/docker/daemon.new [2022-09-01T05:40:01.852Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-01T05:40:01.852Z] { [2022-09-01T05:40:01.852Z] "registry-mirrors": [ [2022-09-01T05:40:01.852Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-01T05:40:01.852Z] ], [2022-09-01T05:40:01.852Z] "bip": "10.250.0.254/24", [2022-09-01T05:40:01.852Z] "hosts": [ [2022-09-01T05:40:01.852Z] "tcp://0.0.0.0:5555", [2022-09-01T05:40:01.852Z] "unix:///var/run/docker.sock" [2022-09-01T05:40:01.852Z] ], [2022-09-01T05:40:01.852Z] "mtu": 1458, [2022-09-01T05:40:01.852Z] "selinux-enabled": true, [2022-09-01T05:40:01.852Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-01T05:40:01.852Z] } [Pipeline] sh [2022-09-01T05:40:02.211Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-01T05:40:02.573Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T05:40:21.142Z] provisioning config files... [2022-09-01T05:40:21.168Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3231519820146337826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:40:21.564Z] ---> docker-login.sh [2022-09-01T05:40:21.564Z] nexus3.edgexfoundry.org:10001 [2022-09-01T05:40:22.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:40:22.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:40:22.441Z] Configure a credential helper to remove this warning. See [2022-09-01T05:40:22.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:40:22.441Z] [2022-09-01T05:40:22.441Z] Login Succeeded [2022-09-01T05:40:22.441Z] nexus3.edgexfoundry.org:10002 [2022-09-01T05:40:22.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:40:22.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:40:22.716Z] Configure a credential helper to remove this warning. See [2022-09-01T05:40:22.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:40:22.716Z] [2022-09-01T05:40:22.716Z] Login Succeeded [2022-09-01T05:40:22.716Z] nexus3.edgexfoundry.org:10003 [2022-09-01T05:40:23.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:40:23.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:40:23.318Z] Configure a credential helper to remove this warning. See [2022-09-01T05:40:23.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:40:23.318Z] [2022-09-01T05:40:23.318Z] Login Succeeded [2022-09-01T05:40:23.318Z] nexus3.edgexfoundry.org:10004 [2022-09-01T05:40:23.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:40:23.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:40:23.873Z] Configure a credential helper to remove this warning. See [2022-09-01T05:40:23.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:40:23.873Z] [2022-09-01T05:40:23.873Z] Login Succeeded [2022-09-01T05:40:23.873Z] docker.io [2022-09-01T05:40:24.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T05:40:24.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T05:40:24.419Z] Configure a credential helper to remove this warning. See [2022-09-01T05:40:24.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T05:40:24.419Z] [2022-09-01T05:40:24.419Z] Login Succeeded [2022-09-01T05:40:24.419Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T05:40:24.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-01T05:40:24.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T05:40:24.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T05:40:24.923Z] ========================================================= [2022-09-01T05:40:24.923Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-01T05:40:24.923Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:40:25.443Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-01T05:40:26.048Z] Sending build context to Docker daemon 14.13MB [2022-09-01T05:40:26.048Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T05:40:26.048Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-01T05:40:26.048Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-01T05:40:26.048Z] b3c136eddcbf: Pulling fs layer [2022-09-01T05:40:26.048Z] c0a3192eca97: Pulling fs layer [2022-09-01T05:40:26.048Z] a050256f5b6f: Pulling fs layer [2022-09-01T05:40:26.048Z] 656be50a0ddc: Pulling fs layer [2022-09-01T05:40:26.048Z] 2bbca73fdf42: Pulling fs layer [2022-09-01T05:40:26.048Z] 46d945488cbd: Pulling fs layer [2022-09-01T05:40:26.048Z] 8a5474983e97: Pulling fs layer [2022-09-01T05:40:26.048Z] 329c88fbcd65: Pulling fs layer [2022-09-01T05:40:26.048Z] 656be50a0ddc: Waiting [2022-09-01T05:40:26.048Z] 2bbca73fdf42: Waiting [2022-09-01T05:40:26.048Z] 46d945488cbd: Waiting [2022-09-01T05:40:26.048Z] 8a5474983e97: Waiting [2022-09-01T05:40:26.048Z] 329c88fbcd65: Waiting [2022-09-01T05:40:26.325Z] a050256f5b6f: Verifying Checksum [2022-09-01T05:40:26.325Z] a050256f5b6f: Download complete [2022-09-01T05:40:26.325Z] c0a3192eca97: Verifying Checksum [2022-09-01T05:40:26.325Z] c0a3192eca97: Download complete [2022-09-01T05:40:26.325Z] 2bbca73fdf42: Download complete [2022-09-01T05:40:26.325Z] 46d945488cbd: Verifying Checksum [2022-09-01T05:40:26.325Z] 46d945488cbd: Download complete [2022-09-01T05:40:26.325Z] b3c136eddcbf: Verifying Checksum [2022-09-01T05:40:26.325Z] b3c136eddcbf: Download complete [2022-09-01T05:40:27.328Z] b3c136eddcbf: Pull complete [2022-09-01T05:40:27.328Z] 329c88fbcd65: Verifying Checksum [2022-09-01T05:40:27.328Z] 329c88fbcd65: Download complete [2022-09-01T05:40:27.604Z] c0a3192eca97: Pull complete [2022-09-01T05:40:28.206Z] a050256f5b6f: Pull complete [2022-09-01T05:40:28.482Z] 8a5474983e97: Verifying Checksum [2022-09-01T05:40:28.482Z] 8a5474983e97: Download complete [2022-09-01T05:40:29.078Z] 656be50a0ddc: Verifying Checksum [2022-09-01T05:40:29.078Z] 656be50a0ddc: Download complete [2022-09-01T05:40:44.188Z] 656be50a0ddc: Pull complete [2022-09-01T05:40:44.188Z] 2bbca73fdf42: Pull complete [2022-09-01T05:40:44.188Z] 46d945488cbd: Pull complete [2022-09-01T05:40:48.516Z] 8a5474983e97: Pull complete [2022-09-01T05:40:50.501Z] 329c88fbcd65: Pull complete [2022-09-01T05:40:50.501Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-01T05:40:50.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-01T05:40:50.501Z] ---> ff4287adb874 [2022-09-01T05:40:50.501Z] Step 3/13 : ARG MAKE="make build" [2022-09-01T05:40:52.491Z] ---> Running in 677fc7c82fbc [2022-09-01T05:40:52.491Z] Removing intermediate container 677fc7c82fbc [2022-09-01T05:40:52.491Z] ---> a919b5676e3b [2022-09-01T05:40:52.491Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T05:40:52.491Z] ---> Running in a5d903f07f91 [2022-09-01T05:40:52.786Z] Removing intermediate container a5d903f07f91 [2022-09-01T05:40:52.786Z] ---> 1f60e9fedeeb [2022-09-01T05:40:52.786Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T05:40:52.786Z] ---> Running in 6ef717cbf023 [2022-09-01T05:40:53.394Z] Removing intermediate container 6ef717cbf023 [2022-09-01T05:40:53.394Z] ---> a3c6349d483c [2022-09-01T05:40:53.394Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-01T05:40:53.394Z] ---> Running in c3f40cac5ed7 [2022-09-01T05:40:53.676Z] Removing intermediate container c3f40cac5ed7 [2022-09-01T05:40:53.676Z] ---> f31f1e03dfb1 [2022-09-01T05:40:53.676Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T05:40:53.676Z] ---> Running in 3b0b217d2136 [2022-09-01T05:40:56.316Z] Removing intermediate container 3b0b217d2136 [2022-09-01T05:40:56.316Z] ---> 8386d810aed6 [2022-09-01T05:40:56.316Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T05:40:56.316Z] ---> Running in 18ed161c683a [2022-09-01T05:40:57.300Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T05:40:57.893Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T05:40:58.873Z] OK: 221 MiB in 51 packages [2022-09-01T05:40:59.473Z] Removing intermediate container 18ed161c683a [2022-09-01T05:40:59.473Z] ---> 8d22b7b665fe [2022-09-01T05:40:59.473Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-01T05:40:59.744Z] ---> Running in f1c035666202 [2022-09-01T05:41:00.016Z] Removing intermediate container f1c035666202 [2022-09-01T05:41:00.016Z] ---> 25812a42089e [2022-09-01T05:41:00.016Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-01T05:41:00.291Z] ---> 80528bacdba3 [2022-09-01T05:41:00.291Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T05:41:00.568Z] ---> Running in e79a42c14a4d [2022-09-01T05:41:57.126Z] Removing intermediate container e79a42c14a4d [2022-09-01T05:41:57.126Z] ---> 954381014817 [2022-09-01T05:41:57.126Z] Step 12/13 : COPY . . [2022-09-01T05:41:57.126Z] ---> 58a40ace54ac [2022-09-01T05:41:57.126Z] Step 13/13 : RUN ${MAKE} [2022-09-01T05:41:57.126Z] ---> Running in a6997d8e4572 [2022-09-01T05:41:57.126Z] noop [2022-09-01T05:41:57.126Z] Removing intermediate container a6997d8e4572 [2022-09-01T05:41:57.126Z] ---> 0396dc8d5dfa [2022-09-01T05:41:57.126Z] Successfully built 0396dc8d5dfa [2022-09-01T05:41:57.126Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:41:57.619Z] + docker inspect -f . ci-base-image-arm64 [2022-09-01T05:41:57.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T05:41:57.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-24287 does not seem to be running inside a container [2022-09-01T05:41:58.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-01T05:41:59.288Z] $ docker top 535e864b3f47a28a8b1e750dffc5b9852fdc735d650cbf71c77bd39de9acf8cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T05:42:00.243Z] + go version [2022-09-01T05:42:00.243Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-01T05:42:00.278Z] $ docker stop --time=1 535e864b3f47a28a8b1e750dffc5b9852fdc735d650cbf71c77bd39de9acf8cc [2022-09-01T05:42:01.917Z] $ docker rm -f 535e864b3f47a28a8b1e750dffc5b9852fdc735d650cbf71c77bd39de9acf8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:42:02.808Z] + docker inspect -f . ci-base-image-arm64 [2022-09-01T05:42:02.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T05:42:03.122Z] prd-ubuntu20.04-docker-arm64-4c-16g-24287 does not seem to be running inside a container [2022-09-01T05:42:03.205Z] $ 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 [2022-09-01T05:42:04.492Z] $ docker top aa54c4807e49c7fbeafb98efea448267e0bcfd3c184e126373a346738f851b0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T05:42:05.461Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-01T05:42:06.195Z] + make test [2022-09-01T05:42:06.195Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-01T05:42:08.187Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-01T05:43:30.036Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-01T05:43:38.368Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.180s coverage: 28.6% of statements [2022-09-01T05:43:38.368Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-01T05:44:05.184Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.935s coverage: 13.8% of statements [2022-09-01T05:44:05.184Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-01T05:44:05.184Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-01T05:44:27.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-01T05:44:27.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-01T05:44:27.394Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-01T05:44:27.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-01T05:44:27.463Z] $ docker stop --time=1 aa54c4807e49c7fbeafb98efea448267e0bcfd3c184e126373a346738f851b0c [2022-09-01T05:44:29.193Z] $ docker rm -f aa54c4807e49c7fbeafb98efea448267e0bcfd3c184e126373a346738f851b0c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T05:44:30.257Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-01T05:44:30.297Z] Warning: overwriting stash ‘coverage-report’ [2022-09-01T05:44:30.844Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T05:44:31.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-01T05:44:31.801Z] + ls -al . [2022-09-01T05:44:31.801Z] total 228 [2022-09-01T05:44:31.801Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 05:42 . [2022-09-01T05:44:31.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:39 .. [2022-09-01T05:44:31.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 05:39 .git [2022-09-01T05:44:31.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 05:39 .github [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 05:39 .gitignore [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 05:39 .golangci.yml [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 05:39 Attribution.txt [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 05:39 CHANGELOG.md [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 05:39 Dockerfile [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 05:39 GOVERNANCE.md [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 05:39 Jenkinsfile [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 05:39 LICENSE [2022-09-01T05:44:31.801Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 05:39 Makefile [2022-09-01T05:44:31.802Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 05:39 OWNERS.md [2022-09-01T05:44:31.802Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 05:39 README.md [2022-09-01T05:44:31.802Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 05:37 VERSION [2022-09-01T05:44:31.802Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 05:39 bin [2022-09-01T05:44:31.802Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 05:39 cmd [2022-09-01T05:44:31.802Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 1 05:44 coverage.out [2022-09-01T05:44:31.802Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 05:39 doc [2022-09-01T05:44:31.802Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 05:39 go.mod [2022-09-01T05:44:31.802Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 05:39 go.sum [2022-09-01T05:44:31.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:39 internal [2022-09-01T05:44:31.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 05:39 snap [2022-09-01T05:44:31.802Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:44:32.240Z] + 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=14fba0afb2397dba4add4d4782a4187c0e389ea1 --label arch=arm64 --label version=0.0.0 . [2022-09-01T05:44:32.843Z] Sending build context to Docker daemon 14.21MB [2022-09-01T05:44:32.843Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T05:44:32.843Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-01T05:44:32.843Z] ---> 0396dc8d5dfa [2022-09-01T05:44:32.843Z] Step 3/26 : ARG MAKE="make build" [2022-09-01T05:44:32.843Z] ---> Running in 5ff37c225d81 [2022-09-01T05:44:33.117Z] Removing intermediate container 5ff37c225d81 [2022-09-01T05:44:33.118Z] ---> 61306116b8d8 [2022-09-01T05:44:33.118Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T05:44:33.397Z] ---> Running in dd3bcb82f93b [2022-09-01T05:44:33.672Z] Removing intermediate container dd3bcb82f93b [2022-09-01T05:44:33.672Z] ---> 573f932cf20a [2022-09-01T05:44:33.672Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T05:44:33.672Z] ---> Running in 745730abbd59 [2022-09-01T05:44:33.950Z] Removing intermediate container 745730abbd59 [2022-09-01T05:44:33.950Z] ---> 8ea3305af764 [2022-09-01T05:44:33.950Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-01T05:44:34.226Z] ---> Running in ac078bf2f4d1 [2022-09-01T05:44:34.501Z] Removing intermediate container ac078bf2f4d1 [2022-09-01T05:44:34.501Z] ---> 69346a639c63 [2022-09-01T05:44:34.501Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T05:44:34.501Z] ---> Running in 52275fde2bbf [2022-09-01T05:44:35.945Z] Removing intermediate container 52275fde2bbf [2022-09-01T05:44:35.945Z] ---> 5d0ae8abff2b [2022-09-01T05:44:35.945Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T05:44:36.221Z] ---> Running in 902f03f98d21 [2022-09-01T05:44:37.210Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T05:44:38.193Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T05:44:38.795Z] OK: 221 MiB in 51 packages [2022-09-01T05:44:39.792Z] Removing intermediate container 902f03f98d21 [2022-09-01T05:44:39.792Z] ---> 024197aca38c [2022-09-01T05:44:39.792Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-01T05:44:39.792Z] ---> Running in 06fbff38b78a [2022-09-01T05:44:40.077Z] Removing intermediate container 06fbff38b78a [2022-09-01T05:44:40.078Z] ---> e2d3553ac239 [2022-09-01T05:44:40.078Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-01T05:44:40.679Z] ---> 8a09298bce45 [2022-09-01T05:44:40.679Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T05:44:40.679Z] ---> Running in 4fd2f0464f02 [2022-09-01T05:44:42.661Z] Removing intermediate container 4fd2f0464f02 [2022-09-01T05:44:42.661Z] ---> 808b50f42ebc [2022-09-01T05:44:42.661Z] Step 12/26 : COPY . . [2022-09-01T05:44:44.103Z] ---> 92ffb35dffef [2022-09-01T05:44:44.103Z] Step 13/26 : RUN ${MAKE} [2022-09-01T05:44:44.103Z] ---> Running in d475accf488a [2022-09-01T05:44:45.095Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-01T05:47:07.061Z] Removing intermediate container d475accf488a [2022-09-01T05:47:07.061Z] ---> 040b6151430f [2022-09-01T05:47:07.061Z] Step 14/26 : FROM alpine:3.16 [2022-09-01T05:47:07.061Z] 3.16: Pulling from library/alpine [2022-09-01T05:47:07.061Z] 9b18e9b68314: Pulling fs layer [2022-09-01T05:47:07.061Z] 9b18e9b68314: Verifying Checksum [2022-09-01T05:47:07.062Z] 9b18e9b68314: Download complete [2022-09-01T05:47:07.062Z] 9b18e9b68314: Pull complete [2022-09-01T05:47:07.062Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-01T05:47:07.062Z] Status: Downloaded newer image for alpine:3.16 [2022-09-01T05:47:07.062Z] ---> a6215f271958 [2022-09-01T05:47:07.062Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-01T05:47:07.062Z] ---> Running in 2c90a25a5e43 [2022-09-01T05:47:07.062Z] Removing intermediate container 2c90a25a5e43 [2022-09-01T05:47:07.062Z] ---> 21426dcde1ec [2022-09-01T05:47:07.062Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-01T05:47:07.062Z] ---> Running in e5bfd9a2892a [2022-09-01T05:47:07.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T05:47:07.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T05:47:07.062Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-01T05:47:07.062Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-01T05:47:07.062Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-01T05:47:07.062Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-01T05:47:07.062Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-01T05:47:07.062Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-01T05:47:07.062Z] Executing busybox-1.35.0-r17.trigger [2022-09-01T05:47:07.062Z] OK: 8 MiB in 20 packages [2022-09-01T05:47:07.062Z] Removing intermediate container e5bfd9a2892a [2022-09-01T05:47:07.062Z] ---> 08a99a573f90 [2022-09-01T05:47:07.062Z] Step 17/26 : WORKDIR / [2022-09-01T05:47:07.062Z] ---> Running in 8dfa1f8b41fd [2022-09-01T05:47:07.062Z] Removing intermediate container 8dfa1f8b41fd [2022-09-01T05:47:07.062Z] ---> 06959008f071 [2022-09-01T05:47:07.062Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-01T05:47:07.062Z] ---> 290a8e89c3bf [2022-09-01T05:47:07.062Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-01T05:47:07.062Z] ---> 92629528e728 [2022-09-01T05:47:07.062Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-01T05:47:07.062Z] ---> 3d212e24d35b [2022-09-01T05:47:07.062Z] Step 21/26 : EXPOSE 59984 [2022-09-01T05:47:07.062Z] ---> Running in 6981a6bda3ae [2022-09-01T05:47:07.062Z] Removing intermediate container 6981a6bda3ae [2022-09-01T05:47:07.062Z] ---> f250bb63405c [2022-09-01T05:47:07.062Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-01T05:47:07.062Z] ---> Running in b01ac8eb2478 [2022-09-01T05:47:07.062Z] Removing intermediate container b01ac8eb2478 [2022-09-01T05:47:07.062Z] ---> 24f78c764fdc [2022-09-01T05:47:07.062Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-01T05:47:07.062Z] ---> Running in 6241de5ceda3 [2022-09-01T05:47:07.062Z] Removing intermediate container 6241de5ceda3 [2022-09-01T05:47:07.062Z] ---> 2a8256a8d4f3 [2022-09-01T05:47:07.062Z] Step 24/26 : LABEL arch=arm64 [2022-09-01T05:47:07.062Z] ---> Running in 43d3d4863cc3 [2022-09-01T05:47:07.062Z] Removing intermediate container 43d3d4863cc3 [2022-09-01T05:47:07.062Z] ---> 1d45d298d211 [2022-09-01T05:47:07.062Z] Step 25/26 : LABEL git_sha=14fba0afb2397dba4add4d4782a4187c0e389ea1 [2022-09-01T05:47:07.062Z] ---> Running in 63cd4b254c79 [2022-09-01T05:47:07.062Z] Removing intermediate container 63cd4b254c79 [2022-09-01T05:47:07.062Z] ---> e5d58380b9d8 [2022-09-01T05:47:07.062Z] Step 26/26 : LABEL version=0.0.0 [2022-09-01T05:47:07.062Z] ---> Running in ab11a42e43aa [2022-09-01T05:47:07.062Z] Removing intermediate container ab11a42e43aa [2022-09-01T05:47:07.062Z] ---> 4af7580b5352 [2022-09-01T05:47:07.062Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-01T05:47:07.062Z] Successfully built 4af7580b5352 [2022-09-01T05:47:07.062Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:47:07.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T05:47:07.907Z] [2022-09-01T05:47:07.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:47:08.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T05:47:08.621Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-01T05:47:08.621Z] 8998bd30e6a1: Pulling fs layer [2022-09-01T05:47:08.621Z] 04944245beec: Pulling fs layer [2022-09-01T05:47:08.621Z] 699f458cf7ca: Pulling fs layer [2022-09-01T05:47:08.621Z] 765212b225bb: Pulling fs layer [2022-09-01T05:47:08.621Z] f23df028b6ca: Pulling fs layer [2022-09-01T05:47:08.621Z] d65c8cfc05b1: Pulling fs layer [2022-09-01T05:47:08.621Z] 2437ff75d9bd: Pulling fs layer [2022-09-01T05:47:08.621Z] f23df028b6ca: Waiting [2022-09-01T05:47:08.621Z] d65c8cfc05b1: Waiting [2022-09-01T05:47:08.621Z] 2437ff75d9bd: Waiting [2022-09-01T05:47:08.621Z] 765212b225bb: Waiting [2022-09-01T05:47:08.621Z] 04944245beec: Verifying Checksum [2022-09-01T05:47:08.621Z] 04944245beec: Download complete [2022-09-01T05:47:08.621Z] 765212b225bb: Verifying Checksum [2022-09-01T05:47:08.621Z] 765212b225bb: Download complete [2022-09-01T05:47:08.621Z] f23df028b6ca: Verifying Checksum [2022-09-01T05:47:08.621Z] f23df028b6ca: Download complete [2022-09-01T05:47:08.621Z] d65c8cfc05b1: Download complete [2022-09-01T05:47:08.901Z] 699f458cf7ca: Verifying Checksum [2022-09-01T05:47:08.901Z] 699f458cf7ca: Download complete [2022-09-01T05:47:09.179Z] 8998bd30e6a1: Download complete [2022-09-01T05:47:11.812Z] 2437ff75d9bd: Verifying Checksum [2022-09-01T05:47:11.812Z] 2437ff75d9bd: Download complete [2022-09-01T05:47:13.795Z] 8998bd30e6a1: Pull complete [2022-09-01T05:47:14.070Z] 04944245beec: Pull complete [2022-09-01T05:47:15.515Z] 699f458cf7ca: Pull complete [2022-09-01T05:47:15.792Z] 765212b225bb: Pull complete [2022-09-01T05:47:16.784Z] f23df028b6ca: Pull complete [2022-09-01T05:47:17.061Z] d65c8cfc05b1: Pull complete [2022-09-01T05:47:32.176Z] 2437ff75d9bd: Pull complete [2022-09-01T05:47:32.176Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-01T05:47:32.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T05:47:32.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T05:47:32.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-24287 does not seem to be running inside a container [2022-09-01T05:47:32.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-01T05:47:35.232Z] $ docker top 67139bbd5b72c114cfb268f2bc51aa650c5a531fe271c9ca445f50e2aba23e9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:47:36.245Z] ---> job-cost.sh [2022-09-01T05:47:36.245Z] lf-activate-venv: SKIPPING [2022-09-01T05:47:36.245Z] INFO: No Stack... [2022-09-01T05:47:36.519Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-01T05:47:37.499Z] INFO: Archiving Costs [Pipeline] sh [2022-09-01T05:47:38.184Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-09-01T05:47:38.184Z] + cut -d, -f6 [Pipeline] lock [2022-09-01T05:47:38.265Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [2022-09-01T05:47:38.270Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] did not exist. Created. [2022-09-01T05:47:38.270Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-01T05:47:39.035Z] /w/workspace/device-onvif-camera/1@tmp/durable-23249896/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-01T05:47:39.746Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-01T05:47:39.781Z] Warning: overwriting stash ‘stack-cost’ [2022-09-01T05:47:39.843Z] Stashed 1 file(s) [Pipeline] } [2022-09-01T05:47:39.859Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-150-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-01T05:47:39.945Z] $ docker stop --time=1 67139bbd5b72c114cfb268f2bc51aa650c5a531fe271c9ca445f50e2aba23e9d [2022-09-01T05:47:41.485Z] $ docker rm -f 67139bbd5b72c114cfb268f2bc51aa650c5a531fe271c9ca445f50e2aba23e9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-01T05:47:42.528Z] provisioning config files... [2022-09-01T05:47:42.568Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-150@tmp/config504904620904186121tmp [Pipeline] { [Pipeline] sh [2022-09-01T05:47:42.919Z] + set +x [2022-09-01T05:47:42.919Z] + curl -s https://codecov.io/bash [2022-09-01T05:47:42.919Z] + bash -s -- [2022-09-01T05:47:43.179Z] [2022-09-01T05:47:43.179Z] _____ _ [2022-09-01T05:47:43.179Z] / ____| | | [2022-09-01T05:47:43.179Z] | | ___ __| | ___ ___ _____ __ [2022-09-01T05:47:43.179Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-01T05:47:43.179Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-01T05:47:43.179Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-01T05:47:43.179Z] Bash-1.0.6 [2022-09-01T05:47:43.179Z] [2022-09-01T05:47:43.179Z] [2022-09-01T05:47:43.179Z] ==> git version 2.25.1 found [2022-09-01T05:47:43.179Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-01T05:47:43.179Z] Release-Date: 2020-01-08 [2022-09-01T05:47:43.179Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-01T05:47:43.179Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-01T05:47:43.179Z] ==> Jenkins CI detected. [2022-09-01T05:47:43.179Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-150 [2022-09-01T05:47:43.179Z] project root: . [2022-09-01T05:47:43.179Z] --> token set from env [2022-09-01T05:47:43.179Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-01T05:47:43.179Z] ==> Running gcov in . (disable via -X gcov) [2022-09-01T05:47:43.179Z] ==> Python coveragepy not found [2022-09-01T05:47:43.179Z] ==> Searching for coverage reports in: [2022-09-01T05:47:43.179Z] + . [2022-09-01T05:47:43.179Z] -> Found 1 reports [2022-09-01T05:47:43.179Z] ==> Detecting git/mercurial file structure [2022-09-01T05:47:43.179Z] ==> Reading reports [2022-09-01T05:47:43.179Z] + ./coverage.out bytes=77283 [2022-09-01T05:47:43.179Z] ==> Appending adjustments [2022-09-01T05:47:43.179Z] https://docs.codecov.io/docs/fixing-reports [2022-09-01T05:47:43.440Z] + Found adjustments [2022-09-01T05:47:43.440Z] ==> Gzipping contents [2022-09-01T05:47:43.440Z] 12K /tmp/codecov.w4E6wi.gz [2022-09-01T05:47:43.440Z] ==> Uploading reports [2022-09-01T05:47:43.440Z] url: https://codecov.io [2022-09-01T05:47:43.440Z] query: branch=PR-150&commit=14fba0afb2397dba4add4d4782a4187c0e389ea1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=150&job=&cmd_args= [2022-09-01T05:47:43.440Z] -> Pinging Codecov [2022-09-01T05:47:43.441Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-150&commit=14fba0afb2397dba4add4d4782a4187c0e389ea1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-150%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=150&job=&cmd_args= [2022-09-01T05:47:43.702Z] -> Uploading to [2022-09-01T05:47:43.702Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-01/F29A59C45E3A92E06B3E522C9905F8EF/14fba0afb2397dba4add4d4782a4187c0e389ea1/a9703668-5e5e-4418-a697-39ce5c5d0d42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220901T054743Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5bd5565f98a8ec38d14ed5f55113134347e8b63427e085ea4853c48d00f277d5 [2022-09-01T05:47:43.702Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-01T05:47:43.702Z] Dload Upload Total Spent Left Speed [2022-09-01T05:47:44.273Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10531 0 0 100 10531 0 32403 --:--:-- --:--:-- --:--:-- 32303 100 10531 0 0 100 10531 0 32303 --:--:-- --:--:-- --:--:-- 32204 [2022-09-01T05:47:44.273Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/14fba0afb2397dba4add4d4782a4187c0e389ea1 [Pipeline] } [2022-09-01T05:47:44.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-01T05:47:46.039Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-150/archives ] [2022-09-01T05:47:46.039Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-150/archives [2022-09-01T05:47:46.039Z] total 16 [2022-09-01T05:47:46.039Z] drwxr-xr-x 3 root root 4096 Sep 1 05:39 . [2022-09-01T05:47:46.039Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 05:39 .. [2022-09-01T05:47:46.039Z] drwxr-xr-x 2 root root 4096 Sep 1 05:39 cost [2022-09-01T05:47:46.039Z] -rw-r--r-- 1 root root 91 Sep 1 05:39 cost.csv [2022-09-01T05:47:46.039Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-150/archives [2022-09-01T05:47:46.039Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-150/archives [2022-09-01T05:47:46.039Z] total 16 [2022-09-01T05:47:46.039Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 05:39 . [2022-09-01T05:47:46.039Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 05:39 .. [2022-09-01T05:47:46.039Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 05:39 cost [2022-09-01T05:47:46.039Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 1 05:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:47:46.369Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:47:47.272Z] ---> package-listing.sh [2022-09-01T05:47:47.272Z] ++ facter osfamily [2022-09-01T05:47:47.272Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-01T05:47:47.534Z] + OS_FAMILY=debian [2022-09-01T05:47:47.534Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-150 [2022-09-01T05:47:47.534Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-01T05:47:47.534Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-01T05:47:47.534Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-01T05:47:47.534Z] + PACKAGES=/tmp/packages_start.txt [2022-09-01T05:47:47.534Z] + '[' /w/workspace/undry_device-onvif-camera_PR-150 ']' [2022-09-01T05:47:47.534Z] + PACKAGES=/tmp/packages_end.txt [2022-09-01T05:47:47.534Z] + case "${OS_FAMILY}" in [2022-09-01T05:47:47.534Z] + dpkg -l [2022-09-01T05:47:47.534Z] + grep '^ii' [2022-09-01T05:47:47.534Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-01T05:47:47.534Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-01T05:47:47.534Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-01T05:47:47.534Z] + '[' /w/workspace/undry_device-onvif-camera_PR-150 ']' [2022-09-01T05:47:47.534Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-150/archives/ [2022-09-01T05:47:47.534Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-150/archives/ [Pipeline] echo [2022-09-01T05:47:47.573Z] 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-150/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-01T05:47:47.869Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T05:47:48.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T05:47:48.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T05:47:48.396Z] prd-ubuntu20.04-docker-8c-8g-24286 does not seem to be running inside a container [2022-09-01T05:47:48.433Z] $ 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-150/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-150 -v /w/workspace/undry_device-onvif-camera_PR-150:/w/workspace/undry_device-onvif-camera_PR-150:rw,z -v /w/workspace/undry_device-onvif-camera_PR-150@tmp:/w/workspace/undry_device-onvif-camera_PR-150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-01T05:47:48.636Z] $ docker top c55f50899ba461b517fca90da0e955fc8ae7a8175df3bea6ef8e3fc1bab006e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T05:47:49.039Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-01T05:47:49.350Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-01T05:47:49.663Z] + ls /var/log/sa-host [2022-09-01T05:47:49.663Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T05:47:49.862Z] provisioning config files... [2022-09-01T05:47:49.872Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-150@tmp/config7409496504666193950tmp [Pipeline] { [Pipeline] echo [2022-09-01T05:47:49.918Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:47:50.233Z] ---> create-netrc.sh [Pipeline] } [2022-09-01T05:47:50.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:47:50.652Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-01T05:47:50.683Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:47:50.992Z] ---> sudo-logs.sh [2022-09-01T05:47:50.992Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-01T05:47:51.075Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:47:51.385Z] ---> job-cost.sh [2022-09-01T05:47:51.385Z] lf-activate-venv: SKIPPING [2022-09-01T05:47:51.385Z] DEBUG: total: 0.2199999988079071 [2022-09-01T05:47:51.386Z] INFO: Retrieving Stack Cost... [2022-09-01T05:47:51.958Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-01T05:47:52.222Z] INFO: Archiving Costs [Pipeline] echo [2022-09-01T05:47:52.256Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T05:47:52.567Z] ---> logs-deploy.sh [2022-09-01T05:47:52.567Z] lf-activate-venv: SKIPPING [2022-09-01T05:47:52.567Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-150/1 [2022-09-01T05:47:52.567Z] INFO: archiving workspace using pattern(s): [2022-09-01T05:47:53.509Z] Archives upload complete. [2022-09-01T05:47:53.509Z] INFO: archiving logs to Nexus