Pull request #274 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 levski at 0c6690d512fca69ab8f13dc5deb436fc09094519 rather than b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 Obtained Jenkinsfile from 0c6690d512fca69ab8f13dc5deb436fc09094519 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-ssh2355380458318279476.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15195640078330781170.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-274/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-274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1142982714468423296.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-274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh533111563603393993.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17348350802438022623.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-274/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-274/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3482283412325733858.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2547’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2548 in /w/workspace/undry_device-onvif-camera_PR-274 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-274 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 Merging remotes/origin/levski commit 0c6690d512fca69ab8f13dc5deb436fc09094519 into PR head commit b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 Merge succeeded, producing b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 Checking out Revision b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 (PR-274) > git config core.sparsecheckout # timeout=10 > git checkout -f b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 # 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 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 # timeout=10 Commit message: "docs: remove demo-app docs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T23:39:30.992Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T23:39:31.163Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T23:39:31.268Z] ========================================================= [2023-03-16T23:39:31.268Z] EdgeX Global Pipelines Version Info [2023-03-16T23:39:31.268Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:39:32.021Z] ------------------- [2023-03-16T23:39:32.021Z] stable info: [2023-03-16T23:39:32.021Z] ------------------- [2023-03-16T23:39:32.021Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T23:39:32.021Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T23:39:32.021Z] Message: update stable to v1.0.245 [2023-03-16T23:39:32.602Z] ------------------- [2023-03-16T23:39:32.602Z] experimental info: [2023-03-16T23:39:32.602Z] ------------------- [2023-03-16T23:39:32.602Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T23:39:32.602Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T23:39:32.602Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T23:39:32.881Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-16T23:39:32.922Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-16T23:39:32.960Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T23:39:33.002Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T23:39:33.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T23:39:33.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-16T23:39:33.120Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T23:39:33.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T23:39:33.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T23:39:33.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T23:39:33.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T23:39:33.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-16T23:39:33.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T23:39:33.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T23:39:33.414Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T23:39:33.451Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T23:39:33.488Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T23:39:33.528Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T23:39:33.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T23:39:33.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T23:39:33.648Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T23:39:33.688Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-16T23:39:33.732Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T23:39:33.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T23:39:33.804Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T23:39:33.840Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T23:39:33.876Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T23:39:33.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-274 [Pipeline] echo [2023-03-16T23:39:33.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-274 [Pipeline] echo [2023-03-16T23:39:33.984Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-274 [Pipeline] echo [2023-03-16T23:39:34.021Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [Pipeline] echo [2023-03-16T23:39:34.057Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9a7e9b [Pipeline] echo [2023-03-16T23:39:34.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:39:34.205Z] provisioning config files... [2023-03-16T23:39:34.224Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config16865048495183422078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:39:34.625Z] ---> docker-login.sh [2023-03-16T23:39:34.625Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:39:34.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:34.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:34.893Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:34.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:34.893Z] [2023-03-16T23:39:34.893Z] Login Succeeded [2023-03-16T23:39:34.893Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:39:34.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:35.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:35.152Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:35.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:35.152Z] [2023-03-16T23:39:35.152Z] Login Succeeded [2023-03-16T23:39:35.152Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:39:35.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:35.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:35.153Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:35.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:35.153Z] [2023-03-16T23:39:35.153Z] Login Succeeded [2023-03-16T23:39:35.153Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:39:35.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:35.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:35.153Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:35.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:35.153Z] [2023-03-16T23:39:35.153Z] Login Succeeded [2023-03-16T23:39:35.153Z] docker.io [2023-03-16T23:39:35.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:35.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:35.412Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:35.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:35.412Z] [2023-03-16T23:39:35.412Z] Login Succeeded [2023-03-16T23:39:35.412Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:39:35.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T23:39:36.052Z] + git rev-list -1 --merges b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3~1..b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [Pipeline] echo [2023-03-16T23:39:36.114Z] -----------> git rev-list -1 --merges b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3~1..b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [false] [Pipeline] sh [2023-03-16T23:39:36.423Z] + git log --format=format:%s -1 b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [Pipeline] echo [2023-03-16T23:39:36.457Z] ========================================================= [2023-03-16T23:39:36.457Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T23:39:36.457Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T23:39:36.887Z] + git log --format=format:%s -1 b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [Pipeline] echo [2023-03-16T23:39:36.915Z] [semverPrep] GIT_COMMIT: b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3, Commit Message: docs: remove demo-app docs [Pipeline] echo [2023-03-16T23:39:36.945Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T23:39:37.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T23:39:37.365Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T23:39:37.365Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T23:39:37.365Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T23:39:37.365Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T23:39:37.365Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T23:39:37.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:39:37.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:39:37.801Z] [2023-03-16T23:39:37.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:39:38.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:39:38.175Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T23:39:38.175Z] b85a868b505f: Pulling fs layer [2023-03-16T23:39:38.175Z] e2be974225ed: Pulling fs layer [2023-03-16T23:39:38.175Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T23:39:38.175Z] 988bab9f4d93: Pulling fs layer [2023-03-16T23:39:38.175Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T23:39:38.175Z] eaf3925da568: Pulling fs layer [2023-03-16T23:39:38.175Z] 988bab9f4d93: Waiting [2023-03-16T23:39:38.175Z] bab4dde63d76: Pulling fs layer [2023-03-16T23:39:38.175Z] bde34c3a00c8: Pulling fs layer [2023-03-16T23:39:38.175Z] b352a97aabf1: Pulling fs layer [2023-03-16T23:39:38.175Z] 1469e6f7b9e6: Waiting [2023-03-16T23:39:38.175Z] eaf3925da568: Waiting [2023-03-16T23:39:38.175Z] 4872d77fe225: Pulling fs layer [2023-03-16T23:39:38.175Z] bab4dde63d76: Waiting [2023-03-16T23:39:38.175Z] 5851b861e8e6: Pulling fs layer [2023-03-16T23:39:38.175Z] bde34c3a00c8: Waiting [2023-03-16T23:39:38.175Z] b352a97aabf1: Waiting [2023-03-16T23:39:38.175Z] 4872d77fe225: Waiting [2023-03-16T23:39:38.175Z] e2be974225ed: Verifying Checksum [2023-03-16T23:39:38.175Z] e2be974225ed: Download complete [2023-03-16T23:39:38.175Z] 988bab9f4d93: Verifying Checksum [2023-03-16T23:39:38.175Z] 988bab9f4d93: Download complete [2023-03-16T23:39:38.436Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T23:39:38.436Z] 1469e6f7b9e6: Download complete [2023-03-16T23:39:38.436Z] eaf3925da568: Verifying Checksum [2023-03-16T23:39:38.436Z] eaf3925da568: Download complete [2023-03-16T23:39:38.436Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T23:39:38.436Z] 339a4e72a1f5: Download complete [2023-03-16T23:39:38.436Z] bde34c3a00c8: Verifying Checksum [2023-03-16T23:39:38.436Z] bde34c3a00c8: Download complete [2023-03-16T23:39:38.436Z] b352a97aabf1: Verifying Checksum [2023-03-16T23:39:38.436Z] b352a97aabf1: Download complete [2023-03-16T23:39:38.436Z] 4872d77fe225: Verifying Checksum [2023-03-16T23:39:38.436Z] 4872d77fe225: Download complete [2023-03-16T23:39:38.436Z] 5851b861e8e6: Verifying Checksum [2023-03-16T23:39:38.436Z] 5851b861e8e6: Download complete [2023-03-16T23:39:38.436Z] b85a868b505f: Verifying Checksum [2023-03-16T23:39:38.436Z] b85a868b505f: Download complete [2023-03-16T23:39:38.694Z] bab4dde63d76: Verifying Checksum [2023-03-16T23:39:38.694Z] bab4dde63d76: Download complete [2023-03-16T23:39:39.630Z] b85a868b505f: Pull complete [2023-03-16T23:39:39.890Z] e2be974225ed: Pull complete [2023-03-16T23:39:40.472Z] 339a4e72a1f5: Pull complete [2023-03-16T23:39:40.473Z] 988bab9f4d93: Pull complete [2023-03-16T23:39:40.733Z] 1469e6f7b9e6: Pull complete [2023-03-16T23:39:40.733Z] eaf3925da568: Pull complete [2023-03-16T23:39:42.635Z] bab4dde63d76: Pull complete [2023-03-16T23:39:42.635Z] bde34c3a00c8: Pull complete [2023-03-16T23:39:42.894Z] b352a97aabf1: Pull complete [2023-03-16T23:39:42.894Z] 4872d77fe225: Pull complete [2023-03-16T23:39:42.894Z] 5851b861e8e6: Pull complete [2023-03-16T23:39:42.894Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T23:39:42.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T23:39:43.153Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:39:43.399Z] prd-ubuntu20.04-docker-8c-8g-2548 does not seem to be running inside a container [2023-03-16T23:39:43.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T23:39:45.862Z] $ docker top e775479f135c8bc17ab44eb6d484d0207b1c8701b414d8d57ad152d97314548a -eo pid,comm [2023-03-16T23:39:45.916Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-16T23:39:45.916Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T23:39:46.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T23:39:46.043Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T23:39:46.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T23:39:46.165Z] $ docker exec e775479f135c8bc17ab44eb6d484d0207b1c8701b414d8d57ad152d97314548a ssh-agent [2023-03-16T23:39:46.279Z] SSH_AUTH_SOCK=/tmp/ssh-RZ6gLn17nCJ4/agent.33 [2023-03-16T23:39:46.279Z] SSH_AGENT_PID=39 [2023-03-16T23:39:46.286Z] Running ssh-add (command line suppressed) [2023-03-16T23:39:46.402Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_16364752355473649111.key (/w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_16364752355473649111.key) [2023-03-16T23:39:46.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T23:39:46.742Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T23:39:46.767Z] $ docker exec --env ******** --env ******** e775479f135c8bc17ab44eb6d484d0207b1c8701b414d8d57ad152d97314548a ssh-agent -k [2023-03-16T23:39:46.858Z] unset SSH_AUTH_SOCK; [2023-03-16T23:39:46.859Z] unset SSH_AGENT_PID; [2023-03-16T23:39:46.859Z] echo Agent pid 39 killed; [2023-03-16T23:39:46.869Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T23:39:46.956Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T23:39:46.956Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T23:39:47.069Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T23:39:47.071Z] $ docker exec e775479f135c8bc17ab44eb6d484d0207b1c8701b414d8d57ad152d97314548a ssh-agent [2023-03-16T23:39:47.180Z] SSH_AUTH_SOCK=/tmp/ssh-O8kEMeIY3cC4/agent.71 [2023-03-16T23:39:47.180Z] SSH_AGENT_PID=78 [2023-03-16T23:39:47.185Z] Running ssh-add (command line suppressed) [2023-03-16T23:39:47.293Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_12176440650273266710.key (/w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_12176440650273266710.key) [2023-03-16T23:39:47.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T23:39:47.636Z] + git semver init [2023-03-16T23:39:47.895Z] 2023-03-16 23:39:47,827 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T23:39:47.895Z] 2023-03-16 23:39:47,828 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-274/.semver [2023-03-16T23:39:47.895Z] 2023-03-16 23:39:47,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-274/.semver [2023-03-16T23:39:47.895Z] 2023-03-16 23:39:47,828 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-274/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-274, universal_newlines=False, shell=None, istream=None) [2023-03-16T23:39:48.831Z] 2023-03-16 23:39:48,673 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-274/.git/info/exclude [2023-03-16T23:39:48.832Z] 2023-03-16 23:39:48,674 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 with force:False [2023-03-16T23:39:48.832Z] 2023-03-16 23:39:48,674 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 [2023-03-16T23:39:48.832Z] 2023-03-16 23:39:48,678 [execute] INFO git cat-file --batch-check [2023-03-16T23:39:48.832Z] 2023-03-16 23:39:48,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-274/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T23:39:48.832Z] 2023-03-16 23:39:48,686 [execute] INFO git cat-file --batch [2023-03-16T23:39:48.832Z] 2023-03-16 23:39:48,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-274/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T23:39:48.832Z] 2023-03-16 23:39:48,692 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 [2023-03-16T23:39:48.832Z] 0.0.0 [Pipeline] } [2023-03-16T23:39:48.854Z] $ docker exec --env ******** --env ******** e775479f135c8bc17ab44eb6d484d0207b1c8701b414d8d57ad152d97314548a ssh-agent -k [2023-03-16T23:39:48.951Z] unset SSH_AUTH_SOCK; [2023-03-16T23:39:48.951Z] unset SSH_AGENT_PID; [2023-03-16T23:39:48.951Z] echo Agent pid 78 killed; [2023-03-16T23:39:48.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T23:39:49.385Z] + git semver [Pipeline] } [2023-03-16T23:39:49.669Z] $ docker stop --time=1 e775479f135c8bc17ab44eb6d484d0207b1c8701b414d8d57ad152d97314548a [2023-03-16T23:39:50.972Z] $ docker rm -f --volumes e775479f135c8bc17ab44eb6d484d0207b1c8701b414d8d57ad152d97314548a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T23:39:51.392Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T23:39:51.669Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T23:39:51.686Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:39:52.244Z] provisioning config files... [2023-03-16T23:39:52.256Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config2386738925252061569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:39:52.614Z] ---> docker-login.sh [2023-03-16T23:39:52.614Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:39:52.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:52.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:52.614Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:52.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:52.614Z] [2023-03-16T23:39:52.614Z] Login Succeeded [2023-03-16T23:39:52.614Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:39:52.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:52.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:52.614Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:52.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:52.614Z] [2023-03-16T23:39:52.614Z] Login Succeeded [2023-03-16T23:39:52.614Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:39:52.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:52.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:52.882Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:52.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:52.882Z] [2023-03-16T23:39:52.882Z] Login Succeeded [2023-03-16T23:39:52.882Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:39:52.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:52.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:52.882Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:52.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:52.882Z] [2023-03-16T23:39:52.882Z] Login Succeeded [2023-03-16T23:39:52.882Z] docker.io [2023-03-16T23:39:53.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:39:53.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:39:53.142Z] Configure a credential helper to remove this warning. See [2023-03-16T23:39:53.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:39:53.142Z] [2023-03-16T23:39:53.142Z] Login Succeeded [2023-03-16T23:39:53.142Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:39:53.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T23:39:53.361Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:39:53.395Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:39:53.425Z] ========================================================= [2023-03-16T23:39:53.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-16T23:39:53.425Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:39:53.904Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T23:39:53.904Z] Sending build context to Docker daemon 26.94MB [2023-03-16T23:39:53.904Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-16T23:39:53.904Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T23:39:54.179Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T23:39:54.179Z] 213ec9aee27d: Pulling fs layer [2023-03-16T23:39:54.179Z] 4583459ba037: Pulling fs layer [2023-03-16T23:39:54.179Z] 93c1e223e6f2: Pulling fs layer [2023-03-16T23:39:54.179Z] 53926ce57604: Pulling fs layer [2023-03-16T23:39:54.179Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-16T23:39:54.179Z] 22ff95d597cd: Pulling fs layer [2023-03-16T23:39:54.179Z] 12d6caf4c0d1: Pulling fs layer [2023-03-16T23:39:54.179Z] 96b7cbca73a9: Pulling fs layer [2023-03-16T23:39:54.179Z] a7acece74701: Pulling fs layer [2023-03-16T23:39:54.179Z] 53926ce57604: Waiting [2023-03-16T23:39:54.179Z] 22ff95d597cd: Waiting [2023-03-16T23:39:54.179Z] 21b2b0c7a3f4: Waiting [2023-03-16T23:39:54.179Z] 12d6caf4c0d1: Waiting [2023-03-16T23:39:54.179Z] 96b7cbca73a9: Waiting [2023-03-16T23:39:54.179Z] a7acece74701: Waiting [2023-03-16T23:39:54.179Z] 93c1e223e6f2: Verifying Checksum [2023-03-16T23:39:54.179Z] 93c1e223e6f2: Download complete [2023-03-16T23:39:54.179Z] 4583459ba037: Download complete [2023-03-16T23:39:54.179Z] 21b2b0c7a3f4: Download complete [2023-03-16T23:39:54.179Z] 22ff95d597cd: Verifying Checksum [2023-03-16T23:39:54.179Z] 22ff95d597cd: Download complete [2023-03-16T23:39:54.179Z] 213ec9aee27d: Verifying Checksum [2023-03-16T23:39:54.179Z] 213ec9aee27d: Download complete [2023-03-16T23:39:54.179Z] 12d6caf4c0d1: Verifying Checksum [2023-03-16T23:39:54.179Z] 12d6caf4c0d1: Download complete [2023-03-16T23:39:54.445Z] 213ec9aee27d: Pull complete [2023-03-16T23:39:54.445Z] 4583459ba037: Pull complete [2023-03-16T23:39:54.445Z] 93c1e223e6f2: Pull complete [2023-03-16T23:39:54.709Z] a7acece74701: Verifying Checksum [2023-03-16T23:39:54.709Z] a7acece74701: Download complete [2023-03-16T23:39:54.967Z] 96b7cbca73a9: Verifying Checksum [2023-03-16T23:39:54.967Z] 96b7cbca73a9: Download complete [2023-03-16T23:39:54.967Z] 53926ce57604: Verifying Checksum [2023-03-16T23:39:54.967Z] 53926ce57604: Download complete [2023-03-16T23:39:59.163Z] 53926ce57604: Pull complete [2023-03-16T23:39:59.163Z] 21b2b0c7a3f4: Pull complete [2023-03-16T23:39:59.163Z] 22ff95d597cd: Pull complete [2023-03-16T23:39:59.163Z] 12d6caf4c0d1: Pull complete [2023-03-16T23:40:01.063Z] 96b7cbca73a9: Pull complete [2023-03-16T23:40:02.005Z] a7acece74701: Pull complete [2023-03-16T23:40:02.005Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-16T23:40:02.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-16T23:40:02.005Z] ---> db6d94c90886 [2023-03-16T23:40:02.005Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:40:06.211Z] ---> Running in 387b1daa06ee [2023-03-16T23:40:06.211Z] Removing intermediate container 387b1daa06ee [2023-03-16T23:40:06.211Z] ---> ff3a5cba4f3d [2023-03-16T23:40:06.211Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:40:06.211Z] ---> Running in 38da3f43adcf [2023-03-16T23:40:06.211Z] Removing intermediate container 38da3f43adcf [2023-03-16T23:40:06.211Z] ---> 7407c684348e [2023-03-16T23:40:06.211Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-16T23:40:06.211Z] ---> Running in 2e7a0770d941 [2023-03-16T23:40:06.211Z] Removing intermediate container 2e7a0770d941 [2023-03-16T23:40:06.211Z] ---> aed90ee9ad03 [2023-03-16T23:40:06.211Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:40:06.470Z] ---> Running in c6de61a9f4bb [2023-03-16T23:40:06.470Z] Removing intermediate container c6de61a9f4bb [2023-03-16T23:40:06.470Z] ---> 9a536d08d775 [2023-03-16T23:40:06.470Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T23:40:06.470Z] ---> Running in c1ac69355ae3 [2023-03-16T23:40:06.470Z] Removing intermediate container c1ac69355ae3 [2023-03-16T23:40:06.470Z] ---> 6e7e47a33ccf [2023-03-16T23:40:06.470Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:40:06.470Z] ---> Running in 332c7b5d9c14 [2023-03-16T23:40:06.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T23:40:06.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T23:40:07.088Z] Still waiting to schedule task [2023-03-16T23:40:07.088Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2546’ is offline [2023-03-16T23:40:07.246Z] OK: 211 MiB in 51 packages [2023-03-16T23:40:07.507Z] Removing intermediate container 332c7b5d9c14 [2023-03-16T23:40:07.507Z] ---> ce2be26a4f9d [2023-03-16T23:40:07.507Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T23:40:07.507Z] ---> Running in 94bdc622f943 [2023-03-16T23:40:07.765Z] Removing intermediate container 94bdc622f943 [2023-03-16T23:40:07.765Z] ---> ae4e37f62321 [2023-03-16T23:40:07.765Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T23:40:07.765Z] ---> 797e1c339e91 [2023-03-16T23:40:07.765Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:40:07.765Z] ---> Running in 1d7cbcf05621 [2023-03-16T23:40:34.344Z] Removing intermediate container 1d7cbcf05621 [2023-03-16T23:40:34.344Z] ---> 5804a184c7fe [2023-03-16T23:40:34.344Z] Step 12/13 : COPY . . [2023-03-16T23:40:34.344Z] ---> 4a89db4d89dc [2023-03-16T23:40:34.344Z] Step 13/13 : RUN ${MAKE} [2023-03-16T23:40:34.344Z] ---> Running in 80d0cb9ce5ee [2023-03-16T23:40:34.344Z] noop [2023-03-16T23:40:34.344Z] Removing intermediate container 80d0cb9ce5ee [2023-03-16T23:40:34.344Z] ---> 96dc9ffda730 [2023-03-16T23:40:34.344Z] Successfully built 96dc9ffda730 [2023-03-16T23:40:34.344Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:40:34.769Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T23:40:34.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:40:34.913Z] prd-ubuntu20.04-docker-8c-8g-2548 does not seem to be running inside a container [2023-03-16T23:40:34.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T23:40:35.279Z] $ docker top a5689dc32a49cc97b9c6f7971cdebc94efa4db7d1fe12c5bf91c20f5b191f650 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:40:35.659Z] + go version [2023-03-16T23:40:35.659Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-16T23:40:35.686Z] $ docker stop --time=1 a5689dc32a49cc97b9c6f7971cdebc94efa4db7d1fe12c5bf91c20f5b191f650 [2023-03-16T23:40:36.945Z] $ docker rm -f --volumes a5689dc32a49cc97b9c6f7971cdebc94efa4db7d1fe12c5bf91c20f5b191f650 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:40:37.647Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T23:40:37.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:40:37.794Z] prd-ubuntu20.04-docker-8c-8g-2548 does not seem to be running inside a container [2023-03-16T23:40:37.821Z] $ 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-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T23:40:38.162Z] $ docker top dc4898aaa2e35e385973d6f83276b8e2d93e1464ef28f01cc48dcc745c214138 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:40:38.565Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-274 [Pipeline] fileExists [Pipeline] sh [2023-03-16T23:40:38.914Z] + make test [2023-03-16T23:40:38.914Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-16T23:40:39.171Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T23:40:51.374Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-16T23:40:52.753Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements [2023-03-16T23:40:52.753Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T23:40:52.753Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.632s coverage: 86.5% of statements [2023-03-16T23:41:00.870Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-16T23:41:00.870Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-16T23:41:05.050Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T23:41:05.050Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T23:41:05.050Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T23:41:05.084Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T23:41:05.109Z] $ docker stop --time=1 dc4898aaa2e35e385973d6f83276b8e2d93e1464ef28f01cc48dcc745c214138 [2023-03-16T23:41:08.016Z] $ docker rm -f --volumes dc4898aaa2e35e385973d6f83276b8e2d93e1464ef28f01cc48dcc745c214138 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T23:41:08.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T23:41:08.608Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T23:41:09.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T23:41:09.514Z] + ls -al . [2023-03-16T23:41:09.514Z] total 248 [2023-03-16T23:41:09.514Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 23:40 . [2023-03-16T23:41:09.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:39 .. [2023-03-16T23:41:09.514Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 23:40 .git [2023-03-16T23:41:09.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 23:39 .github [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 23:39 .gitignore [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 23:39 .golangci.yml [2023-03-16T23:41:09.514Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 23:39 .semver [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 16 23:39 Attribution.txt [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 23:39 CHANGELOG.md [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 16 23:39 Dockerfile [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 23:39 GOVERNANCE.md [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 16 23:39 Jenkinsfile [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 23:39 LICENSE [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 2858 Mar 16 23:39 Makefile [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 23:39 OWNERS.md [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 6499 Mar 16 23:39 README.md [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 23:39 VERSION [2023-03-16T23:41:09.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 23:39 bin [2023-03-16T23:41:09.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 23:39 cmd [2023-03-16T23:41:09.514Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 16 23:40 coverage.out [2023-03-16T23:41:09.514Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 23:39 doc [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 16 23:39 go.mod [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 16 23:39 go.sum [2023-03-16T23:41:09.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:39 internal [2023-03-16T23:41:09.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:39 snap [2023-03-16T23:41:09.514Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 23:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:41:09.909Z] + 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=b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 --label arch=amd64 --label version=0.0.0 . [2023-03-16T23:41:09.909Z] Sending build context to Docker daemon 27.02MB [2023-03-16T23:41:09.909Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-16T23:41:09.909Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-16T23:41:09.909Z] ---> 96dc9ffda730 [2023-03-16T23:41:09.909Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:41:10.167Z] ---> Running in 05286054fcb1 [2023-03-16T23:41:10.428Z] Removing intermediate container 05286054fcb1 [2023-03-16T23:41:10.428Z] ---> 9467befcd9d9 [2023-03-16T23:41:10.428Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:41:10.428Z] ---> Running in 7b1dac443aa1 [2023-03-16T23:41:10.428Z] Removing intermediate container 7b1dac443aa1 [2023-03-16T23:41:10.428Z] ---> 8d9039325adb [2023-03-16T23:41:10.428Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-16T23:41:10.428Z] ---> Running in b913d4fcbddb [2023-03-16T23:41:10.428Z] Removing intermediate container b913d4fcbddb [2023-03-16T23:41:10.428Z] ---> 39b8bb93d467 [2023-03-16T23:41:10.428Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:41:10.428Z] ---> Running in 8372f8a00ef4 [2023-03-16T23:41:10.685Z] Removing intermediate container 8372f8a00ef4 [2023-03-16T23:41:10.685Z] ---> b6bba266f065 [2023-03-16T23:41:10.685Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-16T23:41:10.685Z] ---> Running in 89a17c09d653 [2023-03-16T23:41:10.685Z] Removing intermediate container 89a17c09d653 [2023-03-16T23:41:10.685Z] ---> c7312d852c79 [2023-03-16T23:41:10.685Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:41:10.685Z] ---> Running in bf76f916f15d [2023-03-16T23:41:10.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T23:41:11.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T23:41:11.201Z] OK: 211 MiB in 51 packages [2023-03-16T23:41:11.775Z] Removing intermediate container bf76f916f15d [2023-03-16T23:41:11.775Z] ---> 677aafc8ca44 [2023-03-16T23:41:11.775Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-16T23:41:11.775Z] ---> Running in 593dd8499ac7 [2023-03-16T23:41:12.036Z] Removing intermediate container 593dd8499ac7 [2023-03-16T23:41:12.036Z] ---> 2339ffe2cf9e [2023-03-16T23:41:12.036Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-16T23:41:12.036Z] ---> 4aae9ef09863 [2023-03-16T23:41:12.036Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:41:12.036Z] ---> Running in 626398bb1272 [2023-03-16T23:41:12.601Z] Removing intermediate container 626398bb1272 [2023-03-16T23:41:12.601Z] ---> 70137bf4473c [2023-03-16T23:41:12.601Z] Step 12/26 : COPY . . [2023-03-16T23:41:13.546Z] ---> c9057086e8d5 [2023-03-16T23:41:13.546Z] Step 13/26 : RUN ${MAKE} [2023-03-16T23:41:13.546Z] ---> Running in 46a260d09525 [2023-03-16T23:41:13.804Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-16T23:41:35.718Z] Removing intermediate container 46a260d09525 [2023-03-16T23:41:35.718Z] ---> 254e816670e2 [2023-03-16T23:41:35.718Z] Step 14/26 : FROM alpine:3.16 [2023-03-16T23:41:35.718Z] 3.16: Pulling from library/alpine [2023-03-16T23:41:35.718Z] ef5531b6e74e: Pulling fs layer [2023-03-16T23:41:35.977Z] ef5531b6e74e: Download complete [2023-03-16T23:41:36.235Z] ef5531b6e74e: Pull complete [2023-03-16T23:41:36.235Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-16T23:41:36.235Z] Status: Downloaded newer image for alpine:3.16 [2023-03-16T23:41:36.235Z] ---> dfd21b5a31f5 [2023-03-16T23:41:36.235Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-16T23:41:36.235Z] ---> Running in 68d32fb051a4 [2023-03-16T23:41:36.235Z] Removing intermediate container 68d32fb051a4 [2023-03-16T23:41:36.235Z] ---> 651352a3d6c1 [2023-03-16T23:41:36.235Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-16T23:41:36.235Z] ---> Running in c1af88b86725 [2023-03-16T23:41:36.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T23:41:36.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T23:41:37.012Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-16T23:41:37.012Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-16T23:41:37.012Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-16T23:41:37.272Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-16T23:41:37.272Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-16T23:41:37.272Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-16T23:41:37.272Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T23:41:37.272Z] OK: 8 MiB in 20 packages [2023-03-16T23:41:37.532Z] Removing intermediate container c1af88b86725 [2023-03-16T23:41:37.532Z] ---> 507298267fbe [2023-03-16T23:41:37.532Z] Step 17/26 : WORKDIR / [2023-03-16T23:41:37.532Z] ---> Running in 053dc7d61f5a [2023-03-16T23:41:37.792Z] Removing intermediate container 053dc7d61f5a [2023-03-16T23:41:37.792Z] ---> 16e1118a0f1e [2023-03-16T23:41:37.792Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-16T23:41:38.360Z] ---> 87150ed1d275 [2023-03-16T23:41:38.360Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-16T23:41:38.618Z] ---> 61b2a57068a0 [2023-03-16T23:41:38.618Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-16T23:41:38.618Z] ---> 9c20a6a49447 [2023-03-16T23:41:38.618Z] Step 21/26 : EXPOSE 59984 [2023-03-16T23:41:38.618Z] ---> Running in 11fe90606ae7 [2023-03-16T23:41:38.877Z] Removing intermediate container 11fe90606ae7 [2023-03-16T23:41:38.877Z] ---> b644084ce611 [2023-03-16T23:41:38.877Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-16T23:41:38.877Z] ---> Running in ef52cd2f10d3 [2023-03-16T23:41:38.877Z] Removing intermediate container ef52cd2f10d3 [2023-03-16T23:41:38.877Z] ---> cb95eea8995a [2023-03-16T23:41:38.877Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-16T23:41:38.877Z] ---> Running in 296b3260cb29 [2023-03-16T23:41:38.877Z] Removing intermediate container 296b3260cb29 [2023-03-16T23:41:38.877Z] ---> 6c2f4c2a581a [2023-03-16T23:41:38.877Z] Step 24/26 : LABEL arch=amd64 [2023-03-16T23:41:39.135Z] ---> Running in 5a94dd20cb82 [2023-03-16T23:41:39.135Z] Removing intermediate container 5a94dd20cb82 [2023-03-16T23:41:39.135Z] ---> cc60bcadf62c [2023-03-16T23:41:39.135Z] Step 25/26 : LABEL git_sha=b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [2023-03-16T23:41:39.135Z] ---> Running in f45a4f14e3a6 [2023-03-16T23:41:39.135Z] Removing intermediate container f45a4f14e3a6 [2023-03-16T23:41:39.135Z] ---> fc338b27b95d [2023-03-16T23:41:39.135Z] Step 26/26 : LABEL version=0.0.0 [2023-03-16T23:41:39.135Z] ---> Running in f47631e33325 [2023-03-16T23:41:39.394Z] Removing intermediate container f47631e33325 [2023-03-16T23:41:39.394Z] ---> dbbb4557e2c7 [2023-03-16T23:41:39.394Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T23:41:39.394Z] Successfully built dbbb4557e2c7 [2023-03-16T23:41:39.394Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:41:40.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:41:40.278Z] [2023-03-16T23:41:40.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:41:40.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:41:40.653Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T23:41:40.653Z] 5eb5b503b376: Pulling fs layer [2023-03-16T23:41:40.653Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T23:41:40.653Z] ec43610c2a17: Pulling fs layer [2023-03-16T23:41:40.653Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T23:41:40.653Z] 33b1e0a273af: Pulling fs layer [2023-03-16T23:41:40.653Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T23:41:40.653Z] 2f39f015ded8: Pulling fs layer [2023-03-16T23:41:40.653Z] 3a2ae6a8a46f: Waiting [2023-03-16T23:41:40.653Z] 33b1e0a273af: Waiting [2023-03-16T23:41:40.653Z] 5d3b04190fa2: Waiting [2023-03-16T23:41:40.653Z] 2f39f015ded8: Waiting [2023-03-16T23:41:40.653Z] 5c69ac0246d0: Download complete [2023-03-16T23:41:40.653Z] 3a2ae6a8a46f: Download complete [2023-03-16T23:41:40.916Z] 33b1e0a273af: Verifying Checksum [2023-03-16T23:41:40.916Z] 33b1e0a273af: Download complete [2023-03-16T23:41:40.916Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T23:41:40.916Z] 5d3b04190fa2: Download complete [2023-03-16T23:41:40.916Z] ec43610c2a17: Verifying Checksum [2023-03-16T23:41:40.916Z] ec43610c2a17: Download complete [2023-03-16T23:41:40.916Z] 5eb5b503b376: Verifying Checksum [2023-03-16T23:41:40.916Z] 5eb5b503b376: Download complete [2023-03-16T23:41:41.485Z] 2f39f015ded8: Download complete [2023-03-16T23:41:42.051Z] 5eb5b503b376: Pull complete [2023-03-16T23:41:42.310Z] 5c69ac0246d0: Pull complete [2023-03-16T23:41:42.568Z] ec43610c2a17: Pull complete [2023-03-16T23:41:42.826Z] 3a2ae6a8a46f: Pull complete [2023-03-16T23:41:43.085Z] 33b1e0a273af: Pull complete [2023-03-16T23:41:43.085Z] 5d3b04190fa2: Pull complete [2023-03-16T23:41:47.276Z] 2f39f015ded8: Pull complete [2023-03-16T23:41:47.276Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T23:41:47.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:41:47.276Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:41:47.495Z] prd-ubuntu20.04-docker-8c-8g-2548 does not seem to be running inside a container [2023-03-16T23:41:47.521Z] $ 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-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T23:41:50.642Z] $ docker top 792d1e6004e5086805515aaf4c3bbf28ddffa04f18297521545740ea8eac1fcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:41:51.072Z] ---> job-cost.sh [2023-03-16T23:41:51.072Z] lf-activate-venv: SKIPPING [2023-03-16T23:41:51.072Z] INFO: No Stack... [2023-03-16T23:41:51.640Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T23:41:51.900Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T23:41:52.214Z] + cat /w/workspace/undry_device-onvif-camera_PR-274/archives/cost.csv [2023-03-16T23:41:52.214Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T23:41:52.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-274-1-stack-cost] [2023-03-16T23:41:52.258Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-1-stack-cost] did not exist. Created. [2023-03-16T23:41:52.258Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T23:41:52.649Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T23:41:52.701Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T23:41:52.729Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T23:41:52.808Z] $ docker stop --time=1 792d1e6004e5086805515aaf4c3bbf28ddffa04f18297521545740ea8eac1fcd [2023-03-16T23:41:53.970Z] $ docker rm -f --volumes 792d1e6004e5086805515aaf4c3bbf28ddffa04f18297521545740ea8eac1fcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T23:42:49.766Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2550 in /w/workspace/undry_device-onvif-camera_PR-274 [Pipeline] { [Pipeline] ws [2023-03-16T23:42:49.817Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-16T23:42:49.890Z] The recommended git tool is: git [2023-03-16T23:42:55.813Z] using credential edgex-jenkins-ssh [2023-03-16T23:42:55.827Z] Cloning the remote Git repository [2023-03-16T23:42:55.875Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T23:42:55.969Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-16T23:42:56.143Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T23:42:56.144Z] > git --version # timeout=10 [2023-03-16T23:42:56.168Z] > git --version # 'git version 2.25.1' [2023-03-16T23:42:56.170Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:42:56.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T23:42:57.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T23:42:57.710Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T23:42:59.507Z] Merging remotes/origin/levski commit 0c6690d512fca69ab8f13dc5deb436fc09094519 into PR head commit b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [2023-03-16T23:43:00.014Z] Merge succeeded, producing b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [2023-03-16T23:43:00.015Z] Checking out Revision b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 (PR-274) [2023-03-16T23:42:58.857Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T23:42:58.895Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T23:42:58.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:42:58.911Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-16T23:42:59.531Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T23:42:59.614Z] > git checkout -f b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 # timeout=10 [2023-03-16T23:42:59.895Z] > git remote # timeout=10 [2023-03-16T23:42:59.930Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T23:42:59.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T23:42:59.972Z] > git merge 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 [2023-03-16T23:43:00.000Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T23:43:00.025Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T23:43:00.040Z] > git checkout -f b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 # timeout=10 [2023-03-16T23:43:03.908Z] Commit message: "docs: remove demo-app docs" [2023-03-16T23:43:03.960Z] > git --version # timeout=10 [2023-03-16T23:43:03.972Z] > git --version # 'git version 2.25.1' [2023-03-16T23:43:03.984Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T23:43:05.014Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T23:43:05.014Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T23:43:05.014Z] Dload Upload Total Spent Left Speed [2023-03-16T23:43:05.014Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 249k 0 --:--:-- --:--:-- --:--:-- 249k [Pipeline] sh [2023-03-16T23:43:05.736Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T23:43:06.087Z] + sudo tee /etc/docker/daemon.new [2023-03-16T23:43:06.088Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T23:43:06.088Z] { [2023-03-16T23:43:06.088Z] "registry-mirrors": [ [2023-03-16T23:43:06.088Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T23:43:06.088Z] ], [2023-03-16T23:43:06.088Z] "bip": "10.250.0.254/24", [2023-03-16T23:43:06.088Z] "hosts": [ [2023-03-16T23:43:06.088Z] "tcp://0.0.0.0:5555", [2023-03-16T23:43:06.088Z] "unix:///var/run/docker.sock" [2023-03-16T23:43:06.088Z] ], [2023-03-16T23:43:06.088Z] "mtu": 1458, [2023-03-16T23:43:06.088Z] "selinux-enabled": true, [2023-03-16T23:43:06.088Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T23:43:06.088Z] } [Pipeline] sh [2023-03-16T23:43:06.426Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T23:43:06.789Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:43:25.097Z] provisioning config files... [2023-03-16T23:43:25.127Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config14716784540618014770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:43:25.516Z] ---> docker-login.sh [2023-03-16T23:43:25.516Z] nexus3.edgexfoundry.org:10001 [2023-03-16T23:43:26.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:43:26.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:43:26.380Z] Configure a credential helper to remove this warning. See [2023-03-16T23:43:26.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:43:26.380Z] [2023-03-16T23:43:26.380Z] Login Succeeded [2023-03-16T23:43:26.380Z] nexus3.edgexfoundry.org:10002 [2023-03-16T23:43:26.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:43:26.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:43:26.651Z] Configure a credential helper to remove this warning. See [2023-03-16T23:43:26.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:43:26.651Z] [2023-03-16T23:43:26.651Z] Login Succeeded [2023-03-16T23:43:26.651Z] nexus3.edgexfoundry.org:10003 [2023-03-16T23:43:26.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:43:26.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:43:26.922Z] Configure a credential helper to remove this warning. See [2023-03-16T23:43:26.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:43:26.922Z] [2023-03-16T23:43:26.922Z] Login Succeeded [2023-03-16T23:43:26.922Z] nexus3.edgexfoundry.org:10004 [2023-03-16T23:43:27.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:43:27.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:43:27.476Z] Configure a credential helper to remove this warning. See [2023-03-16T23:43:27.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:43:27.476Z] [2023-03-16T23:43:27.476Z] Login Succeeded [2023-03-16T23:43:27.476Z] docker.io [2023-03-16T23:43:27.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T23:43:28.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T23:43:28.014Z] Configure a credential helper to remove this warning. See [2023-03-16T23:43:28.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T23:43:28.014Z] [2023-03-16T23:43:28.014Z] Login Succeeded [2023-03-16T23:43:28.014Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T23:43:28.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T23:43:28.436Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:43:28.471Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T23:43:28.503Z] ========================================================= [2023-03-16T23:43:28.503Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-16T23:43:28.503Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:43:28.994Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T23:43:29.587Z] Sending build context to Docker daemon 19.68MB [2023-03-16T23:43:29.587Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-16T23:43:29.587Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T23:43:29.861Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T23:43:29.861Z] 9b18e9b68314: Pulling fs layer [2023-03-16T23:43:29.861Z] 35d82f9e3411: Pulling fs layer [2023-03-16T23:43:29.861Z] e16973657156: Pulling fs layer [2023-03-16T23:43:29.861Z] fc693d55d65f: Pulling fs layer [2023-03-16T23:43:29.861Z] 7e9fc2657dce: Pulling fs layer [2023-03-16T23:43:29.861Z] dda99020689f: Pulling fs layer [2023-03-16T23:43:29.861Z] db1c61fa0a46: Pulling fs layer [2023-03-16T23:43:29.861Z] 7e9fc2657dce: Waiting [2023-03-16T23:43:29.861Z] dda99020689f: Waiting [2023-03-16T23:43:29.861Z] fc693d55d65f: Waiting [2023-03-16T23:43:29.861Z] 891c053d2c06: Pulling fs layer [2023-03-16T23:43:29.861Z] db1c61fa0a46: Waiting [2023-03-16T23:43:29.861Z] 891c053d2c06: Waiting [2023-03-16T23:43:29.861Z] e16973657156: Verifying Checksum [2023-03-16T23:43:29.861Z] e16973657156: Download complete [2023-03-16T23:43:29.861Z] 35d82f9e3411: Verifying Checksum [2023-03-16T23:43:29.861Z] 35d82f9e3411: Download complete [2023-03-16T23:43:29.861Z] 7e9fc2657dce: Verifying Checksum [2023-03-16T23:43:29.861Z] 7e9fc2657dce: Download complete [2023-03-16T23:43:29.861Z] dda99020689f: Verifying Checksum [2023-03-16T23:43:29.861Z] dda99020689f: Download complete [2023-03-16T23:43:29.861Z] 9b18e9b68314: Verifying Checksum [2023-03-16T23:43:29.861Z] 9b18e9b68314: Download complete [2023-03-16T23:43:30.842Z] 9b18e9b68314: Pull complete [2023-03-16T23:43:30.842Z] 891c053d2c06: Verifying Checksum [2023-03-16T23:43:30.842Z] 891c053d2c06: Download complete [2023-03-16T23:43:32.293Z] db1c61fa0a46: Verifying Checksum [2023-03-16T23:43:32.293Z] db1c61fa0a46: Download complete [2023-03-16T23:43:32.882Z] fc693d55d65f: Verifying Checksum [2023-03-16T23:43:32.882Z] fc693d55d65f: Download complete [2023-03-16T23:43:34.297Z] 35d82f9e3411: Pull complete [2023-03-16T23:43:34.577Z] e16973657156: Pull complete [2023-03-16T23:43:46.929Z] fc693d55d65f: Pull complete [2023-03-16T23:43:47.212Z] 7e9fc2657dce: Pull complete [2023-03-16T23:43:47.481Z] dda99020689f: Pull complete [2023-03-16T23:43:54.153Z] db1c61fa0a46: Pull complete [2023-03-16T23:43:56.114Z] 891c053d2c06: Pull complete [2023-03-16T23:43:56.114Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-16T23:43:56.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-16T23:43:56.114Z] ---> f96f9c87975a [2023-03-16T23:43:56.114Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:43:58.073Z] ---> Running in db892b807961 [2023-03-16T23:43:58.342Z] Removing intermediate container db892b807961 [2023-03-16T23:43:58.342Z] ---> 7e5f2469a0a9 [2023-03-16T23:43:58.342Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:43:58.342Z] ---> Running in 9a342dda729c [2023-03-16T23:43:58.612Z] Removing intermediate container 9a342dda729c [2023-03-16T23:43:58.612Z] ---> 9b13bc537aec [2023-03-16T23:43:58.612Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-16T23:43:58.882Z] ---> Running in e6a604a8b5b5 [2023-03-16T23:43:59.151Z] Removing intermediate container e6a604a8b5b5 [2023-03-16T23:43:59.151Z] ---> 47cd5878ecb0 [2023-03-16T23:43:59.151Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:43:59.151Z] ---> Running in 4293d3916a68 [2023-03-16T23:43:59.420Z] Removing intermediate container 4293d3916a68 [2023-03-16T23:43:59.420Z] ---> 16fb8bffb451 [2023-03-16T23:43:59.420Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T23:43:59.689Z] ---> Running in 9bf781f0d7a1 [2023-03-16T23:43:59.962Z] Removing intermediate container 9bf781f0d7a1 [2023-03-16T23:43:59.962Z] ---> 16a98377c635 [2023-03-16T23:43:59.962Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:43:59.962Z] ---> Running in 7bb0a60eefb5 [2023-03-16T23:44:01.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T23:44:01.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T23:44:02.638Z] OK: 221 MiB in 51 packages [2023-03-16T23:44:03.608Z] Removing intermediate container 7bb0a60eefb5 [2023-03-16T23:44:03.608Z] ---> ffde37e2d4eb [2023-03-16T23:44:03.608Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T23:44:03.608Z] ---> Running in 33bb5ecc5b45 [2023-03-16T23:44:03.878Z] Removing intermediate container 33bb5ecc5b45 [2023-03-16T23:44:03.878Z] ---> 7830230071ea [2023-03-16T23:44:03.878Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T23:44:04.465Z] ---> 65dc4cf986fb [2023-03-16T23:44:04.465Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:44:04.465Z] ---> Running in 63183af54570 [2023-03-16T23:45:00.898Z] Removing intermediate container 63183af54570 [2023-03-16T23:45:00.898Z] ---> 5bc56c6ffe8f [2023-03-16T23:45:00.898Z] Step 12/13 : COPY . . [2023-03-16T23:45:00.898Z] ---> cf9eedfae4dc [2023-03-16T23:45:00.898Z] Step 13/13 : RUN ${MAKE} [2023-03-16T23:45:01.168Z] ---> Running in e09051c1067c [2023-03-16T23:45:02.144Z] noop [2023-03-16T23:45:02.734Z] Removing intermediate container e09051c1067c [2023-03-16T23:45:02.734Z] ---> 76a61a131f71 [2023-03-16T23:45:02.734Z] Successfully built 76a61a131f71 [2023-03-16T23:45:02.734Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:45:03.212Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T23:45:03.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:45:03.516Z] prd-ubuntu20.04-docker-arm64-4c-16g-2550 does not seem to be running inside a container [2023-03-16T23:45:03.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T23:45:04.868Z] $ docker top f01b88f6875d3836318d4764f76fee3993f7f6a21ebac379162fe2cd1c759b88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:45:05.770Z] + go version [2023-03-16T23:45:05.770Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-16T23:45:05.806Z] $ docker stop --time=1 f01b88f6875d3836318d4764f76fee3993f7f6a21ebac379162fe2cd1c759b88 [2023-03-16T23:45:07.484Z] $ docker rm -f --volumes f01b88f6875d3836318d4764f76fee3993f7f6a21ebac379162fe2cd1c759b88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:45:08.342Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T23:45:08.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:45:08.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-2550 does not seem to be running inside a container [2023-03-16T23:45:08.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T23:45:09.982Z] $ docker top 17ac321b91d6352283003eba7114aed3f2e02d60984684754b81375d2d53ea93 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:45:10.586Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T23:45:11.572Z] + make test [2023-03-16T23:45:11.572Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-16T23:45:13.527Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T23:46:50.209Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-16T23:46:56.865Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.174s coverage: 29.3% of statements [2023-03-16T23:46:56.865Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T23:47:05.070Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.790s coverage: 86.5% of statements [2023-03-16T23:47:05.070Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T23:47:05.070Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-16T23:47:37.315Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T23:47:37.315Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T23:47:37.315Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T23:47:37.618Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T23:47:37.650Z] $ docker stop --time=1 17ac321b91d6352283003eba7114aed3f2e02d60984684754b81375d2d53ea93 [2023-03-16T23:47:40.737Z] $ docker rm -f --volumes 17ac321b91d6352283003eba7114aed3f2e02d60984684754b81375d2d53ea93 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T23:47:41.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T23:47:41.936Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T23:47:42.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T23:47:43.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T23:47:43.780Z] + ls -al . [2023-03-16T23:47:43.780Z] total 244 [2023-03-16T23:47:43.780Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 23:45 . [2023-03-16T23:47:43.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:42 .. [2023-03-16T23:47:43.780Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 23:43 .git [2023-03-16T23:47:43.780Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 23:42 .github [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 23:42 .gitignore [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 23:42 .golangci.yml [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 16 23:42 Attribution.txt [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 23:42 CHANGELOG.md [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 16 23:42 Dockerfile [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 23:42 GOVERNANCE.md [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 16 23:42 Jenkinsfile [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 23:42 LICENSE [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 2858 Mar 16 23:42 Makefile [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 23:42 OWNERS.md [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 6499 Mar 16 23:42 README.md [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 23:39 VERSION [2023-03-16T23:47:43.780Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 23:42 bin [2023-03-16T23:47:43.780Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 23:42 cmd [2023-03-16T23:47:43.780Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 16 23:47 coverage.out [2023-03-16T23:47:43.780Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 23:42 doc [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 16 23:42 go.mod [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 16 23:42 go.sum [2023-03-16T23:47:43.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:42 internal [2023-03-16T23:47:43.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 23:42 snap [2023-03-16T23:47:43.780Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 23:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:47:44.191Z] + 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=b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 --label arch=arm64 --label version=0.0.0 . [2023-03-16T23:47:45.159Z] Sending build context to Docker daemon 19.76MB [2023-03-16T23:47:45.159Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-16T23:47:45.159Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-16T23:47:45.159Z] ---> 76a61a131f71 [2023-03-16T23:47:45.159Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-16T23:47:45.159Z] ---> Running in 04aaaa49ba2e [2023-03-16T23:47:45.428Z] Removing intermediate container 04aaaa49ba2e [2023-03-16T23:47:45.428Z] ---> 898aa9c0a2a4 [2023-03-16T23:47:45.428Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T23:47:45.697Z] ---> Running in 9503b46486fe [2023-03-16T23:47:45.965Z] Removing intermediate container 9503b46486fe [2023-03-16T23:47:45.965Z] ---> b1861fbf054d [2023-03-16T23:47:45.965Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-16T23:47:45.965Z] ---> Running in 5115697c6605 [2023-03-16T23:47:46.549Z] Removing intermediate container 5115697c6605 [2023-03-16T23:47:46.549Z] ---> cbbc478cd2cc [2023-03-16T23:47:46.549Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T23:47:46.549Z] ---> Running in 03d43dbe1325 [2023-03-16T23:47:46.824Z] Removing intermediate container 03d43dbe1325 [2023-03-16T23:47:46.824Z] ---> 3c480356933f [2023-03-16T23:47:46.824Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-16T23:47:46.824Z] ---> Running in 6e7c9398274d [2023-03-16T23:47:47.417Z] Removing intermediate container 6e7c9398274d [2023-03-16T23:47:47.417Z] ---> 467b3de91890 [2023-03-16T23:47:47.417Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T23:47:47.417Z] ---> Running in 912dd4727d73 [2023-03-16T23:47:50.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T23:47:50.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T23:47:51.727Z] OK: 221 MiB in 51 packages [2023-03-16T23:47:53.148Z] Removing intermediate container 912dd4727d73 [2023-03-16T23:47:53.148Z] ---> d15c9042f00e [2023-03-16T23:47:53.148Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-16T23:47:53.148Z] ---> Running in d68c915d62e6 [2023-03-16T23:47:53.742Z] Removing intermediate container d68c915d62e6 [2023-03-16T23:47:53.742Z] ---> 6b6fd0a1cd1c [2023-03-16T23:47:53.742Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-16T23:47:54.327Z] ---> 3e582c17f0eb [2023-03-16T23:47:54.327Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T23:47:54.327Z] ---> Running in 83dca35cbd62 [2023-03-16T23:47:56.920Z] Removing intermediate container 83dca35cbd62 [2023-03-16T23:47:56.920Z] ---> ec8a7b2488da [2023-03-16T23:47:56.920Z] Step 12/26 : COPY . . [2023-03-16T23:47:58.866Z] ---> 64ac0a2bb4cc [2023-03-16T23:47:58.866Z] Step 13/26 : RUN ${MAKE} [2023-03-16T23:47:58.866Z] ---> Running in 9f486b2b9b39 [2023-03-16T23:48:00.277Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-16T23:50:40.100Z] Removing intermediate container 9f486b2b9b39 [2023-03-16T23:50:40.100Z] ---> 7bf413a07e36 [2023-03-16T23:50:40.100Z] Step 14/26 : FROM alpine:3.16 [2023-03-16T23:50:40.100Z] 3.16: Pulling from library/alpine [2023-03-16T23:50:40.100Z] 3760b48202b3: Pulling fs layer [2023-03-16T23:50:40.100Z] 3760b48202b3: Verifying Checksum [2023-03-16T23:50:40.100Z] 3760b48202b3: Download complete [2023-03-16T23:50:40.100Z] 3760b48202b3: Pull complete [2023-03-16T23:50:40.100Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-16T23:50:40.100Z] Status: Downloaded newer image for alpine:3.16 [2023-03-16T23:50:40.100Z] ---> 4c81e5bf8899 [2023-03-16T23:50:40.100Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-16T23:50:40.100Z] ---> Running in 9ac7135fc0f0 [2023-03-16T23:50:40.100Z] Removing intermediate container 9ac7135fc0f0 [2023-03-16T23:50:40.100Z] ---> a90322b917c3 [2023-03-16T23:50:40.100Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-16T23:50:40.100Z] ---> Running in 2ddcafa08f80 [2023-03-16T23:50:40.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T23:50:40.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T23:50:40.100Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-16T23:50:40.100Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-16T23:50:40.100Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-16T23:50:40.100Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-16T23:50:40.100Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-16T23:50:40.100Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-16T23:50:40.100Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T23:50:40.100Z] OK: 8 MiB in 20 packages [2023-03-16T23:50:40.100Z] Removing intermediate container 2ddcafa08f80 [2023-03-16T23:50:40.100Z] ---> 7b41b6b98b7b [2023-03-16T23:50:40.100Z] Step 17/26 : WORKDIR / [2023-03-16T23:50:40.100Z] ---> Running in d654c5cb5d6a [2023-03-16T23:50:40.695Z] Removing intermediate container d654c5cb5d6a [2023-03-16T23:50:40.695Z] ---> 3bcdd823b1e7 [2023-03-16T23:50:40.695Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-16T23:50:42.113Z] ---> 5bdd9dd0d980 [2023-03-16T23:50:42.113Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-16T23:50:42.699Z] ---> fb6bb647ddbd [2023-03-16T23:50:42.699Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-16T23:50:42.967Z] ---> 5129ae61c66f [2023-03-16T23:50:42.967Z] Step 21/26 : EXPOSE 59984 [2023-03-16T23:50:43.236Z] ---> Running in 7e1a7f96f098 [2023-03-16T23:50:43.507Z] Removing intermediate container 7e1a7f96f098 [2023-03-16T23:50:43.507Z] ---> a58aa1bd5b0d [2023-03-16T23:50:43.507Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-16T23:50:43.507Z] ---> Running in 003bdef4cdf8 [2023-03-16T23:50:43.788Z] Removing intermediate container 003bdef4cdf8 [2023-03-16T23:50:43.788Z] ---> 67d587db878e [2023-03-16T23:50:43.788Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-16T23:50:44.058Z] ---> Running in c3d1295f0864 [2023-03-16T23:50:44.325Z] Removing intermediate container c3d1295f0864 [2023-03-16T23:50:44.325Z] ---> 08843a66a748 [2023-03-16T23:50:44.325Z] Step 24/26 : LABEL arch=arm64 [2023-03-16T23:50:44.325Z] ---> Running in d4be4d842ad7 [2023-03-16T23:50:44.914Z] Removing intermediate container d4be4d842ad7 [2023-03-16T23:50:44.914Z] ---> 27256a0ce2cd [2023-03-16T23:50:44.914Z] Step 25/26 : LABEL git_sha=b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [2023-03-16T23:50:44.914Z] ---> Running in f968276d0c01 [2023-03-16T23:50:45.181Z] Removing intermediate container f968276d0c01 [2023-03-16T23:50:45.181Z] ---> 9560ff1f67e7 [2023-03-16T23:50:45.181Z] Step 26/26 : LABEL version=0.0.0 [2023-03-16T23:50:45.181Z] ---> Running in 9b436b196392 [2023-03-16T23:50:45.451Z] Removing intermediate container 9b436b196392 [2023-03-16T23:50:45.451Z] ---> d8e3a327201c [2023-03-16T23:50:45.451Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T23:50:45.451Z] Successfully built d8e3a327201c [2023-03-16T23:50:45.719Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:50:46.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:50:46.532Z] [2023-03-16T23:50:46.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:50:46.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:50:46.960Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T23:50:46.960Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T23:50:46.960Z] 04944245beec: Pulling fs layer [2023-03-16T23:50:46.960Z] 699f458cf7ca: Pulling fs layer [2023-03-16T23:50:46.960Z] 765212b225bb: Pulling fs layer [2023-03-16T23:50:46.960Z] f23df028b6ca: Pulling fs layer [2023-03-16T23:50:46.960Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T23:50:46.960Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T23:50:46.960Z] 765212b225bb: Waiting [2023-03-16T23:50:46.960Z] f23df028b6ca: Waiting [2023-03-16T23:50:46.960Z] d65c8cfc05b1: Waiting [2023-03-16T23:50:46.960Z] 2437ff75d9bd: Waiting [2023-03-16T23:50:47.229Z] 04944245beec: Verifying Checksum [2023-03-16T23:50:47.229Z] 04944245beec: Download complete [2023-03-16T23:50:47.229Z] 765212b225bb: Verifying Checksum [2023-03-16T23:50:47.229Z] 765212b225bb: Download complete [2023-03-16T23:50:47.229Z] f23df028b6ca: Verifying Checksum [2023-03-16T23:50:47.229Z] f23df028b6ca: Download complete [2023-03-16T23:50:47.229Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T23:50:47.229Z] d65c8cfc05b1: Download complete [2023-03-16T23:50:47.499Z] 699f458cf7ca: Verifying Checksum [2023-03-16T23:50:47.499Z] 699f458cf7ca: Download complete [2023-03-16T23:50:47.769Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T23:50:47.769Z] 8998bd30e6a1: Download complete [2023-03-16T23:50:50.356Z] 2437ff75d9bd: Download complete [2023-03-16T23:50:51.767Z] 8998bd30e6a1: Pull complete [2023-03-16T23:50:52.038Z] 04944245beec: Pull complete [2023-03-16T23:50:53.448Z] 699f458cf7ca: Pull complete [2023-03-16T23:50:53.714Z] 765212b225bb: Pull complete [2023-03-16T23:50:54.296Z] f23df028b6ca: Pull complete [2023-03-16T23:50:54.562Z] d65c8cfc05b1: Pull complete [2023-03-16T23:51:06.861Z] 2437ff75d9bd: Pull complete [2023-03-16T23:51:06.861Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T23:51:06.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T23:51:06.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:51:07.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-2550 does not seem to be running inside a container [2023-03-16T23:51:07.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T23:51:10.070Z] $ docker top 91726fd7f578377f5ec8358f3392deb9e71b6d9acd3717a40fd03b4b74cadcd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:51:10.676Z] ---> job-cost.sh [2023-03-16T23:51:10.953Z] lf-activate-venv: SKIPPING [2023-03-16T23:51:10.953Z] INFO: No Stack... [2023-03-16T23:51:11.219Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T23:51:12.177Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T23:51:12.525Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-16T23:51:12.525Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T23:51:12.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-274-1-stack-cost] [2023-03-16T23:51:12.877Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-1-stack-cost] did not exist. Created. [2023-03-16T23:51:12.877Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T23:51:13.608Z] /w/workspace/device-onvif-camera/1@tmp/durable-efd0c598/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T23:51:14.284Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T23:51:14.326Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T23:51:14.390Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T23:51:14.405Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T23:51:14.492Z] $ docker stop --time=1 91726fd7f578377f5ec8358f3392deb9e71b6d9acd3717a40fd03b4b74cadcd8 [2023-03-16T23:51:16.068Z] $ docker rm -f --volumes 91726fd7f578377f5ec8358f3392deb9e71b6d9acd3717a40fd03b4b74cadcd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-16T23:51:17.081Z] provisioning config files... [2023-03-16T23:51:17.090Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config7980839706116575055tmp [Pipeline] { [Pipeline] sh [2023-03-16T23:51:17.424Z] + set +x [2023-03-16T23:51:17.424Z] + curl -s https://codecov.io/bash [2023-03-16T23:51:17.424Z] + bash -s -- [2023-03-16T23:51:17.424Z] [2023-03-16T23:51:17.424Z] _____ _ [2023-03-16T23:51:17.424Z] / ____| | | [2023-03-16T23:51:17.424Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T23:51:17.424Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T23:51:17.424Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T23:51:17.424Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T23:51:17.424Z] Bash-1.0.6 [2023-03-16T23:51:17.424Z] [2023-03-16T23:51:17.424Z] [2023-03-16T23:51:17.424Z] ==> git version 2.25.1 found [2023-03-16T23:51:17.424Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-16T23:51:17.424Z] Release-Date: 2020-01-08 [2023-03-16T23:51:17.424Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-16T23:51:17.424Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T23:51:17.424Z] ==> Jenkins CI detected. [2023-03-16T23:51:17.424Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-274 [2023-03-16T23:51:17.424Z] project root: . [2023-03-16T23:51:17.424Z] --> token set from env [2023-03-16T23:51:17.424Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T23:51:17.424Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T23:51:17.424Z] ==> Python coveragepy not found [2023-03-16T23:51:17.424Z] ==> Searching for coverage reports in: [2023-03-16T23:51:17.424Z] + . [2023-03-16T23:51:17.424Z] -> Found 1 reports [2023-03-16T23:51:17.424Z] ==> Detecting git/mercurial file structure [2023-03-16T23:51:17.424Z] ==> Reading reports [2023-03-16T23:51:17.424Z] + ./coverage.out bytes=79184 [2023-03-16T23:51:17.424Z] ==> Appending adjustments [2023-03-16T23:51:17.424Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T23:51:17.684Z] + Found adjustments [2023-03-16T23:51:17.684Z] ==> Gzipping contents [2023-03-16T23:51:17.684Z] 12K /tmp/codecov.5EA3dm.gz [2023-03-16T23:51:17.684Z] ==> Uploading reports [2023-03-16T23:51:17.684Z] url: https://codecov.io [2023-03-16T23:51:17.684Z] query: branch=PR-274&commit=b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=274&job=&cmd_args= [2023-03-16T23:51:17.684Z] -> Pinging Codecov [2023-03-16T23:51:17.684Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-274&commit=b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=274&job=&cmd_args= [2023-03-16T23:51:17.943Z] -> Uploading to [2023-03-16T23:51:17.943Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/F29A59C45E3A92E06B3E522C9905F8EF/b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3/1d00036d-3cb3-4a31-ba52-5860fd6c1f49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T235117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afbf3b56babacabc5ed59f4c4b5a9661fb4f7f03e4d290f78c17877ccd00d400 [2023-03-16T23:51:17.943Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T23:51:17.943Z] Dload Upload Total Spent Left Speed [2023-03-16T23:51:18.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10895 0 0 100 10895 0 41903 --:--:-- --:--:-- --:--:-- 41743 100 10895 0 0 100 10895 0 41903 --:--:-- --:--:-- --:--:-- 41743 [2023-03-16T23:51:18.203Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 [Pipeline] } [2023-03-16T23:51:18.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-16T23:51:19.918Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-274/archives ] [2023-03-16T23:51:19.918Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-274/archives [2023-03-16T23:51:19.918Z] total 16 [2023-03-16T23:51:19.918Z] drwxr-xr-x 3 root root 4096 Mar 16 23:41 . [2023-03-16T23:51:19.918Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 23:41 .. [2023-03-16T23:51:19.918Z] drwxr-xr-x 2 root root 4096 Mar 16 23:41 cost [2023-03-16T23:51:19.918Z] -rw-r--r-- 1 root root 91 Mar 16 23:41 cost.csv [2023-03-16T23:51:19.918Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-274/archives [2023-03-16T23:51:19.918Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-274/archives [2023-03-16T23:51:19.918Z] total 16 [2023-03-16T23:51:19.918Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 23:41 . [2023-03-16T23:51:19.918Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 23:41 .. [2023-03-16T23:51:19.918Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 23:41 cost [2023-03-16T23:51:19.918Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 16 23:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:51:20.240Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:51:21.128Z] ---> package-listing.sh [2023-03-16T23:51:21.128Z] ++ facter osfamily [2023-03-16T23:51:21.128Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T23:51:21.388Z] + OS_FAMILY=debian [2023-03-16T23:51:21.388Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-274 [2023-03-16T23:51:21.388Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T23:51:21.388Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T23:51:21.388Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T23:51:21.388Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T23:51:21.388Z] + '[' /w/workspace/undry_device-onvif-camera_PR-274 ']' [2023-03-16T23:51:21.388Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T23:51:21.388Z] + case "${OS_FAMILY}" in [2023-03-16T23:51:21.388Z] + dpkg -l [2023-03-16T23:51:21.388Z] + grep '^ii' [2023-03-16T23:51:21.388Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T23:51:21.388Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T23:51:21.388Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T23:51:21.388Z] + '[' /w/workspace/undry_device-onvif-camera_PR-274 ']' [2023-03-16T23:51:21.388Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-274/archives/ [2023-03-16T23:51:21.388Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-274/archives/ [Pipeline] echo [2023-03-16T23:51:21.429Z] 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-274/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T23:51:21.720Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T23:51:22.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T23:51:22.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T23:51:22.469Z] prd-ubuntu20.04-docker-8c-8g-2548 does not seem to be running inside a container [2023-03-16T23:51:22.493Z] $ 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-274/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-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T23:51:22.647Z] $ docker top ded22ed648538e8b4c8790732430a7a1b5553e8633c94d24debdf43ee1a2ae0b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T23:51:23.036Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T23:51:23.342Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T23:51:23.658Z] + ls /var/log/sa-host [2023-03-16T23:51:23.658Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T23:51:23.794Z] provisioning config files... [2023-03-16T23:51:23.803Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config2211667765113732551tmp [Pipeline] { [Pipeline] echo [2023-03-16T23:51:23.853Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:51:24.170Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T23:51:24.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:51:24.588Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T23:51:24.621Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:51:24.932Z] ---> sudo-logs.sh [2023-03-16T23:51:24.932Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T23:51:25.009Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:51:25.350Z] ---> job-cost.sh [2023-03-16T23:51:25.350Z] lf-activate-venv: SKIPPING [2023-03-16T23:51:25.350Z] DEBUG: total: 0.2199999988079071 [2023-03-16T23:51:25.350Z] INFO: Retrieving Stack Cost... [2023-03-16T23:51:25.615Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T23:51:25.879Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T23:51:25.910Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T23:51:26.218Z] ---> logs-deploy.sh [2023-03-16T23:51:26.218Z] lf-activate-venv: SKIPPING [2023-03-16T23:51:26.218Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-274/1 [2023-03-16T23:51:26.218Z] INFO: archiving workspace using pattern(s): [2023-03-16T23:51:27.155Z] Archives upload complete. [2023-03-16T23:51:27.155Z] INFO: archiving logs to Nexus