Pull request #227 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 lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from f7cb7572cc0cd7b52b373334c123964b48729dcd+3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c (4f149a03e149ac98b4e8613c91fad2708d78bd42) 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-ssh13836698380369859902.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9712005117205793874.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-227/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-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13318293473725626882.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-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9720744323550781365.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6152045781937376287.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-227/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-227/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14863574151980030655.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4998 in /w/workspace/undry_device-onvif-camera_PR-227 [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-227 # 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/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c into PR head commit f7cb7572cc0cd7b52b373334c123964b48729dcd Merge succeeded, producing f7cb7572cc0cd7b52b373334c123964b48729dcd Checking out Revision f7cb7572cc0cd7b52b373334c123964b48729dcd (PR-227) > git config core.sparsecheckout # timeout=10 > git checkout -f f7cb7572cc0cd7b52b373334c123964b48729dcd # 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 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7cb7572cc0cd7b52b373334c123964b48729dcd # timeout=10 Commit message: "feat!: Use latest SDK for MessageBus Request API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T22:25:33.233Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T22:25:33.401Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T22:25:33.496Z] ========================================================= [2023-02-07T22:25:33.496Z] EdgeX Global Pipelines Version Info [2023-02-07T22:25:33.496Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:25:34.256Z] ------------------- [2023-02-07T22:25:34.256Z] stable info: [2023-02-07T22:25:34.256Z] ------------------- [2023-02-07T22:25:34.256Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T22:25:34.256Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:25:34.256Z] Message: update stable to v1.0.244 [2023-02-07T22:25:35.196Z] ------------------- [2023-02-07T22:25:35.196Z] experimental info: [2023-02-07T22:25:35.196Z] ------------------- [2023-02-07T22:25:35.196Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T22:25:35.196Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:25:35.196Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T22:25:35.479Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-07T22:25:35.522Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-07T22:25:35.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T22:25:35.602Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T22:25:35.642Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T22:25:35.687Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T22:25:35.729Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T22:25:35.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-07T22:25:35.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T22:25:35.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T22:25:35.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T22:25:35.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-07T22:25:35.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T22:25:36.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T22:25:36.056Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:25:36.098Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:25:36.140Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:25:36.179Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:25:36.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T22:25:36.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T22:25:36.291Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-07T22:25:36.328Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-07T22:25:36.368Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T22:25:36.411Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T22:25:36.451Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T22:25:36.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T22:25:36.535Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T22:25:36.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-227 [Pipeline] echo [2023-02-07T22:25:36.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-227 [Pipeline] echo [2023-02-07T22:25:36.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-227 [Pipeline] echo [2023-02-07T22:25:36.699Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7cb7572cc0cd7b52b373334c123964b48729dcd [Pipeline] echo [2023-02-07T22:25:36.742Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7cb757 [Pipeline] echo [2023-02-07T22:25:36.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:25:36.914Z] provisioning config files... [2023-02-07T22:25:36.931Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-227@tmp/config15157076209018383646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:25:37.268Z] ---> docker-login.sh [2023-02-07T22:25:37.268Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:25:37.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:37.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:37.530Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:37.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:37.530Z] [2023-02-07T22:25:37.530Z] Login Succeeded [2023-02-07T22:25:37.530Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:25:37.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:37.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:37.530Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:37.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:37.530Z] [2023-02-07T22:25:37.530Z] Login Succeeded [2023-02-07T22:25:37.530Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:25:37.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:37.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:37.790Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:37.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:37.790Z] [2023-02-07T22:25:37.790Z] Login Succeeded [2023-02-07T22:25:37.790Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:25:37.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:37.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:37.790Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:37.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:37.790Z] [2023-02-07T22:25:37.790Z] Login Succeeded [2023-02-07T22:25:37.790Z] docker.io [2023-02-07T22:25:38.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:38.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:38.050Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:38.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:38.050Z] [2023-02-07T22:25:38.050Z] Login Succeeded [2023-02-07T22:25:38.050Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:25:38.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T22:25:38.714Z] + git rev-list -1 --merges f7cb7572cc0cd7b52b373334c123964b48729dcd~1..f7cb7572cc0cd7b52b373334c123964b48729dcd [Pipeline] echo [2023-02-07T22:25:38.781Z] -----------> git rev-list -1 --merges f7cb7572cc0cd7b52b373334c123964b48729dcd~1..f7cb7572cc0cd7b52b373334c123964b48729dcd f7cb7572cc0cd7b52b373334c123964b48729dcd [false] [Pipeline] sh [2023-02-07T22:25:39.094Z] + git log --format=format:%s -1 f7cb7572cc0cd7b52b373334c123964b48729dcd [Pipeline] echo [2023-02-07T22:25:39.126Z] ========================================================= [2023-02-07T22:25:39.126Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T22:25:39.126Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:25:39.548Z] + git log --format=format:%s -1 f7cb7572cc0cd7b52b373334c123964b48729dcd [Pipeline] echo [2023-02-07T22:25:39.580Z] [semverPrep] GIT_COMMIT: f7cb7572cc0cd7b52b373334c123964b48729dcd, Commit Message: feat!: Use latest SDK for MessageBus Request API [Pipeline] echo [2023-02-07T22:25:39.610Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T22:25:40.051Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:25:40.051Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T22:25:40.051Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T22:25:40.051Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T22:25:40.051Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T22:25:40.051Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T22:25:40.051Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:25:40.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:25:40.533Z] [2023-02-07T22:25:40.533Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:25:40.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:25:40.915Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T22:25:40.915Z] b85a868b505f: Pulling fs layer [2023-02-07T22:25:40.915Z] e2be974225ed: Pulling fs layer [2023-02-07T22:25:40.915Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T22:25:40.915Z] 988bab9f4d93: Pulling fs layer [2023-02-07T22:25:40.915Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T22:25:40.915Z] eaf3925da568: Pulling fs layer [2023-02-07T22:25:40.915Z] bab4dde63d76: Pulling fs layer [2023-02-07T22:25:40.915Z] bde34c3a00c8: Pulling fs layer [2023-02-07T22:25:40.915Z] b352a97aabf1: Pulling fs layer [2023-02-07T22:25:40.915Z] 4872d77fe225: Pulling fs layer [2023-02-07T22:25:40.915Z] 5851b861e8e6: Pulling fs layer [2023-02-07T22:25:40.915Z] bde34c3a00c8: Waiting [2023-02-07T22:25:40.915Z] 988bab9f4d93: Waiting [2023-02-07T22:25:40.915Z] 1469e6f7b9e6: Waiting [2023-02-07T22:25:40.915Z] bab4dde63d76: Waiting [2023-02-07T22:25:40.915Z] eaf3925da568: Waiting [2023-02-07T22:25:40.915Z] 4872d77fe225: Waiting [2023-02-07T22:25:40.915Z] 5851b861e8e6: Waiting [2023-02-07T22:25:40.915Z] e2be974225ed: Verifying Checksum [2023-02-07T22:25:40.915Z] e2be974225ed: Download complete [2023-02-07T22:25:40.915Z] 988bab9f4d93: Verifying Checksum [2023-02-07T22:25:40.915Z] 988bab9f4d93: Download complete [2023-02-07T22:25:41.179Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T22:25:41.179Z] 1469e6f7b9e6: Download complete [2023-02-07T22:25:41.179Z] eaf3925da568: Verifying Checksum [2023-02-07T22:25:41.179Z] eaf3925da568: Download complete [2023-02-07T22:25:41.179Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T22:25:41.179Z] 339a4e72a1f5: Download complete [2023-02-07T22:25:41.179Z] bde34c3a00c8: Verifying Checksum [2023-02-07T22:25:41.179Z] bde34c3a00c8: Download complete [2023-02-07T22:25:41.442Z] b352a97aabf1: Download complete [2023-02-07T22:25:41.442Z] 4872d77fe225: Download complete [2023-02-07T22:25:41.442Z] 5851b861e8e6: Download complete [2023-02-07T22:25:41.442Z] b85a868b505f: Verifying Checksum [2023-02-07T22:25:41.442Z] b85a868b505f: Download complete [2023-02-07T22:25:41.701Z] bab4dde63d76: Verifying Checksum [2023-02-07T22:25:41.701Z] bab4dde63d76: Download complete [2023-02-07T22:25:42.637Z] b85a868b505f: Pull complete [2023-02-07T22:25:42.637Z] e2be974225ed: Pull complete [2023-02-07T22:25:43.204Z] 339a4e72a1f5: Pull complete [2023-02-07T22:25:43.204Z] 988bab9f4d93: Pull complete [2023-02-07T22:25:43.462Z] 1469e6f7b9e6: Pull complete [2023-02-07T22:25:43.462Z] eaf3925da568: Pull complete [2023-02-07T22:25:45.372Z] bab4dde63d76: Pull complete [2023-02-07T22:25:45.372Z] bde34c3a00c8: Pull complete [2023-02-07T22:25:45.372Z] b352a97aabf1: Pull complete [2023-02-07T22:25:45.631Z] 4872d77fe225: Pull complete [2023-02-07T22:25:45.632Z] 5851b861e8e6: Pull complete [2023-02-07T22:25:45.632Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T22:25:45.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:25:45.632Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:25:45.848Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-02-07T22:25:45.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-227 -v /w/workspace/undry_device-onvif-camera_PR-227:/w/workspace/undry_device-onvif-camera_PR-227:rw,z -v /w/workspace/undry_device-onvif-camera_PR-227@tmp:/w/workspace/undry_device-onvif-camera_PR-227@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-02-07T22:25:48.323Z] $ docker top bda57d545b966874afb0aee1187982c6dcf803a0757daa41ac194bb02cf193d6 -eo pid,comm [2023-02-07T22:25:48.380Z] 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-02-07T22:25:48.380Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:25:48.507Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:25:48.507Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:25:48.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:25:48.661Z] $ docker exec bda57d545b966874afb0aee1187982c6dcf803a0757daa41ac194bb02cf193d6 ssh-agent [2023-02-07T22:25:48.772Z] SSH_AUTH_SOCK=/tmp/ssh-bXQIAUiR50xx/agent.32 [2023-02-07T22:25:48.772Z] SSH_AGENT_PID=38 [2023-02-07T22:25:48.793Z] Running ssh-add (command line suppressed) [2023-02-07T22:25:48.895Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-227@tmp/private_key_4228069416109777291.key (/w/workspace/undry_device-onvif-camera_PR-227@tmp/private_key_4228069416109777291.key) [2023-02-07T22:25:48.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:25:49.241Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T22:25:49.262Z] $ docker exec --env ******** --env ******** bda57d545b966874afb0aee1187982c6dcf803a0757daa41ac194bb02cf193d6 ssh-agent -k [2023-02-07T22:25:49.365Z] unset SSH_AUTH_SOCK; [2023-02-07T22:25:49.365Z] unset SSH_AGENT_PID; [2023-02-07T22:25:49.365Z] echo Agent pid 38 killed; [2023-02-07T22:25:49.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T22:25:49.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:25:49.457Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:25:49.575Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:25:49.575Z] $ docker exec bda57d545b966874afb0aee1187982c6dcf803a0757daa41ac194bb02cf193d6 ssh-agent [2023-02-07T22:25:49.696Z] SSH_AUTH_SOCK=/tmp/ssh-lLlQPnl2qOB4/agent.70 [2023-02-07T22:25:49.696Z] SSH_AGENT_PID=76 [2023-02-07T22:25:49.701Z] Running ssh-add (command line suppressed) [2023-02-07T22:25:49.802Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-227@tmp/private_key_11945712840968859292.key (/w/workspace/undry_device-onvif-camera_PR-227@tmp/private_key_11945712840968859292.key) [2023-02-07T22:25:49.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:25:50.144Z] + git semver init [2023-02-07T22:25:50.404Z] 2023-02-07 22:25:50,325 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T22:25:50.404Z] 2023-02-07 22:25:50,325 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-227/.semver [2023-02-07T22:25:50.404Z] 2023-02-07 22:25:50,326 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-227/.semver [2023-02-07T22:25:50.404Z] 2023-02-07 22:25:50,326 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-227/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-227, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:25:51.342Z] 2023-02-07 22:25:51,290 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-227/.git/info/exclude [2023-02-07T22:25:51.342Z] 2023-02-07 22:25:51,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-227/.semver/PR-227 with force:False [2023-02-07T22:25:51.342Z] 2023-02-07 22:25:51,290 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-227/.semver/PR-227 [2023-02-07T22:25:51.342Z] 2023-02-07 22:25:51,295 [execute] INFO git cat-file --batch-check [2023-02-07T22:25:51.342Z] 2023-02-07 22:25:51,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-227/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:25:51.342Z] 2023-02-07 22:25:51,302 [execute] INFO git cat-file --batch [2023-02-07T22:25:51.342Z] 2023-02-07 22:25:51,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-227/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:25:51.342Z] 2023-02-07 22:25:51,307 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-227/.semver/PR-227 [2023-02-07T22:25:51.342Z] 0.0.0 [Pipeline] } [2023-02-07T22:25:51.367Z] $ docker exec --env ******** --env ******** bda57d545b966874afb0aee1187982c6dcf803a0757daa41ac194bb02cf193d6 ssh-agent -k [2023-02-07T22:25:51.473Z] unset SSH_AUTH_SOCK; [2023-02-07T22:25:51.474Z] unset SSH_AGENT_PID; [2023-02-07T22:25:51.474Z] echo Agent pid 76 killed; [2023-02-07T22:25:51.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:25:51.907Z] + git semver [Pipeline] } [2023-02-07T22:25:52.187Z] $ docker stop --time=1 bda57d545b966874afb0aee1187982c6dcf803a0757daa41ac194bb02cf193d6 [2023-02-07T22:25:53.486Z] $ docker rm -f --volumes bda57d545b966874afb0aee1187982c6dcf803a0757daa41ac194bb02cf193d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:25:53.890Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T22:25:54.175Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T22:25:54.192Z] [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-02-07T22:25:54.789Z] provisioning config files... [2023-02-07T22:25:54.800Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-227@tmp/config3841614638984906076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:25:55.150Z] ---> docker-login.sh [2023-02-07T22:25:55.150Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:25:55.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:55.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:55.150Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:55.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:55.150Z] [2023-02-07T22:25:55.150Z] Login Succeeded [2023-02-07T22:25:55.150Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:25:55.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:55.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:55.150Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:55.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:55.150Z] [2023-02-07T22:25:55.150Z] Login Succeeded [2023-02-07T22:25:55.150Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:25:55.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:55.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:55.410Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:55.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:55.410Z] [2023-02-07T22:25:55.410Z] Login Succeeded [2023-02-07T22:25:55.410Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:25:55.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:55.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:55.410Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:55.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:55.410Z] [2023-02-07T22:25:55.410Z] Login Succeeded [2023-02-07T22:25:55.410Z] docker.io [2023-02-07T22:25:55.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:25:55.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:25:55.670Z] Configure a credential helper to remove this warning. See [2023-02-07T22:25:55.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:25:55.670Z] [2023-02-07T22:25:55.670Z] Login Succeeded [2023-02-07T22:25:55.670Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:25:55.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:25:55.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:25:55.931Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:25:55.965Z] ========================================================= [2023-02-07T22:25:55.965Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T22:25:55.965Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:25:56.438Z] + 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-02-07T22:25:56.438Z] Sending build context to Docker daemon 27.71MB [2023-02-07T22:25:56.438Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:25:56.438Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-07T22:25:56.705Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T22:25:56.705Z] 213ec9aee27d: Pulling fs layer [2023-02-07T22:25:56.705Z] 4583459ba037: Pulling fs layer [2023-02-07T22:25:56.705Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T22:25:56.705Z] 53926ce57604: Pulling fs layer [2023-02-07T22:25:56.705Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T22:25:56.705Z] 22ff95d597cd: Pulling fs layer [2023-02-07T22:25:56.705Z] 53926ce57604: Waiting [2023-02-07T22:25:56.705Z] 21b2b0c7a3f4: Waiting [2023-02-07T22:25:56.705Z] 22ff95d597cd: Waiting [2023-02-07T22:25:56.705Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T22:25:56.705Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T22:25:56.705Z] a7acece74701: Pulling fs layer [2023-02-07T22:25:56.705Z] 96b7cbca73a9: Waiting [2023-02-07T22:25:56.705Z] a7acece74701: Waiting [2023-02-07T22:25:56.705Z] 12d6caf4c0d1: Waiting [2023-02-07T22:25:56.705Z] 93c1e223e6f2: Verifying Checksum [2023-02-07T22:25:56.705Z] 93c1e223e6f2: Download complete [2023-02-07T22:25:56.705Z] 4583459ba037: Verifying Checksum [2023-02-07T22:25:56.705Z] 4583459ba037: Download complete [2023-02-07T22:25:56.705Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T22:25:56.705Z] 21b2b0c7a3f4: Download complete [2023-02-07T22:25:56.705Z] 22ff95d597cd: Verifying Checksum [2023-02-07T22:25:56.705Z] 22ff95d597cd: Download complete [2023-02-07T22:25:56.705Z] 213ec9aee27d: Verifying Checksum [2023-02-07T22:25:56.705Z] 213ec9aee27d: Download complete [2023-02-07T22:25:56.975Z] 12d6caf4c0d1: Download complete [2023-02-07T22:25:56.975Z] 213ec9aee27d: Pull complete [2023-02-07T22:25:57.250Z] 4583459ba037: Pull complete [2023-02-07T22:25:57.250Z] 93c1e223e6f2: Pull complete [2023-02-07T22:25:58.268Z] a7acece74701: Verifying Checksum [2023-02-07T22:25:58.268Z] a7acece74701: Download complete [2023-02-07T22:25:58.532Z] 53926ce57604: Download complete [2023-02-07T22:25:58.532Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T22:25:58.532Z] 96b7cbca73a9: Download complete [2023-02-07T22:26:02.722Z] 53926ce57604: Pull complete [2023-02-07T22:26:02.722Z] 21b2b0c7a3f4: Pull complete [2023-02-07T22:26:02.722Z] 22ff95d597cd: Pull complete [2023-02-07T22:26:02.722Z] 12d6caf4c0d1: Pull complete [2023-02-07T22:26:04.619Z] 96b7cbca73a9: Pull complete [2023-02-07T22:26:05.552Z] a7acece74701: Pull complete [2023-02-07T22:26:05.552Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T22:26:05.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T22:26:05.811Z] ---> db6d94c90886 [2023-02-07T22:26:05.811Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:26:09.095Z] ---> Running in 2e70dd60d512 [2023-02-07T22:26:09.095Z] Removing intermediate container 2e70dd60d512 [2023-02-07T22:26:09.095Z] ---> dd990067a696 [2023-02-07T22:26:09.095Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:26:09.095Z] ---> Running in a9ff87a535ab [2023-02-07T22:26:09.095Z] Removing intermediate container a9ff87a535ab [2023-02-07T22:26:09.095Z] ---> 4faa18feb77e [2023-02-07T22:26:09.095Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-07T22:26:09.095Z] ---> Running in e53b9e320540 [2023-02-07T22:26:09.095Z] Removing intermediate container e53b9e320540 [2023-02-07T22:26:09.095Z] ---> 2d484d0960dc [2023-02-07T22:26:09.095Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:26:09.095Z] ---> Running in ff1935ad4e5d [2023-02-07T22:26:09.095Z] Removing intermediate container ff1935ad4e5d [2023-02-07T22:26:09.095Z] ---> 3fbada6244da [2023-02-07T22:26:09.095Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-07T22:26:09.095Z] ---> Running in 56ecc13eaaef [2023-02-07T22:26:09.353Z] Removing intermediate container 56ecc13eaaef [2023-02-07T22:26:09.353Z] ---> 0ae1b5684772 [2023-02-07T22:26:09.353Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:26:09.353Z] ---> Running in 93fb09360f64 [2023-02-07T22:26:09.597Z] Still waiting to schedule task [2023-02-07T22:26:09.597Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-07T22:26:09.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:26:09.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:26:09.870Z] OK: 211 MiB in 51 packages [2023-02-07T22:26:10.437Z] Removing intermediate container 93fb09360f64 [2023-02-07T22:26:10.437Z] ---> b47d9d8456c8 [2023-02-07T22:26:10.437Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-07T22:26:10.437Z] ---> Running in c0c66d3d6266 [2023-02-07T22:26:10.437Z] Removing intermediate container c0c66d3d6266 [2023-02-07T22:26:10.437Z] ---> 166ef8d5ac00 [2023-02-07T22:26:10.437Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-07T22:26:10.437Z] ---> c62c34fe8096 [2023-02-07T22:26:10.437Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:26:10.437Z] ---> Running in 0b91e57d2d00 [2023-02-07T22:26:57.128Z] Removing intermediate container 0b91e57d2d00 [2023-02-07T22:26:57.128Z] ---> 371950d1f5bc [2023-02-07T22:26:57.128Z] Step 12/13 : COPY . . [2023-02-07T22:26:57.128Z] ---> 199989a561c7 [2023-02-07T22:26:57.128Z] Step 13/13 : RUN ${MAKE} [2023-02-07T22:26:57.128Z] ---> Running in 5d1720d33062 [2023-02-07T22:26:57.128Z] noop [2023-02-07T22:26:57.128Z] Removing intermediate container 5d1720d33062 [2023-02-07T22:26:57.128Z] ---> f92baa96a4be [2023-02-07T22:26:57.128Z] Successfully built f92baa96a4be [2023-02-07T22:26:57.128Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:26:57.563Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:26:57.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:26:57.712Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-02-07T22:26:57.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-227 -v /w/workspace/undry_device-onvif-camera_PR-227:/w/workspace/undry_device-onvif-camera_PR-227:rw,z -v /w/workspace/undry_device-onvif-camera_PR-227@tmp:/w/workspace/undry_device-onvif-camera_PR-227@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-02-07T22:26:58.110Z] $ docker top c59beb3ae0811e901dcae00e9072a22a7ad8b2cf37f816ba7495893061531209 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:26:58.505Z] + go version [2023-02-07T22:26:58.505Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T22:26:58.539Z] $ docker stop --time=1 c59beb3ae0811e901dcae00e9072a22a7ad8b2cf37f816ba7495893061531209 [2023-02-07T22:26:59.823Z] $ docker rm -f --volumes c59beb3ae0811e901dcae00e9072a22a7ad8b2cf37f816ba7495893061531209 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:27:00.594Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:27:00.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:27:00.755Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-02-07T22:27:00.786Z] $ 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-227 -v /w/workspace/undry_device-onvif-camera_PR-227:/w/workspace/undry_device-onvif-camera_PR-227:rw,z -v /w/workspace/undry_device-onvif-camera_PR-227@tmp:/w/workspace/undry_device-onvif-camera_PR-227@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-02-07T22:27:01.145Z] $ docker top e67343ebf1e043ba07ef4bed1f142b698bd7f8af9c723a8883470f99e04e3b6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:27:01.534Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-227 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:27:01.895Z] + make test [2023-02-07T22:27:01.895Z] go test ./... -coverprofile=coverage.out ./... [2023-02-07T22:27:02.153Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-07T22:27:14.349Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-07T22:27:15.729Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 29.3% of statements [2023-02-07T22:27:15.729Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-07T22:27:15.729Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.404s coverage: 86.5% of statements [2023-02-07T22:27:23.857Z] 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-02-07T22:27:23.857Z] go vet ./... [2023-02-07T22:27:27.138Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:27:27.138Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:27:27.138Z] ./bin/test-attribution-txt.sh [2023-02-07T22:27:27.138Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:27:27.138Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:27:27.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:27:27.208Z] $ docker stop --time=1 e67343ebf1e043ba07ef4bed1f142b698bd7f8af9c723a8883470f99e04e3b6c [2023-02-07T22:27:29.849Z] $ docker rm -f --volumes e67343ebf1e043ba07ef4bed1f142b698bd7f8af9c723a8883470f99e04e3b6c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:27:30.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:27:30.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T22:27:31.096Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:27:31.411Z] + ls -al . [2023-02-07T22:27:31.411Z] total 236 [2023-02-07T22:27:31.411Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:27 . [2023-02-07T22:27:31.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:25 .. [2023-02-07T22:27:31.411Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:27 .git [2023-02-07T22:27:31.411Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:25 .github [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 7 22:25 .gitignore [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 22:25 .golangci.yml [2023-02-07T22:27:31.411Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:25 .semver [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 9638 Feb 7 22:25 Attribution.txt [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 7 22:25 CHANGELOG.md [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 7 22:25 Dockerfile [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:25 GOVERNANCE.md [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 7 22:25 Jenkinsfile [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 7 22:25 LICENSE [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 7 22:25 Makefile [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 7 22:25 OWNERS.md [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 7 22:25 README.md [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 22:25 VERSION [2023-02-07T22:27:31.411Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:25 bin [2023-02-07T22:27:31.411Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:25 cmd [2023-02-07T22:27:31.411Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 7 22:27 coverage.out [2023-02-07T22:27:31.411Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 22:25 doc [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 3599 Feb 7 22:25 go.mod [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 34699 Feb 7 22:25 go.sum [2023-02-07T22:27:31.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:25 internal [2023-02-07T22:27:31.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:25 snap [2023-02-07T22:27:31.411Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 7 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:27:31.808Z] + 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=f7cb7572cc0cd7b52b373334c123964b48729dcd --label arch=amd64 --label version=0.0.0 . [2023-02-07T22:27:31.808Z] Sending build context to Docker daemon 27.79MB [2023-02-07T22:27:31.808Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:27:31.808Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-07T22:27:31.808Z] ---> f92baa96a4be [2023-02-07T22:27:31.808Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:27:32.069Z] ---> Running in dd804037173a [2023-02-07T22:27:32.339Z] Removing intermediate container dd804037173a [2023-02-07T22:27:32.339Z] ---> 81aa71513bef [2023-02-07T22:27:32.339Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:27:32.339Z] ---> Running in f2dee64acdf4 [2023-02-07T22:27:32.339Z] Removing intermediate container f2dee64acdf4 [2023-02-07T22:27:32.339Z] ---> 00be4c22fc87 [2023-02-07T22:27:32.339Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-07T22:27:32.339Z] ---> Running in 0a138155e679 [2023-02-07T22:27:32.339Z] Removing intermediate container 0a138155e679 [2023-02-07T22:27:32.339Z] ---> cc5c4a7ff1cc [2023-02-07T22:27:32.339Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:27:32.598Z] ---> Running in fefe5a424bbb [2023-02-07T22:27:32.598Z] Removing intermediate container fefe5a424bbb [2023-02-07T22:27:32.598Z] ---> a6c6317d0e3c [2023-02-07T22:27:32.598Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-07T22:27:32.598Z] ---> Running in 308c9b467896 [2023-02-07T22:27:32.857Z] Removing intermediate container 308c9b467896 [2023-02-07T22:27:32.857Z] ---> b6d34aae64d3 [2023-02-07T22:27:32.857Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:27:32.857Z] ---> Running in 1383c149ec50 [2023-02-07T22:27:33.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:27:33.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:27:33.637Z] OK: 211 MiB in 51 packages [2023-02-07T22:27:33.896Z] Removing intermediate container 1383c149ec50 [2023-02-07T22:27:33.896Z] ---> ebfe1f766a58 [2023-02-07T22:27:33.896Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-07T22:27:33.896Z] ---> Running in a99193afd35c [2023-02-07T22:27:33.897Z] Removing intermediate container a99193afd35c [2023-02-07T22:27:33.897Z] ---> e644cc2c143b [2023-02-07T22:27:33.897Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-07T22:27:34.156Z] ---> 385e6cc50319 [2023-02-07T22:27:34.156Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:27:34.156Z] ---> Running in b59ea5d26985 [2023-02-07T22:27:35.094Z] Removing intermediate container b59ea5d26985 [2023-02-07T22:27:35.094Z] ---> c2e6cef52110 [2023-02-07T22:27:35.094Z] Step 12/26 : COPY . . [2023-02-07T22:27:35.665Z] ---> 9b1886f5102b [2023-02-07T22:27:35.665Z] Step 13/26 : RUN ${MAKE} [2023-02-07T22:27:35.665Z] ---> Running in 045bc30c8289 [2023-02-07T22:27:35.923Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-07T22:27:57.851Z] Removing intermediate container 045bc30c8289 [2023-02-07T22:27:57.851Z] ---> 421e8349dc86 [2023-02-07T22:27:57.851Z] Step 14/26 : FROM alpine:3.16 [2023-02-07T22:27:57.851Z] 3.16: Pulling from library/alpine [2023-02-07T22:27:57.851Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T22:27:57.851Z] ca7dd9ec2225: Verifying Checksum [2023-02-07T22:27:57.851Z] ca7dd9ec2225: Download complete [2023-02-07T22:27:57.851Z] ca7dd9ec2225: Pull complete [2023-02-07T22:27:57.851Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:27:57.851Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:27:57.851Z] ---> bfe296a52501 [2023-02-07T22:27:57.851Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-07T22:27:57.851Z] ---> Running in c00f3ed0edcf [2023-02-07T22:27:57.851Z] Removing intermediate container c00f3ed0edcf [2023-02-07T22:27:57.851Z] ---> b0ab60887872 [2023-02-07T22:27:57.851Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:27:57.851Z] ---> Running in 63776761ce85 [2023-02-07T22:27:58.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:27:58.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:27:58.628Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:27:58.628Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:27:58.628Z] OK: 6 MiB in 15 packages [2023-02-07T22:27:59.569Z] Removing intermediate container 63776761ce85 [2023-02-07T22:27:59.569Z] ---> 16448e682114 [2023-02-07T22:27:59.569Z] Step 17/26 : WORKDIR / [2023-02-07T22:27:59.831Z] ---> Running in 3bdcce9a1a00 [2023-02-07T22:28:00.091Z] Removing intermediate container 3bdcce9a1a00 [2023-02-07T22:28:00.091Z] ---> fb58fc8779e5 [2023-02-07T22:28:00.091Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-07T22:28:01.027Z] ---> 9b1d92a5e20b [2023-02-07T22:28:01.027Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-07T22:28:01.289Z] ---> 33585554bcb6 [2023-02-07T22:28:01.289Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-07T22:28:01.855Z] ---> 52817a23dc9e [2023-02-07T22:28:01.855Z] Step 21/26 : EXPOSE 59984 [2023-02-07T22:28:01.855Z] ---> Running in a6bf44fc3e25 [2023-02-07T22:28:02.423Z] Removing intermediate container a6bf44fc3e25 [2023-02-07T22:28:02.423Z] ---> 0cd1b397096e [2023-02-07T22:28:02.423Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-07T22:28:02.726Z] ---> Running in a37f38fd7cb7 [2023-02-07T22:28:02.985Z] Removing intermediate container a37f38fd7cb7 [2023-02-07T22:28:02.985Z] ---> 7f87d02d0be6 [2023-02-07T22:28:02.985Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T22:28:03.243Z] ---> Running in 8cc793cd10f6 [2023-02-07T22:28:03.503Z] Removing intermediate container 8cc793cd10f6 [2023-02-07T22:28:03.503Z] ---> 060d86fdde5f [2023-02-07T22:28:03.503Z] Step 24/26 : LABEL arch=amd64 [2023-02-07T22:28:03.762Z] ---> Running in c35ab0b8023c [2023-02-07T22:28:04.022Z] Removing intermediate container c35ab0b8023c [2023-02-07T22:28:04.022Z] ---> f41b4a917587 [2023-02-07T22:28:04.022Z] Step 25/26 : LABEL git_sha=f7cb7572cc0cd7b52b373334c123964b48729dcd [2023-02-07T22:28:04.022Z] ---> Running in cfd57ecb38b6 [2023-02-07T22:28:04.282Z] Removing intermediate container cfd57ecb38b6 [2023-02-07T22:28:04.282Z] ---> 7a7d3a18584c [2023-02-07T22:28:04.282Z] Step 26/26 : LABEL version=0.0.0 [2023-02-07T22:28:04.282Z] ---> Running in 929aeda1fdd3 [2023-02-07T22:28:04.540Z] Removing intermediate container 929aeda1fdd3 [2023-02-07T22:28:04.540Z] ---> 593c58bd9578 [2023-02-07T22:28:04.540Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:28:04.540Z] Successfully built 593c58bd9578 [2023-02-07T22:28:04.540Z] 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-02-07T22:28:05.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:28:05.385Z] [2023-02-07T22:28:05.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:28:05.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:28:05.770Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T22:28:05.770Z] 5eb5b503b376: Pulling fs layer [2023-02-07T22:28:05.770Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T22:28:05.770Z] ec43610c2a17: Pulling fs layer [2023-02-07T22:28:05.770Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T22:28:05.770Z] 33b1e0a273af: Pulling fs layer [2023-02-07T22:28:05.770Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T22:28:05.770Z] 2f39f015ded8: Pulling fs layer [2023-02-07T22:28:05.770Z] 33b1e0a273af: Waiting [2023-02-07T22:28:05.770Z] 2f39f015ded8: Waiting [2023-02-07T22:28:05.770Z] 3a2ae6a8a46f: Waiting [2023-02-07T22:28:05.770Z] 5d3b04190fa2: Waiting [2023-02-07T22:28:05.770Z] 5c69ac0246d0: Download complete [2023-02-07T22:28:05.770Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T22:28:05.770Z] 3a2ae6a8a46f: Download complete [2023-02-07T22:28:06.030Z] 33b1e0a273af: Verifying Checksum [2023-02-07T22:28:06.030Z] 33b1e0a273af: Download complete [2023-02-07T22:28:06.030Z] 5d3b04190fa2: Verifying Checksum [2023-02-07T22:28:06.030Z] 5d3b04190fa2: Download complete [2023-02-07T22:28:06.030Z] ec43610c2a17: Verifying Checksum [2023-02-07T22:28:06.030Z] ec43610c2a17: Download complete [2023-02-07T22:28:06.288Z] 5eb5b503b376: Verifying Checksum [2023-02-07T22:28:06.288Z] 5eb5b503b376: Download complete [2023-02-07T22:28:06.852Z] 2f39f015ded8: Download complete [2023-02-07T22:28:07.109Z] 5eb5b503b376: Pull complete [2023-02-07T22:28:07.367Z] 5c69ac0246d0: Pull complete [2023-02-07T22:28:07.931Z] ec43610c2a17: Pull complete [2023-02-07T22:28:07.931Z] 3a2ae6a8a46f: Pull complete [2023-02-07T22:28:08.189Z] 33b1e0a273af: Pull complete [2023-02-07T22:28:08.189Z] 5d3b04190fa2: Pull complete [2023-02-07T22:28:12.366Z] 2f39f015ded8: Pull complete [2023-02-07T22:28:12.366Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T22:28:12.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:28:12.366Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:28:12.597Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-02-07T22:28:12.628Z] $ 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-227 -v /w/workspace/undry_device-onvif-camera_PR-227:/w/workspace/undry_device-onvif-camera_PR-227:rw,z -v /w/workspace/undry_device-onvif-camera_PR-227@tmp:/w/workspace/undry_device-onvif-camera_PR-227@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-02-07T22:28:16.061Z] $ docker top 8c332a0cd6609f78b1df26bbd24b29bddf666ae7dcee17659ffc12093485db8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:28:16.486Z] ---> job-cost.sh [2023-02-07T22:28:16.486Z] lf-activate-venv: SKIPPING [2023-02-07T22:28:16.486Z] INFO: No Stack... [2023-02-07T22:28:16.745Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:28:17.003Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:28:17.315Z] + cat /w/workspace/undry_device-onvif-camera_PR-227/archives/cost.csv [2023-02-07T22:28:17.315Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:28:17.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-227-1-stack-cost] [2023-02-07T22:28:17.366Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-227-1-stack-cost] did not exist. Created. [2023-02-07T22:28:17.366Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:28:17.749Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T22:28:17.796Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:28:17.827Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:28:17.908Z] $ docker stop --time=1 8c332a0cd6609f78b1df26bbd24b29bddf666ae7dcee17659ffc12093485db8d [2023-02-07T22:28:19.062Z] $ docker rm -f --volumes 8c332a0cd6609f78b1df26bbd24b29bddf666ae7dcee17659ffc12093485db8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-07T22:30:41.136Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5000 in /w/workspace/undry_device-onvif-camera_PR-227 [Pipeline] { [Pipeline] ws [2023-02-07T22:30:41.190Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-07T22:30:41.271Z] The recommended git tool is: git [2023-02-07T22:30:46.773Z] using credential edgex-jenkins-ssh [2023-02-07T22:30:46.791Z] Cloning the remote Git repository [2023-02-07T22:30:46.835Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-07T22:30:46.918Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-07T22:30:47.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-07T22:30:47.101Z] > git --version # timeout=10 [2023-02-07T22:30:47.120Z] > git --version # 'git version 2.25.1' [2023-02-07T22:30:47.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:30:47.181Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:30:48.626Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-07T22:30:48.646Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:30:49.530Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-07T22:30:49.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-07T22:30:49.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:30:49.598Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-07T22:30:50.258Z] Merging remotes/origin/main commit 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c into PR head commit f7cb7572cc0cd7b52b373334c123964b48729dcd [2023-02-07T22:30:50.732Z] Merge succeeded, producing f7cb7572cc0cd7b52b373334c123964b48729dcd [2023-02-07T22:30:50.733Z] Checking out Revision f7cb7572cc0cd7b52b373334c123964b48729dcd (PR-227) [2023-02-07T22:30:50.269Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:30:50.297Z] > git checkout -f f7cb7572cc0cd7b52b373334c123964b48729dcd # timeout=10 [2023-02-07T22:30:50.616Z] > git remote # timeout=10 [2023-02-07T22:30:50.635Z] > git config --get remote.origin.url # timeout=10 [2023-02-07T22:30:50.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:30:50.669Z] > git merge 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c # timeout=10 [2023-02-07T22:30:50.697Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-07T22:30:50.731Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:30:50.759Z] > git checkout -f f7cb7572cc0cd7b52b373334c123964b48729dcd # timeout=10 [2023-02-07T22:30:54.718Z] Commit message: "feat!: Use latest SDK for MessageBus Request API" [2023-02-07T22:30:54.820Z] > git --version # timeout=10 [2023-02-07T22:30:54.832Z] > git --version # 'git version 2.25.1' [2023-02-07T22:30:54.851Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:30:55.952Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T22:30:55.952Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:30:55.952Z] Dload Upload Total Spent Left Speed [2023-02-07T22:30:55.952Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 138k 0 --:--:-- --:--:-- --:--:-- 139k [Pipeline] sh [2023-02-07T22:30:56.719Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T22:30:57.089Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T22:30:57.089Z] + sudo tee /etc/docker/daemon.new [2023-02-07T22:30:57.089Z] { [2023-02-07T22:30:57.089Z] "registry-mirrors": [ [2023-02-07T22:30:57.089Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T22:30:57.089Z] ], [2023-02-07T22:30:57.089Z] "bip": "10.250.0.254/24", [2023-02-07T22:30:57.089Z] "hosts": [ [2023-02-07T22:30:57.089Z] "tcp://0.0.0.0:5555", [2023-02-07T22:30:57.089Z] "unix:///var/run/docker.sock" [2023-02-07T22:30:57.089Z] ], [2023-02-07T22:30:57.089Z] "mtu": 1458, [2023-02-07T22:30:57.089Z] "selinux-enabled": true, [2023-02-07T22:30:57.089Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T22:30:57.089Z] } [Pipeline] sh [2023-02-07T22:30:57.432Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T22:30:57.789Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:31:16.139Z] provisioning config files... [2023-02-07T22:31:16.172Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2968630152062244359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:31:16.573Z] ---> docker-login.sh [2023-02-07T22:31:16.573Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:31:17.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:31:17.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:31:17.166Z] Configure a credential helper to remove this warning. See [2023-02-07T22:31:17.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:31:17.166Z] [2023-02-07T22:31:17.166Z] Login Succeeded [2023-02-07T22:31:17.166Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:31:17.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:31:17.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:31:17.441Z] Configure a credential helper to remove this warning. See [2023-02-07T22:31:17.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:31:17.441Z] [2023-02-07T22:31:17.441Z] Login Succeeded [2023-02-07T22:31:17.713Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:31:17.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:31:17.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:31:17.987Z] Configure a credential helper to remove this warning. See [2023-02-07T22:31:17.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:31:17.987Z] [2023-02-07T22:31:17.987Z] Login Succeeded [2023-02-07T22:31:17.987Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:31:18.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:31:18.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:31:18.261Z] Configure a credential helper to remove this warning. See [2023-02-07T22:31:18.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:31:18.261Z] [2023-02-07T22:31:18.261Z] Login Succeeded [2023-02-07T22:31:18.261Z] docker.io [2023-02-07T22:31:18.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:31:18.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:31:18.805Z] Configure a credential helper to remove this warning. See [2023-02-07T22:31:18.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:31:18.805Z] [2023-02-07T22:31:18.805Z] Login Succeeded [2023-02-07T22:31:18.805Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:31:18.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:31:19.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:31:19.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:31:19.356Z] ========================================================= [2023-02-07T22:31:19.356Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T22:31:19.356Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:31:19.871Z] + 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-02-07T22:31:20.460Z] Sending build context to Docker daemon 20.55MB [2023-02-07T22:31:20.460Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:31:20.460Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-07T22:31:20.732Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T22:31:20.732Z] 9b18e9b68314: Pulling fs layer [2023-02-07T22:31:20.732Z] 35d82f9e3411: Pulling fs layer [2023-02-07T22:31:20.732Z] e16973657156: Pulling fs layer [2023-02-07T22:31:20.732Z] fc693d55d65f: Pulling fs layer [2023-02-07T22:31:20.732Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T22:31:20.732Z] dda99020689f: Pulling fs layer [2023-02-07T22:31:20.732Z] db1c61fa0a46: Pulling fs layer [2023-02-07T22:31:20.732Z] 891c053d2c06: Pulling fs layer [2023-02-07T22:31:20.732Z] fc693d55d65f: Waiting [2023-02-07T22:31:20.732Z] 7e9fc2657dce: Waiting [2023-02-07T22:31:20.732Z] 891c053d2c06: Waiting [2023-02-07T22:31:20.732Z] db1c61fa0a46: Waiting [2023-02-07T22:31:20.733Z] e16973657156: Download complete [2023-02-07T22:31:20.733Z] 35d82f9e3411: Verifying Checksum [2023-02-07T22:31:20.733Z] 35d82f9e3411: Download complete [2023-02-07T22:31:20.733Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T22:31:20.733Z] 7e9fc2657dce: Download complete [2023-02-07T22:31:20.733Z] dda99020689f: Verifying Checksum [2023-02-07T22:31:20.733Z] dda99020689f: Download complete [2023-02-07T22:31:20.733Z] 9b18e9b68314: Download complete [2023-02-07T22:31:21.719Z] 9b18e9b68314: Pull complete [2023-02-07T22:31:21.719Z] 891c053d2c06: Verifying Checksum [2023-02-07T22:31:21.719Z] 891c053d2c06: Download complete [2023-02-07T22:31:22.309Z] 35d82f9e3411: Pull complete [2023-02-07T22:31:22.579Z] e16973657156: Pull complete [2023-02-07T22:31:23.167Z] db1c61fa0a46: Download complete [2023-02-07T22:31:23.756Z] fc693d55d65f: Download complete [2023-02-07T22:31:36.085Z] fc693d55d65f: Pull complete [2023-02-07T22:31:36.085Z] 7e9fc2657dce: Pull complete [2023-02-07T22:31:36.085Z] dda99020689f: Pull complete [2023-02-07T22:31:42.744Z] db1c61fa0a46: Pull complete [2023-02-07T22:31:43.711Z] 891c053d2c06: Pull complete [2023-02-07T22:31:43.711Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T22:31:43.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T22:31:43.711Z] ---> f96f9c87975a [2023-02-07T22:31:43.711Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:31:46.313Z] ---> Running in 0e84535fe8ba [2023-02-07T22:31:46.313Z] Removing intermediate container 0e84535fe8ba [2023-02-07T22:31:46.313Z] ---> 454e38d85449 [2023-02-07T22:31:46.313Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:31:46.313Z] ---> Running in cc2c0c7003da [2023-02-07T22:31:46.582Z] Removing intermediate container cc2c0c7003da [2023-02-07T22:31:46.582Z] ---> 56ec988a1624 [2023-02-07T22:31:46.582Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-07T22:31:46.582Z] ---> Running in 7a603e8f2be9 [2023-02-07T22:31:47.179Z] Removing intermediate container 7a603e8f2be9 [2023-02-07T22:31:47.179Z] ---> da124d174569 [2023-02-07T22:31:47.179Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:31:47.179Z] ---> Running in 5d9804e3f105 [2023-02-07T22:31:47.449Z] Removing intermediate container 5d9804e3f105 [2023-02-07T22:31:47.449Z] ---> da2a7ae3c8ee [2023-02-07T22:31:47.449Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-07T22:31:47.449Z] ---> Running in 6aedf2bc6608 [2023-02-07T22:31:47.719Z] Removing intermediate container 6aedf2bc6608 [2023-02-07T22:31:47.719Z] ---> 4a0d69e90d05 [2023-02-07T22:31:47.719Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:31:47.989Z] ---> Running in 230500ce5047 [2023-02-07T22:31:48.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:31:49.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:31:50.516Z] OK: 221 MiB in 51 packages [2023-02-07T22:31:51.491Z] Removing intermediate container 230500ce5047 [2023-02-07T22:31:51.491Z] ---> adb3e1e0cdb2 [2023-02-07T22:31:51.491Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-07T22:31:51.491Z] ---> Running in d5319326fbdf [2023-02-07T22:31:51.760Z] Removing intermediate container d5319326fbdf [2023-02-07T22:31:51.760Z] ---> 4aaa70a6debc [2023-02-07T22:31:51.760Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-07T22:31:52.354Z] ---> 271b63b4baec [2023-02-07T22:31:52.354Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:31:52.354Z] ---> Running in 7d93bc3fe0db [2023-02-07T22:33:14.022Z] Removing intermediate container 7d93bc3fe0db [2023-02-07T22:33:14.022Z] ---> 893f1d788e30 [2023-02-07T22:33:14.022Z] Step 12/13 : COPY . . [2023-02-07T22:33:14.022Z] ---> 91fa42a11aad [2023-02-07T22:33:14.022Z] Step 13/13 : RUN ${MAKE} [2023-02-07T22:33:14.022Z] ---> Running in 2deb11e29b19 [2023-02-07T22:33:14.022Z] noop [2023-02-07T22:33:14.022Z] Removing intermediate container 2deb11e29b19 [2023-02-07T22:33:14.022Z] ---> 7806f4649632 [2023-02-07T22:33:14.022Z] Successfully built 7806f4649632 [2023-02-07T22:33:14.022Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:33:14.514Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:33:14.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:33:14.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-5000 does not seem to be running inside a container [2023-02-07T22:33:14.837Z] $ 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-02-07T22:33:16.152Z] $ docker top 680d153d75d699e63721f468106154079b2bc6d92268f98b0217d1dd03941daf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:33:17.051Z] + go version [2023-02-07T22:33:17.052Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T22:33:17.090Z] $ docker stop --time=1 680d153d75d699e63721f468106154079b2bc6d92268f98b0217d1dd03941daf [2023-02-07T22:33:18.767Z] $ docker rm -f --volumes 680d153d75d699e63721f468106154079b2bc6d92268f98b0217d1dd03941daf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:33:19.618Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:33:19.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:33:19.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-5000 does not seem to be running inside a container [2023-02-07T22:33:19.937Z] $ 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-02-07T22:33:21.161Z] $ docker top d405440ece0306820888bf3dfb39fead49022a45e865e466f8390317b0315e17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:33:22.043Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:33:22.752Z] + make test [2023-02-07T22:33:22.752Z] go test ./... -coverprofile=coverage.out ./... [2023-02-07T22:33:24.703Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-07T22:35:01.377Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-07T22:35:09.617Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.234s coverage: 29.3% of statements [2023-02-07T22:35:09.617Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-07T22:35:17.861Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.549s coverage: 86.5% of statements [2023-02-07T22:35:18.450Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T22:35:18.450Z] go vet ./... [2023-02-07T22:35:57.340Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:35:57.340Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:35:57.340Z] ./bin/test-attribution-txt.sh [2023-02-07T22:35:57.340Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:35:57.340Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:35:57.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:35:57.432Z] $ docker stop --time=1 d405440ece0306820888bf3dfb39fead49022a45e865e466f8390317b0315e17 [2023-02-07T22:35:59.636Z] $ docker rm -f --volumes d405440ece0306820888bf3dfb39fead49022a45e865e466f8390317b0315e17 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:36:00.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:36:00.972Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T22:36:01.760Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:36:02.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:36:02.870Z] + ls -al . [2023-02-07T22:36:02.870Z] total 232 [2023-02-07T22:36:02.870Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:33 . [2023-02-07T22:36:02.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:30 .. [2023-02-07T22:36:02.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:30 .git [2023-02-07T22:36:02.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:30 .github [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 7 22:30 .gitignore [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 22:30 .golangci.yml [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 9638 Feb 7 22:30 Attribution.txt [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 7 22:30 CHANGELOG.md [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 7 22:30 Dockerfile [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:30 GOVERNANCE.md [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 7 22:30 Jenkinsfile [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 7 22:30 LICENSE [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 7 22:30 Makefile [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 7 22:30 OWNERS.md [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 7 22:30 README.md [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 22:25 VERSION [2023-02-07T22:36:02.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:30 bin [2023-02-07T22:36:02.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:30 cmd [2023-02-07T22:36:02.870Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 7 22:35 coverage.out [2023-02-07T22:36:02.870Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 22:30 doc [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 3599 Feb 7 22:30 go.mod [2023-02-07T22:36:02.870Z] -rw-rw-r-- 1 jenkins jenkins 34699 Feb 7 22:30 go.sum [2023-02-07T22:36:02.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:30 internal [2023-02-07T22:36:02.871Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:30 snap [2023-02-07T22:36:02.871Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 7 22:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:36:03.341Z] + 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=f7cb7572cc0cd7b52b373334c123964b48729dcd --label arch=arm64 --label version=0.0.0 . [2023-02-07T22:36:04.359Z] Sending build context to Docker daemon 20.63MB [2023-02-07T22:36:04.359Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:36:04.359Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-07T22:36:04.359Z] ---> 7806f4649632 [2023-02-07T22:36:04.359Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:36:04.631Z] ---> Running in 0e39469c3092 [2023-02-07T22:36:05.612Z] Removing intermediate container 0e39469c3092 [2023-02-07T22:36:05.612Z] ---> 5455825afad7 [2023-02-07T22:36:05.613Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:36:05.886Z] ---> Running in 4c226eff79e0 [2023-02-07T22:36:06.154Z] Removing intermediate container 4c226eff79e0 [2023-02-07T22:36:06.154Z] ---> 82778f504ffc [2023-02-07T22:36:06.154Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-07T22:36:06.423Z] ---> Running in 285dc176fb36 [2023-02-07T22:36:06.696Z] Removing intermediate container 285dc176fb36 [2023-02-07T22:36:06.696Z] ---> 313851429ee5 [2023-02-07T22:36:06.696Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:36:06.965Z] ---> Running in 4032a0b514d0 [2023-02-07T22:36:07.246Z] Removing intermediate container 4032a0b514d0 [2023-02-07T22:36:07.246Z] ---> deec2949e3e3 [2023-02-07T22:36:07.246Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-07T22:36:07.246Z] ---> Running in 71e60e725c90 [2023-02-07T22:36:07.839Z] Removing intermediate container 71e60e725c90 [2023-02-07T22:36:07.839Z] ---> 2241ea21bdb5 [2023-02-07T22:36:07.839Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:36:07.839Z] ---> Running in 8d61775f0434 [2023-02-07T22:36:09.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:36:09.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:36:10.230Z] OK: 221 MiB in 51 packages [2023-02-07T22:36:12.185Z] Removing intermediate container 8d61775f0434 [2023-02-07T22:36:12.185Z] ---> b5099c2d76b1 [2023-02-07T22:36:12.185Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-07T22:36:12.456Z] ---> Running in 1885c040b672 [2023-02-07T22:36:12.726Z] Removing intermediate container 1885c040b672 [2023-02-07T22:36:12.726Z] ---> df7dd4dddfd4 [2023-02-07T22:36:12.726Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-07T22:36:13.313Z] ---> 2b768d546089 [2023-02-07T22:36:13.313Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:36:13.313Z] ---> Running in b3b88d56eb9e [2023-02-07T22:36:16.674Z] Removing intermediate container b3b88d56eb9e [2023-02-07T22:36:16.674Z] ---> 724a28dff24b [2023-02-07T22:36:16.674Z] Step 12/26 : COPY . . [2023-02-07T22:36:18.093Z] ---> 6249f5be3cee [2023-02-07T22:36:18.093Z] Step 13/26 : RUN ${MAKE} [2023-02-07T22:36:18.093Z] ---> Running in d9dd6bf31638 [2023-02-07T22:36:19.059Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-07T22:38:40.882Z] Removing intermediate container d9dd6bf31638 [2023-02-07T22:38:40.882Z] ---> 7e33b95d83a9 [2023-02-07T22:38:40.882Z] Step 14/26 : FROM alpine:3.16 [2023-02-07T22:38:40.882Z] 3.16: Pulling from library/alpine [2023-02-07T22:38:40.882Z] 6875df1f5354: Pulling fs layer [2023-02-07T22:38:40.882Z] 6875df1f5354: Download complete [2023-02-07T22:38:41.475Z] 6875df1f5354: Pull complete [2023-02-07T22:38:41.475Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:38:41.475Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:38:41.475Z] ---> 2b4661558fb8 [2023-02-07T22:38:41.476Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-07T22:38:41.745Z] ---> Running in be7fcf743262 [2023-02-07T22:38:42.015Z] Removing intermediate container be7fcf743262 [2023-02-07T22:38:42.016Z] ---> 14e261f6c60c [2023-02-07T22:38:42.016Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:38:42.016Z] ---> Running in e3a1553b25bd [2023-02-07T22:38:42.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:38:43.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:38:44.526Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:38:44.527Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:38:44.527Z] OK: 5 MiB in 15 packages [2023-02-07T22:38:46.475Z] Removing intermediate container e3a1553b25bd [2023-02-07T22:38:46.475Z] ---> 6dcfb8b29e5e [2023-02-07T22:38:46.475Z] Step 17/26 : WORKDIR / [2023-02-07T22:38:46.743Z] ---> Running in 581680ca6262 [2023-02-07T22:38:47.027Z] Removing intermediate container 581680ca6262 [2023-02-07T22:38:47.027Z] ---> 1bf1b41310cc [2023-02-07T22:38:47.027Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-07T22:38:48.438Z] ---> 6213581418cf [2023-02-07T22:38:48.438Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-07T22:38:49.025Z] ---> 53b6557c345b [2023-02-07T22:38:49.025Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-07T22:38:49.298Z] ---> 6a496d48f7f5 [2023-02-07T22:38:49.298Z] Step 21/26 : EXPOSE 59984 [2023-02-07T22:38:49.566Z] ---> Running in e71fbd5ae702 [2023-02-07T22:38:49.835Z] Removing intermediate container e71fbd5ae702 [2023-02-07T22:38:49.835Z] ---> 679b54e4976a [2023-02-07T22:38:49.835Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-07T22:38:49.835Z] ---> Running in e44ba78fa9d2 [2023-02-07T22:38:50.102Z] Removing intermediate container e44ba78fa9d2 [2023-02-07T22:38:50.102Z] ---> a0506c561f68 [2023-02-07T22:38:50.102Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T22:38:50.102Z] ---> Running in 521975c52b33 [2023-02-07T22:38:50.368Z] Removing intermediate container 521975c52b33 [2023-02-07T22:38:50.368Z] ---> 1bf71dcfeeaf [2023-02-07T22:38:50.368Z] Step 24/26 : LABEL arch=arm64 [2023-02-07T22:38:50.638Z] ---> Running in d4719750898c [2023-02-07T22:38:50.916Z] Removing intermediate container d4719750898c [2023-02-07T22:38:50.916Z] ---> 8acee1463b5a [2023-02-07T22:38:50.916Z] Step 25/26 : LABEL git_sha=f7cb7572cc0cd7b52b373334c123964b48729dcd [2023-02-07T22:38:50.916Z] ---> Running in 715e9cb59f52 [2023-02-07T22:38:51.183Z] Removing intermediate container 715e9cb59f52 [2023-02-07T22:38:51.183Z] ---> 8356d10a5522 [2023-02-07T22:38:51.183Z] Step 26/26 : LABEL version=0.0.0 [2023-02-07T22:38:51.184Z] ---> Running in 3769416ebc4f [2023-02-07T22:38:51.453Z] Removing intermediate container 3769416ebc4f [2023-02-07T22:38:51.453Z] ---> fcb11f45fa42 [2023-02-07T22:38:51.453Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:38:51.718Z] Successfully built fcb11f45fa42 [2023-02-07T22:38:51.718Z] 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-02-07T22:38:52.582Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:38:52.582Z] [2023-02-07T22:38:52.582Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:38:52.991Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:38:52.991Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T22:38:52.991Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T22:38:52.991Z] 04944245beec: Pulling fs layer [2023-02-07T22:38:52.991Z] 699f458cf7ca: Pulling fs layer [2023-02-07T22:38:52.991Z] 765212b225bb: Pulling fs layer [2023-02-07T22:38:52.991Z] f23df028b6ca: Pulling fs layer [2023-02-07T22:38:52.991Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T22:38:52.991Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T22:38:52.991Z] 765212b225bb: Waiting [2023-02-07T22:38:52.991Z] f23df028b6ca: Waiting [2023-02-07T22:38:52.991Z] d65c8cfc05b1: Waiting [2023-02-07T22:38:52.991Z] 2437ff75d9bd: Waiting [2023-02-07T22:38:53.258Z] 04944245beec: Verifying Checksum [2023-02-07T22:38:53.258Z] 04944245beec: Download complete [2023-02-07T22:38:53.258Z] 765212b225bb: Verifying Checksum [2023-02-07T22:38:53.258Z] 765212b225bb: Download complete [2023-02-07T22:38:53.258Z] f23df028b6ca: Verifying Checksum [2023-02-07T22:38:53.258Z] f23df028b6ca: Download complete [2023-02-07T22:38:53.258Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T22:38:53.258Z] d65c8cfc05b1: Download complete [2023-02-07T22:38:53.528Z] 699f458cf7ca: Verifying Checksum [2023-02-07T22:38:53.528Z] 699f458cf7ca: Download complete [2023-02-07T22:38:53.798Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T22:38:53.798Z] 8998bd30e6a1: Download complete [2023-02-07T22:38:56.378Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T22:38:56.378Z] 2437ff75d9bd: Download complete [2023-02-07T22:38:59.494Z] 8998bd30e6a1: Pull complete [2023-02-07T22:39:00.081Z] 04944245beec: Pull complete [2023-02-07T22:39:01.490Z] 699f458cf7ca: Pull complete [2023-02-07T22:39:01.757Z] 765212b225bb: Pull complete [2023-02-07T22:39:02.343Z] f23df028b6ca: Pull complete [2023-02-07T22:39:02.610Z] d65c8cfc05b1: Pull complete [2023-02-07T22:39:17.594Z] 2437ff75d9bd: Pull complete [2023-02-07T22:39:17.594Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T22:39:17.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:39:17.594Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:39:17.930Z] prd-ubuntu20.04-docker-arm64-4c-16g-5000 does not seem to be running inside a container [2023-02-07T22:39:18.006Z] $ 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-02-07T22:39:20.704Z] $ docker top 6258eb69c6e21a0dc5d6a91b34ccfb596c562ad5df93cf22f7307072e7e8e0a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:39:21.621Z] ---> job-cost.sh [2023-02-07T22:39:21.621Z] lf-activate-venv: SKIPPING [2023-02-07T22:39:21.621Z] INFO: No Stack... [2023-02-07T22:39:21.889Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T22:39:22.846Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:39:23.203Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-07T22:39:23.203Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:39:23.565Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-227-1-stack-cost] [2023-02-07T22:39:23.575Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-227-1-stack-cost] did not exist. Created. [2023-02-07T22:39:23.575Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:39:23.995Z] /w/workspace/device-onvif-camera/1@tmp/durable-eeab6bfa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T22:39:24.359Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T22:39:24.401Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T22:39:24.471Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:39:24.490Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:39:24.575Z] $ docker stop --time=1 6258eb69c6e21a0dc5d6a91b34ccfb596c562ad5df93cf22f7307072e7e8e0a5 [2023-02-07T22:39:27.799Z] $ docker rm -f --volumes 6258eb69c6e21a0dc5d6a91b34ccfb596c562ad5df93cf22f7307072e7e8e0a5 [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-02-07T22:39:28.922Z] provisioning config files... [2023-02-07T22:39:28.929Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-227@tmp/config16784507274056286835tmp [Pipeline] { [Pipeline] sh [2023-02-07T22:39:29.272Z] + set +x [2023-02-07T22:39:29.272Z] + bash -s -- [2023-02-07T22:39:29.272Z] + curl -s https://codecov.io/bash [2023-02-07T22:39:29.272Z] [2023-02-07T22:39:29.272Z] _____ _ [2023-02-07T22:39:29.272Z] / ____| | | [2023-02-07T22:39:29.272Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T22:39:29.272Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T22:39:29.272Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T22:39:29.272Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T22:39:29.272Z] Bash-1.0.6 [2023-02-07T22:39:29.272Z] [2023-02-07T22:39:29.272Z] [2023-02-07T22:39:29.272Z] ==> git version 2.25.1 found [2023-02-07T22:39:29.272Z] ==> 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-02-07T22:39:29.272Z] Release-Date: 2020-01-08 [2023-02-07T22:39:29.272Z] 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-02-07T22:39:29.272Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T22:39:29.272Z] ==> Jenkins CI detected. [2023-02-07T22:39:29.272Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-227 [2023-02-07T22:39:29.272Z] project root: . [2023-02-07T22:39:29.272Z] --> token set from env [2023-02-07T22:39:29.272Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T22:39:29.272Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T22:39:29.272Z] ==> Python coveragepy not found [2023-02-07T22:39:29.272Z] ==> Searching for coverage reports in: [2023-02-07T22:39:29.272Z] + . [2023-02-07T22:39:29.532Z] -> Found 1 reports [2023-02-07T22:39:29.532Z] ==> Detecting git/mercurial file structure [2023-02-07T22:39:29.532Z] ==> Reading reports [2023-02-07T22:39:29.532Z] + ./coverage.out bytes=79184 [2023-02-07T22:39:29.532Z] ==> Appending adjustments [2023-02-07T22:39:29.532Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T22:39:29.532Z] + Found adjustments [2023-02-07T22:39:29.532Z] ==> Gzipping contents [2023-02-07T22:39:29.532Z] 12K /tmp/codecov.i4nRaW.gz [2023-02-07T22:39:29.532Z] ==> Uploading reports [2023-02-07T22:39:29.532Z] url: https://codecov.io [2023-02-07T22:39:29.532Z] query: branch=PR-227&commit=f7cb7572cc0cd7b52b373334c123964b48729dcd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=227&job=&cmd_args= [2023-02-07T22:39:29.532Z] -> Pinging Codecov [2023-02-07T22:39:29.532Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-227&commit=f7cb7572cc0cd7b52b373334c123964b48729dcd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=227&job=&cmd_args= [2023-02-07T22:39:29.792Z] -> Uploading to [2023-02-07T22:39:29.792Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/F29A59C45E3A92E06B3E522C9905F8EF/f7cb7572cc0cd7b52b373334c123964b48729dcd/076e27f2-1233-4a56-a8fa-4eeac5c69ba0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T223929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aab203b2155acdd3aba788c13a0b07ed1f8fdfd6d90b1ab78c094c3940b03d69 [2023-02-07T22:39:29.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:39:29.792Z] Dload Upload Total Spent Left Speed [2023-02-07T22:39:30.051Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10848 0 0 100 10848 0 38881 --:--:-- --:--:-- --:--:-- 38881 [2023-02-07T22:39:30.051Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f7cb7572cc0cd7b52b373334c123964b48729dcd [Pipeline] } [2023-02-07T22:39:30.080Z] 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-02-07T22:39:32.023Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-227/archives ] [2023-02-07T22:39:32.023Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-227/archives [2023-02-07T22:39:32.023Z] total 16 [2023-02-07T22:39:32.023Z] drwxr-xr-x 3 root root 4096 Feb 7 22:28 . [2023-02-07T22:39:32.023Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 22:28 .. [2023-02-07T22:39:32.023Z] drwxr-xr-x 2 root root 4096 Feb 7 22:28 cost [2023-02-07T22:39:32.023Z] -rw-r--r-- 1 root root 91 Feb 7 22:28 cost.csv [2023-02-07T22:39:32.023Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-227/archives [2023-02-07T22:39:32.023Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-227/archives [2023-02-07T22:39:32.023Z] total 16 [2023-02-07T22:39:32.023Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:28 . [2023-02-07T22:39:32.023Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 22:28 .. [2023-02-07T22:39:32.023Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:28 cost [2023-02-07T22:39:32.023Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 7 22:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:39:32.350Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:39:33.237Z] ---> package-listing.sh [2023-02-07T22:39:33.237Z] ++ facter osfamily [2023-02-07T22:39:33.237Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T22:39:33.497Z] + OS_FAMILY=debian [2023-02-07T22:39:33.497Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-227 [2023-02-07T22:39:33.497Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T22:39:33.497Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T22:39:33.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T22:39:33.497Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T22:39:33.497Z] + '[' /w/workspace/undry_device-onvif-camera_PR-227 ']' [2023-02-07T22:39:33.497Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T22:39:33.497Z] + case "${OS_FAMILY}" in [2023-02-07T22:39:33.497Z] + dpkg -l [2023-02-07T22:39:33.497Z] + grep '^ii' [2023-02-07T22:39:33.497Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T22:39:33.497Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T22:39:33.497Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T22:39:33.497Z] + '[' /w/workspace/undry_device-onvif-camera_PR-227 ']' [2023-02-07T22:39:33.497Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-227/archives/ [2023-02-07T22:39:33.497Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-227/archives/ [Pipeline] echo [2023-02-07T22:39:33.530Z] 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-227/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T22:39:33.826Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:39:34.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:39:34.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:39:34.600Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-02-07T22:39:34.632Z] $ 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-227/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-227 -v /w/workspace/undry_device-onvif-camera_PR-227:/w/workspace/undry_device-onvif-camera_PR-227:rw,z -v /w/workspace/undry_device-onvif-camera_PR-227@tmp:/w/workspace/undry_device-onvif-camera_PR-227@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-02-07T22:39:34.815Z] $ docker top a84cbdccbdaebaf13c376bf78b756227b52246ad59f62ee61762a03148edc6f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:39:35.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T22:39:35.519Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T22:39:35.828Z] + ls /var/log/sa-host [2023-02-07T22:39:35.828Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:39:36.014Z] provisioning config files... [2023-02-07T22:39:36.023Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-227@tmp/config10857668868607590433tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:39:36.077Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:39:36.404Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T22:39:36.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:39:36.853Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T22:39:36.887Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:39:37.205Z] ---> sudo-logs.sh [2023-02-07T22:39:37.205Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T22:39:37.285Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:39:37.595Z] ---> job-cost.sh [2023-02-07T22:39:37.596Z] lf-activate-venv: SKIPPING [2023-02-07T22:39:37.596Z] DEBUG: total: 0.2199999988079071 [2023-02-07T22:39:37.596Z] INFO: Retrieving Stack Cost... [2023-02-07T22:39:37.854Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:39:38.422Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T22:39:38.458Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:39:38.775Z] ---> logs-deploy.sh [2023-02-07T22:39:38.775Z] lf-activate-venv: SKIPPING [2023-02-07T22:39:38.775Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-227/1 [2023-02-07T22:39:38.775Z] INFO: archiving workspace using pattern(s): [2023-02-07T22:39:39.711Z] Archives upload complete. [2023-02-07T22:39:39.711Z] INFO: archiving logs to Nexus