Pull request #294 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c11c832ad94aad64069d937e40f2c2142e620a13+163d81e496ee931b2d3d9b2549810c1b7a8df380 (c739bfe84f9cfa18e08246e9bb92874553400c65) 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-ssh3211244111068065368.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh486324445257853216.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18146824475019405395.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh17592602642618831635.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13437420665257605137.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-6236’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6238 in /w/workspace/undry_device-onvif-camera_PR-294 [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-294 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 163d81e496ee931b2d3d9b2549810c1b7a8df380 into PR head commit c11c832ad94aad64069d937e40f2c2142e620a13 > 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/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c11c832ad94aad64069d937e40f2c2142e620a13 # timeout=10 Merge succeeded, producing c11c832ad94aad64069d937e40f2c2142e620a13 Checking out Revision c11c832ad94aad64069d937e40f2c2142e620a13 (PR-294) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-29T19:47:42.785Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T19:47:42.842Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T19:47:42.862Z] ========================================================= [2023-03-29T19:47:42.862Z] EdgeX Global Pipelines Version Info [2023-03-29T19:47:42.862Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c11c832ad94aad64069d937e40f2c2142e620a13 # timeout=10 > git rev-list --no-walk 6db8186d5164b303051de63896a93b95b8de55f8 # timeout=10 [2023-03-29T19:47:43.572Z] ------------------- [2023-03-29T19:47:43.572Z] stable info: [2023-03-29T19:47:43.572Z] ------------------- [2023-03-29T19:47:43.572Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T19:47:43.572Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T19:47:43.572Z] Message: update stable to v1.0.245 [2023-03-29T19:47:44.141Z] ------------------- [2023-03-29T19:47:44.141Z] experimental info: [2023-03-29T19:47:44.141Z] ------------------- [2023-03-29T19:47:44.141Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T19:47:44.141Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T19:47:44.141Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T19:47:44.306Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-29T19:47:44.314Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-29T19:47:44.324Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T19:47:44.334Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T19:47:44.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T19:47:44.357Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T19:47:44.371Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T19:47:44.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-29T19:47:44.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T19:47:44.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T19:47:44.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T19:47:44.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-29T19:47:44.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T19:47:44.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T19:47:44.484Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T19:47:44.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T19:47:44.514Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T19:47:44.527Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T19:47:44.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T19:47:44.550Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T19:47:44.568Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-29T19:47:44.583Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-29T19:47:44.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T19:47:44.608Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T19:47:44.618Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-29T19:47:44.630Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T19:47:44.643Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T19:47:44.655Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo [2023-03-29T19:47:44.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo [2023-03-29T19:47:44.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo [2023-03-29T19:47:44.704Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c11c832ad94aad64069d937e40f2c2142e620a13 [Pipeline] echo [2023-03-29T19:47:44.723Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c11c832 [Pipeline] echo [2023-03-29T19:47:44.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T19:47:44.789Z] provisioning config files... [2023-03-29T19:47:44.802Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-294@tmp/config9740243346530286524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:47:45.102Z] ---> docker-login.sh [2023-03-29T19:47:45.102Z] nexus3.edgexfoundry.org:10001 [2023-03-29T19:47:45.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:47:45.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:47:45.366Z] Configure a credential helper to remove this warning. See [2023-03-29T19:47:45.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:47:45.366Z] [2023-03-29T19:47:45.366Z] Login Succeeded [2023-03-29T19:47:45.366Z] nexus3.edgexfoundry.org:10002 [2023-03-29T19:47:45.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:47:45.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:47:45.366Z] Configure a credential helper to remove this warning. See [2023-03-29T19:47:45.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:47:45.366Z] [2023-03-29T19:47:45.366Z] Login Succeeded [2023-03-29T19:47:45.366Z] nexus3.edgexfoundry.org:10003 [2023-03-29T19:47:45.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:47:45.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:47:45.625Z] Configure a credential helper to remove this warning. See [2023-03-29T19:47:45.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:47:45.625Z] [2023-03-29T19:47:45.625Z] Login Succeeded [2023-03-29T19:47:45.625Z] nexus3.edgexfoundry.org:10004 [2023-03-29T19:47:45.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:47:45.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:47:45.625Z] Configure a credential helper to remove this warning. See [2023-03-29T19:47:45.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:47:45.625Z] [2023-03-29T19:47:45.625Z] Login Succeeded [2023-03-29T19:47:45.625Z] docker.io [2023-03-29T19:47:45.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:47:45.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:47:45.883Z] Configure a credential helper to remove this warning. See [2023-03-29T19:47:45.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:47:45.883Z] [2023-03-29T19:47:45.883Z] Login Succeeded [2023-03-29T19:47:45.883Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T19:47:45.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T19:47:46.269Z] + git rev-list -1 --merges c11c832ad94aad64069d937e40f2c2142e620a13~1..c11c832ad94aad64069d937e40f2c2142e620a13 [Pipeline] echo [2023-03-29T19:47:46.323Z] -----------> git rev-list -1 --merges c11c832ad94aad64069d937e40f2c2142e620a13~1..c11c832ad94aad64069d937e40f2c2142e620a13 c11c832ad94aad64069d937e40f2c2142e620a13 [false] [Pipeline] sh [2023-03-29T19:47:46.615Z] + git log --format=format:%s -1 c11c832ad94aad64069d937e40f2c2142e620a13 [Pipeline] echo [2023-03-29T19:47:46.629Z] ========================================================= [2023-03-29T19:47:46.629Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T19:47:46.629Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T19:47:46.947Z] + git log --format=format:%s -1 c11c832ad94aad64069d937e40f2c2142e620a13 [Pipeline] echo [2023-03-29T19:47:46.957Z] [semverPrep] GIT_COMMIT: c11c832ad94aad64069d937e40f2c2142e620a13, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-29T19:47:46.967Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T19:47:47.298Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T19:47:47.299Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T19:47:47.299Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T19:47:47.299Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T19:47:47.299Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-03-29T19:47:47.299Z] -a /etc/ssh/ssh_known_hosts [2023-03-29T19:47:47.299Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:47:47.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T19:47:47.644Z] [2023-03-29T19:47:47.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:47:47.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T19:47:47.946Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T19:47:47.946Z] b85a868b505f: Pulling fs layer [2023-03-29T19:47:47.946Z] e2be974225ed: Pulling fs layer [2023-03-29T19:47:47.946Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T19:47:47.946Z] 988bab9f4d93: Pulling fs layer [2023-03-29T19:47:47.946Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T19:47:47.946Z] eaf3925da568: Pulling fs layer [2023-03-29T19:47:47.946Z] 988bab9f4d93: Waiting [2023-03-29T19:47:47.946Z] bab4dde63d76: Pulling fs layer [2023-03-29T19:47:47.946Z] bde34c3a00c8: Pulling fs layer [2023-03-29T19:47:47.946Z] bab4dde63d76: Waiting [2023-03-29T19:47:47.946Z] 1469e6f7b9e6: Waiting [2023-03-29T19:47:47.946Z] eaf3925da568: Waiting [2023-03-29T19:47:47.946Z] b352a97aabf1: Pulling fs layer [2023-03-29T19:47:47.946Z] 4872d77fe225: Pulling fs layer [2023-03-29T19:47:47.946Z] bde34c3a00c8: Waiting [2023-03-29T19:47:47.946Z] b352a97aabf1: Waiting [2023-03-29T19:47:47.946Z] 5851b861e8e6: Pulling fs layer [2023-03-29T19:47:47.946Z] 4872d77fe225: Waiting [2023-03-29T19:47:47.946Z] 5851b861e8e6: Waiting [2023-03-29T19:47:47.946Z] e2be974225ed: Verifying Checksum [2023-03-29T19:47:47.946Z] e2be974225ed: Download complete [2023-03-29T19:47:47.946Z] 988bab9f4d93: Verifying Checksum [2023-03-29T19:47:47.946Z] 988bab9f4d93: Download complete [2023-03-29T19:47:48.206Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T19:47:48.206Z] 339a4e72a1f5: Download complete [2023-03-29T19:47:48.206Z] eaf3925da568: Verifying Checksum [2023-03-29T19:47:48.206Z] eaf3925da568: Download complete [2023-03-29T19:47:48.206Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T19:47:48.206Z] 1469e6f7b9e6: Download complete [2023-03-29T19:47:48.206Z] bde34c3a00c8: Verifying Checksum [2023-03-29T19:47:48.206Z] bde34c3a00c8: Download complete [2023-03-29T19:47:48.206Z] b352a97aabf1: Download complete [2023-03-29T19:47:48.206Z] 4872d77fe225: Verifying Checksum [2023-03-29T19:47:48.206Z] 4872d77fe225: Download complete [2023-03-29T19:47:48.206Z] 5851b861e8e6: Download complete [2023-03-29T19:47:48.206Z] b85a868b505f: Verifying Checksum [2023-03-29T19:47:48.206Z] b85a868b505f: Download complete [2023-03-29T19:47:48.772Z] bab4dde63d76: Verifying Checksum [2023-03-29T19:47:48.772Z] bab4dde63d76: Download complete [2023-03-29T19:47:49.338Z] b85a868b505f: Pull complete [2023-03-29T19:47:49.596Z] e2be974225ed: Pull complete [2023-03-29T19:47:50.164Z] 339a4e72a1f5: Pull complete [2023-03-29T19:47:50.164Z] 988bab9f4d93: Pull complete [2023-03-29T19:47:50.164Z] 1469e6f7b9e6: Pull complete [2023-03-29T19:47:50.421Z] eaf3925da568: Pull complete [2023-03-29T19:47:51.797Z] bab4dde63d76: Pull complete [2023-03-29T19:47:52.056Z] bde34c3a00c8: Pull complete [2023-03-29T19:47:52.056Z] b352a97aabf1: Pull complete [2023-03-29T19:47:52.056Z] 4872d77fe225: Pull complete [2023-03-29T19:47:52.315Z] 5851b861e8e6: Pull complete [2023-03-29T19:47:52.315Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T19:47:52.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T19:47:52.315Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T19:47:52.417Z] prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container [2023-03-29T19:47:52.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T19:47:55.039Z] $ docker top bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 -eo pid,comm [2023-03-29T19:47:55.090Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-29T19:47:55.090Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T19:47:55.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T19:47:55.128Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T19:47:55.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T19:47:55.251Z] $ docker exec bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 ssh-agent [2023-03-29T19:47:55.354Z] SSH_AUTH_SOCK=/tmp/ssh-FBt9jMi62QWg/agent.32 [2023-03-29T19:47:55.354Z] SSH_AGENT_PID=38 [2023-03-29T19:47:55.360Z] Running ssh-add (command line suppressed) [2023-03-29T19:47:55.459Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-294@tmp/private_key_8728701331019310066.key (/w/workspace/undry_device-onvif-camera_PR-294@tmp/private_key_8728701331019310066.key) [2023-03-29T19:47:55.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T19:47:55.827Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T19:47:55.839Z] $ docker exec --env ******** --env ******** bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 ssh-agent -k [2023-03-29T19:47:55.948Z] unset SSH_AUTH_SOCK; [2023-03-29T19:47:55.949Z] unset SSH_AGENT_PID; [2023-03-29T19:47:55.949Z] echo Agent pid 38 killed; [2023-03-29T19:47:55.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T19:47:55.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T19:47:55.978Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T19:47:56.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T19:47:56.094Z] $ docker exec bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 ssh-agent [2023-03-29T19:47:56.214Z] SSH_AUTH_SOCK=/tmp/ssh-SAdPvALkxIA5/agent.70 [2023-03-29T19:47:56.214Z] SSH_AGENT_PID=76 [2023-03-29T19:47:56.218Z] Running ssh-add (command line suppressed) [2023-03-29T19:47:56.324Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-294@tmp/private_key_1545157712775671970.key (/w/workspace/undry_device-onvif-camera_PR-294@tmp/private_key_1545157712775671970.key) [2023-03-29T19:47:56.338Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T19:47:56.628Z] + git semver init [2023-03-29T19:47:56.887Z] 2023-03-29 19:47:56,822 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T19:47:56.887Z] 2023-03-29 19:47:56,823 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-294/.semver [2023-03-29T19:47:56.887Z] 2023-03-29 19:47:56,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-294/.semver [2023-03-29T19:47:56.887Z] 2023-03-29 19:47:56,823 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-294/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-294, universal_newlines=False, shell=None, istream=None) [2023-03-29T19:47:57.825Z] 2023-03-29 19:47:57,756 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-294/.git/info/exclude [2023-03-29T19:47:57.825Z] 2023-03-29 19:47:57,757 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-294/.semver/PR-294 with force:False [2023-03-29T19:47:57.825Z] 2023-03-29 19:47:57,757 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-294/.semver/PR-294 [2023-03-29T19:47:57.825Z] 2023-03-29 19:47:57,759 [execute] INFO git cat-file --batch-check [2023-03-29T19:47:57.825Z] 2023-03-29 19:47:57,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-294/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T19:47:57.825Z] 2023-03-29 19:47:57,766 [execute] INFO git cat-file --batch [2023-03-29T19:47:57.825Z] 2023-03-29 19:47:57,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-294/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T19:47:57.825Z] 2023-03-29 19:47:57,773 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-294/.semver/PR-294 [2023-03-29T19:47:57.825Z] 0.0.0 [Pipeline] } [2023-03-29T19:47:57.835Z] $ docker exec --env ******** --env ******** bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 ssh-agent -k [2023-03-29T19:47:57.939Z] unset SSH_AUTH_SOCK; [2023-03-29T19:47:57.940Z] unset SSH_AGENT_PID; [2023-03-29T19:47:57.940Z] echo Agent pid 76 killed; [2023-03-29T19:47:57.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T19:47:58.255Z] + git semver [Pipeline] } [2023-03-29T19:47:58.526Z] $ docker stop --time=1 bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 [2023-03-29T19:47:59.838Z] $ docker rm -f --volumes bf133de40f09fa6d9941ebaf664046316f237ee73dbbaa9cee2aef778d690b59 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T19:48:00.170Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T19:48:00.427Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T19:48:00.430Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T19:48:00.581Z] provisioning config files... [2023-03-29T19:48:00.589Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-294@tmp/config4063581752457425132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:48:00.883Z] ---> docker-login.sh [2023-03-29T19:48:00.883Z] nexus3.edgexfoundry.org:10001 [2023-03-29T19:48:00.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:48:00.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:48:00.883Z] Configure a credential helper to remove this warning. See [2023-03-29T19:48:00.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:48:00.883Z] [2023-03-29T19:48:00.883Z] Login Succeeded [2023-03-29T19:48:00.883Z] nexus3.edgexfoundry.org:10002 [2023-03-29T19:48:00.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:48:00.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:48:00.883Z] Configure a credential helper to remove this warning. See [2023-03-29T19:48:00.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:48:00.883Z] [2023-03-29T19:48:00.883Z] Login Succeeded [2023-03-29T19:48:00.883Z] nexus3.edgexfoundry.org:10003 [2023-03-29T19:48:01.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:48:01.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:48:01.143Z] Configure a credential helper to remove this warning. See [2023-03-29T19:48:01.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:48:01.143Z] [2023-03-29T19:48:01.143Z] Login Succeeded [2023-03-29T19:48:01.143Z] nexus3.edgexfoundry.org:10004 [2023-03-29T19:48:01.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:48:01.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:48:01.143Z] Configure a credential helper to remove this warning. See [2023-03-29T19:48:01.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:48:01.143Z] [2023-03-29T19:48:01.143Z] Login Succeeded [2023-03-29T19:48:01.143Z] docker.io [2023-03-29T19:48:01.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:48:01.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:48:01.662Z] Configure a credential helper to remove this warning. See [2023-03-29T19:48:01.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:48:01.662Z] [2023-03-29T19:48:01.662Z] Login Succeeded [2023-03-29T19:48:01.662Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T19:48:01.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T19:48:01.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T19:48:01.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T19:48:01.739Z] ========================================================= [2023-03-29T19:48:01.739Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T19:48:01.739Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:48:02.041Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-29T19:48:02.042Z] Sending build context to Docker daemon 27.03MB [2023-03-29T19:48:02.042Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T19:48:02.042Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-29T19:48:02.302Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T19:48:02.302Z] 63b65145d645: Pulling fs layer [2023-03-29T19:48:02.302Z] a2d21d5440eb: Pulling fs layer [2023-03-29T19:48:02.302Z] 935e6c44a52c: Pulling fs layer [2023-03-29T19:48:02.302Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T19:48:02.302Z] 30dea6a524f1: Pulling fs layer [2023-03-29T19:48:02.302Z] a2aff8979fd8: Pulling fs layer [2023-03-29T19:48:02.302Z] 6808be2612f2: Pulling fs layer [2023-03-29T19:48:02.302Z] f25807f1079a: Pulling fs layer [2023-03-29T19:48:02.302Z] 94cc34f8dd06: Waiting [2023-03-29T19:48:02.302Z] 6808be2612f2: Waiting [2023-03-29T19:48:02.302Z] 30dea6a524f1: Waiting [2023-03-29T19:48:02.302Z] a2aff8979fd8: Waiting [2023-03-29T19:48:02.302Z] f25807f1079a: Waiting [2023-03-29T19:48:02.302Z] a2d21d5440eb: Download complete [2023-03-29T19:48:02.302Z] 94cc34f8dd06: Verifying Checksum [2023-03-29T19:48:02.302Z] 94cc34f8dd06: Download complete [2023-03-29T19:48:02.302Z] 30dea6a524f1: Verifying Checksum [2023-03-29T19:48:02.302Z] 30dea6a524f1: Download complete [2023-03-29T19:48:02.302Z] 63b65145d645: Verifying Checksum [2023-03-29T19:48:02.302Z] 63b65145d645: Download complete [2023-03-29T19:48:02.302Z] a2aff8979fd8: Verifying Checksum [2023-03-29T19:48:02.302Z] a2aff8979fd8: Download complete [2023-03-29T19:48:02.564Z] 63b65145d645: Pull complete [2023-03-29T19:48:02.564Z] a2d21d5440eb: Pull complete [2023-03-29T19:48:02.831Z] f25807f1079a: Verifying Checksum [2023-03-29T19:48:03.401Z] 935e6c44a52c: Verifying Checksum [2023-03-29T19:48:03.401Z] 935e6c44a52c: Download complete [2023-03-29T19:48:03.401Z] 6808be2612f2: Verifying Checksum [2023-03-29T19:48:03.401Z] 6808be2612f2: Download complete [2023-03-29T19:48:07.585Z] 935e6c44a52c: Pull complete [2023-03-29T19:48:07.585Z] 94cc34f8dd06: Pull complete [2023-03-29T19:48:07.845Z] 30dea6a524f1: Pull complete [2023-03-29T19:48:07.845Z] a2aff8979fd8: Pull complete [2023-03-29T19:48:10.372Z] 6808be2612f2: Pull complete [2023-03-29T19:48:11.310Z] f25807f1079a: Pull complete [2023-03-29T19:48:11.310Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T19:48:11.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T19:48:11.310Z] ---> 3b553350e43f [2023-03-29T19:48:11.310Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-29T19:48:15.539Z] Still waiting to schedule task [2023-03-29T19:48:15.539Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-29T19:48:16.596Z] ---> Running in 150f6aa04753 [2023-03-29T19:48:16.596Z] Removing intermediate container 150f6aa04753 [2023-03-29T19:48:16.596Z] ---> 75600f708bf8 [2023-03-29T19:48:16.596Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T19:48:16.596Z] ---> Running in 13a4072783bd [2023-03-29T19:48:16.596Z] Removing intermediate container 13a4072783bd [2023-03-29T19:48:16.596Z] ---> 7ec4a71aee1b [2023-03-29T19:48:16.596Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-29T19:48:16.596Z] ---> Running in 5b54a7cee2aa [2023-03-29T19:48:16.596Z] Removing intermediate container 5b54a7cee2aa [2023-03-29T19:48:16.596Z] ---> 316d68902604 [2023-03-29T19:48:16.596Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T19:48:16.596Z] ---> Running in ced61d0fc6d4 [2023-03-29T19:48:16.596Z] Removing intermediate container ced61d0fc6d4 [2023-03-29T19:48:16.596Z] ---> 96686fb241df [2023-03-29T19:48:16.596Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-29T19:48:16.596Z] ---> Running in e23174d3b36e [2023-03-29T19:48:16.596Z] Removing intermediate container e23174d3b36e [2023-03-29T19:48:16.596Z] ---> 95ee0310fc80 [2023-03-29T19:48:16.596Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T19:48:16.596Z] ---> Running in 74dafb69252d [2023-03-29T19:48:16.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T19:48:16.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T19:48:17.116Z] OK: 265 MiB in 53 packages [2023-03-29T19:48:17.375Z] Removing intermediate container 74dafb69252d [2023-03-29T19:48:17.375Z] ---> f5160d12858d [2023-03-29T19:48:17.375Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-29T19:48:17.375Z] ---> Running in 7f6ae632836d [2023-03-29T19:48:17.634Z] Removing intermediate container 7f6ae632836d [2023-03-29T19:48:17.634Z] ---> 1dd248135a7c [2023-03-29T19:48:17.634Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-29T19:48:17.634Z] ---> 936d161d14fc [2023-03-29T19:48:17.634Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T19:48:17.634Z] ---> Running in e45f45537f7e [2023-03-29T19:48:44.178Z] Removing intermediate container e45f45537f7e [2023-03-29T19:48:44.178Z] ---> b00b20ec20f4 [2023-03-29T19:48:44.178Z] Step 12/13 : COPY . . [2023-03-29T19:48:44.178Z] ---> 2b5c201cf205 [2023-03-29T19:48:44.178Z] Step 13/13 : RUN ${MAKE} [2023-03-29T19:48:44.178Z] ---> Running in ed106d986bad [2023-03-29T19:48:44.178Z] noop [2023-03-29T19:48:44.178Z] Removing intermediate container ed106d986bad [2023-03-29T19:48:44.178Z] ---> 81b98d9f984e [2023-03-29T19:48:44.178Z] Successfully built 81b98d9f984e [2023-03-29T19:48:44.178Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:48:44.483Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T19:48:44.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T19:48:44.557Z] prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container [2023-03-29T19:48:44.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T19:48:44.930Z] $ docker top 7ea2f8ecf5fd70b6bd524811f57d9e45ac437c6ef8ac3d17d82da4ad683d379b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T19:48:45.271Z] + go version [2023-03-29T19:48:45.271Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T19:48:45.284Z] $ docker stop --time=1 7ea2f8ecf5fd70b6bd524811f57d9e45ac437c6ef8ac3d17d82da4ad683d379b [2023-03-29T19:48:46.606Z] $ docker rm -f --volumes 7ea2f8ecf5fd70b6bd524811f57d9e45ac437c6ef8ac3d17d82da4ad683d379b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:48:46.989Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T19:48:46.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T19:48:47.060Z] prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container [2023-03-29T19:48:47.094Z] $ 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-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T19:48:47.442Z] $ docker top 96c649e918ab7659c500ca27fa70c9c3704ca13ca3cdbf29b2a01b07fae3c665 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T19:48:47.782Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-294 [Pipeline] fileExists [Pipeline] sh [2023-03-29T19:48:48.069Z] + make test [2023-03-29T19:48:48.069Z] go test ./... -coverprofile=coverage.out ./... [2023-03-29T19:48:53.334Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-29T19:49:03.319Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-29T19:49:03.319Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-29T19:49:04.698Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.7% of statements [2023-03-29T19:49:04.956Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.211s coverage: 86.5% of statements [2023-03-29T19:49:13.210Z] go vet ./... [2023-03-29T19:49:15.764Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T19:49:15.764Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T19:49:15.764Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T19:49:15.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T19:49:15.792Z] $ docker stop --time=1 96c649e918ab7659c500ca27fa70c9c3704ca13ca3cdbf29b2a01b07fae3c665 [2023-03-29T19:49:18.850Z] $ docker rm -f --volumes 96c649e918ab7659c500ca27fa70c9c3704ca13ca3cdbf29b2a01b07fae3c665 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T19:49:19.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T19:49:19.369Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-29T19:49:19.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T19:49:20.158Z] + ls -al . [2023-03-29T19:49:20.159Z] total 232 [2023-03-29T19:49:20.159Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 19:48 . [2023-03-29T19:49:20.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 .. [2023-03-29T19:49:20.159Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:47 .git [2023-03-29T19:49:20.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:47 .github [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 19:47 .gitignore [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 19:47 .golangci.yml [2023-03-29T19:49:20.159Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:47 .semver [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 19:47 Attribution.txt [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 19:47 CHANGELOG.md [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 19:47 Dockerfile [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:47 GOVERNANCE.md [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 19:47 Jenkinsfile [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 19:47 LICENSE [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 19:47 Makefile [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 19:47 OWNERS.md [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 19:47 README.md [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 19:48 VERSION [2023-03-29T19:49:20.159Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:47 bin [2023-03-29T19:49:20.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:47 cmd [2023-03-29T19:49:20.159Z] -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 19:49 coverage.out [2023-03-29T19:49:20.159Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 19:47 doc [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 19:47 go.mod [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 19:47 go.sum [2023-03-29T19:49:20.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 internal [2023-03-29T19:49:20.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:47 snap [2023-03-29T19:49:20.159Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 19:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:49:20.491Z] + 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=c11c832ad94aad64069d937e40f2c2142e620a13 --label arch=amd64 --label version=0.0.0 . [2023-03-29T19:49:20.491Z] Sending build context to Docker daemon 27.11MB [2023-03-29T19:49:20.491Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T19:49:20.491Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-29T19:49:20.491Z] ---> 81b98d9f984e [2023-03-29T19:49:20.491Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-29T19:49:20.750Z] ---> Running in 37ec48fa50e4 [2023-03-29T19:49:21.009Z] Removing intermediate container 37ec48fa50e4 [2023-03-29T19:49:21.009Z] ---> e5912a927c82 [2023-03-29T19:49:21.009Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T19:49:21.009Z] ---> Running in 6a1fa0a75397 [2023-03-29T19:49:21.009Z] Removing intermediate container 6a1fa0a75397 [2023-03-29T19:49:21.009Z] ---> 8309731073fe [2023-03-29T19:49:21.009Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-29T19:49:21.009Z] ---> Running in a6d083cb9a41 [2023-03-29T19:49:21.009Z] Removing intermediate container a6d083cb9a41 [2023-03-29T19:49:21.009Z] ---> 8469a67dd8c7 [2023-03-29T19:49:21.009Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T19:49:21.009Z] ---> Running in 024bba723509 [2023-03-29T19:49:21.267Z] Removing intermediate container 024bba723509 [2023-03-29T19:49:21.267Z] ---> 8b3656235c62 [2023-03-29T19:49:21.267Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-29T19:49:21.268Z] ---> Running in 92e3ad14a0e5 [2023-03-29T19:49:21.268Z] Removing intermediate container 92e3ad14a0e5 [2023-03-29T19:49:21.268Z] ---> db9174087fdc [2023-03-29T19:49:21.268Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T19:49:21.268Z] ---> Running in e1d1ac21490a [2023-03-29T19:49:21.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T19:49:21.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T19:49:21.784Z] OK: 265 MiB in 53 packages [2023-03-29T19:49:22.043Z] Removing intermediate container e1d1ac21490a [2023-03-29T19:49:22.043Z] ---> 30296ca12d4f [2023-03-29T19:49:22.043Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-29T19:49:22.303Z] ---> Running in 542592a96f64 [2023-03-29T19:49:22.303Z] Removing intermediate container 542592a96f64 [2023-03-29T19:49:22.303Z] ---> d585e85622ba [2023-03-29T19:49:22.303Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-29T19:49:22.303Z] ---> 75f21598e6a2 [2023-03-29T19:49:22.303Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T19:49:22.303Z] ---> Running in 258a087eb596 [2023-03-29T19:49:23.238Z] Removing intermediate container 258a087eb596 [2023-03-29T19:49:23.238Z] ---> 53a520c396e3 [2023-03-29T19:49:23.238Z] Step 12/26 : COPY . . [2023-03-29T19:49:24.184Z] ---> fcaf87de529d [2023-03-29T19:49:24.184Z] Step 13/26 : RUN ${MAKE} [2023-03-29T19:49:24.184Z] ---> Running in 8b3b7bcf7027 [2023-03-29T19:49:24.184Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-29T19:49:46.132Z] Removing intermediate container 8b3b7bcf7027 [2023-03-29T19:49:46.132Z] ---> 8a28d6c3afb8 [2023-03-29T19:49:46.132Z] Step 14/26 : FROM alpine:3.17 [2023-03-29T19:49:46.132Z] 3.17: Pulling from library/alpine [2023-03-29T19:49:46.132Z] f56be85fc22e: Pulling fs layer [2023-03-29T19:49:46.132Z] f56be85fc22e: Verifying Checksum [2023-03-29T19:49:46.132Z] f56be85fc22e: Download complete [2023-03-29T19:49:46.132Z] f56be85fc22e: Pull complete [2023-03-29T19:49:46.132Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T19:49:46.132Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T19:49:46.132Z] ---> 9ed4aefc74f6 [2023-03-29T19:49:46.132Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-29T19:49:46.132Z] ---> Running in 995e16f77591 [2023-03-29T19:49:46.132Z] Removing intermediate container 995e16f77591 [2023-03-29T19:49:46.132Z] ---> 313cde47fa22 [2023-03-29T19:49:46.132Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-29T19:49:46.132Z] ---> Running in cdffdbd751d9 [2023-03-29T19:49:46.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T19:49:46.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T19:49:46.390Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T19:49:46.390Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T19:49:46.390Z] OK: 7 MiB in 16 packages [2023-03-29T19:49:46.956Z] Removing intermediate container cdffdbd751d9 [2023-03-29T19:49:46.956Z] ---> eee1dfea11e7 [2023-03-29T19:49:46.956Z] Step 17/26 : WORKDIR / [2023-03-29T19:49:46.956Z] ---> Running in 3cdcc2c68a27 [2023-03-29T19:49:46.956Z] Removing intermediate container 3cdcc2c68a27 [2023-03-29T19:49:46.956Z] ---> 4bc43c41ebe8 [2023-03-29T19:49:46.956Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-29T19:49:47.544Z] ---> ee5b23c309e5 [2023-03-29T19:49:47.544Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-29T19:49:47.801Z] ---> 1fc887440098 [2023-03-29T19:49:47.801Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-29T19:49:47.801Z] ---> 3b99c5c13f08 [2023-03-29T19:49:47.801Z] Step 21/26 : EXPOSE 59984 [2023-03-29T19:49:47.801Z] ---> Running in a9f25bab5e10 [2023-03-29T19:49:48.060Z] Removing intermediate container a9f25bab5e10 [2023-03-29T19:49:48.060Z] ---> d125169d19e8 [2023-03-29T19:49:48.060Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-29T19:49:48.060Z] ---> Running in 9cc85feb0110 [2023-03-29T19:49:48.060Z] Removing intermediate container 9cc85feb0110 [2023-03-29T19:49:48.060Z] ---> 66caa8f5087d [2023-03-29T19:49:48.060Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-29T19:49:48.060Z] ---> Running in b03d53042fbd [2023-03-29T19:49:48.318Z] Removing intermediate container b03d53042fbd [2023-03-29T19:49:48.318Z] ---> 4c12770d3954 [2023-03-29T19:49:48.318Z] Step 24/26 : LABEL arch=amd64 [2023-03-29T19:49:48.318Z] ---> Running in 70df7d2fca32 [2023-03-29T19:49:48.318Z] Removing intermediate container 70df7d2fca32 [2023-03-29T19:49:48.318Z] ---> 601846315a90 [2023-03-29T19:49:48.318Z] Step 25/26 : LABEL git_sha=c11c832ad94aad64069d937e40f2c2142e620a13 [2023-03-29T19:49:48.318Z] ---> Running in b33859a22471 [2023-03-29T19:49:48.318Z] Removing intermediate container b33859a22471 [2023-03-29T19:49:48.318Z] ---> 22c29b099d84 [2023-03-29T19:49:48.318Z] Step 26/26 : LABEL version=0.0.0 [2023-03-29T19:49:48.318Z] ---> Running in 73b3ab531305 [2023-03-29T19:49:48.582Z] Removing intermediate container 73b3ab531305 [2023-03-29T19:49:48.582Z] ---> 9ea5ee366bf6 [2023-03-29T19:49:48.582Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T19:49:48.582Z] Successfully built 9ea5ee366bf6 [2023-03-29T19:49:48.582Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:49:49.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T19:49:49.025Z] [2023-03-29T19:49:49.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:49:49.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T19:49:49.320Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T19:49:49.320Z] 5eb5b503b376: Pulling fs layer [2023-03-29T19:49:49.320Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T19:49:49.320Z] ec43610c2a17: Pulling fs layer [2023-03-29T19:49:49.320Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T19:49:49.320Z] 33b1e0a273af: Pulling fs layer [2023-03-29T19:49:49.320Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T19:49:49.320Z] 2f39f015ded8: Pulling fs layer [2023-03-29T19:49:49.320Z] 33b1e0a273af: Waiting [2023-03-29T19:49:49.320Z] 5d3b04190fa2: Waiting [2023-03-29T19:49:49.320Z] 2f39f015ded8: Waiting [2023-03-29T19:49:49.320Z] 3a2ae6a8a46f: Waiting [2023-03-29T19:49:49.320Z] 5c69ac0246d0: Verifying Checksum [2023-03-29T19:49:49.320Z] 5c69ac0246d0: Download complete [2023-03-29T19:49:49.320Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-29T19:49:49.320Z] 3a2ae6a8a46f: Download complete [2023-03-29T19:49:49.320Z] 33b1e0a273af: Verifying Checksum [2023-03-29T19:49:49.320Z] 33b1e0a273af: Download complete [2023-03-29T19:49:49.320Z] ec43610c2a17: Verifying Checksum [2023-03-29T19:49:49.320Z] ec43610c2a17: Download complete [2023-03-29T19:49:49.320Z] 5d3b04190fa2: Download complete [2023-03-29T19:49:49.579Z] 5eb5b503b376: Verifying Checksum [2023-03-29T19:49:49.579Z] 5eb5b503b376: Download complete [2023-03-29T19:49:50.147Z] 2f39f015ded8: Download complete [2023-03-29T19:49:50.713Z] 5eb5b503b376: Pull complete [2023-03-29T19:49:50.969Z] 5c69ac0246d0: Pull complete [2023-03-29T19:49:51.227Z] ec43610c2a17: Pull complete [2023-03-29T19:49:51.485Z] 3a2ae6a8a46f: Pull complete [2023-03-29T19:49:51.485Z] 33b1e0a273af: Pull complete [2023-03-29T19:49:51.742Z] 5d3b04190fa2: Pull complete [2023-03-29T19:49:55.923Z] 2f39f015ded8: Pull complete [2023-03-29T19:49:55.923Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T19:49:55.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T19:49:55.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T19:49:56.000Z] prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container [2023-03-29T19:49:56.032Z] $ 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-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T19:49:59.362Z] $ docker top 727bbcd8a4efac0ca4cbf2e7768107b05b90c6c6d57a25ad72f1baee0b156af4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:49:59.750Z] ---> job-cost.sh [2023-03-29T19:49:59.750Z] lf-activate-venv: SKIPPING [2023-03-29T19:49:59.750Z] INFO: No Stack... [2023-03-29T19:50:00.008Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T19:50:00.573Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T19:50:00.859Z] + cat /w/workspace/undry_device-onvif-camera_PR-294/archives/cost.csv [2023-03-29T19:50:00.859Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T19:50:00.872Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [2023-03-29T19:50:00.881Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] did not exist. Created. [2023-03-29T19:50:00.881Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T19:50:01.184Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T19:50:01.208Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T19:50:01.214Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T19:50:01.229Z] $ docker stop --time=1 727bbcd8a4efac0ca4cbf2e7768107b05b90c6c6d57a25ad72f1baee0b156af4 [2023-03-29T19:50:02.371Z] $ docker rm -f --volumes 727bbcd8a4efac0ca4cbf2e7768107b05b90c6c6d57a25ad72f1baee0b156af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T19:50:37.829Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6242 in /w/workspace/undry_device-onvif-camera_PR-294 [Pipeline] { [Pipeline] ws [2023-03-29T19:50:37.842Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-29T19:50:37.880Z] The recommended git tool is: git [2023-03-29T19:50:44.144Z] using credential edgex-jenkins-ssh [2023-03-29T19:50:44.165Z] Cloning the remote Git repository [2023-03-29T19:50:44.226Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-29T19:50:44.350Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-03-29T19:50:44.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-29T19:50:44.522Z] > git --version # timeout=10 [2023-03-29T19:50:44.547Z] > git --version # 'git version 2.25.1' [2023-03-29T19:50:44.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T19:50:44.747Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T19:50:46.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-29T19:50:46.306Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T19:50:48.060Z] Merging remotes/origin/main commit 163d81e496ee931b2d3d9b2549810c1b7a8df380 into PR head commit c11c832ad94aad64069d937e40f2c2142e620a13 [2023-03-29T19:50:47.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-29T19:50:47.460Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-29T19:50:47.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T19:50:47.480Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-29T19:50:48.587Z] Merge succeeded, producing c11c832ad94aad64069d937e40f2c2142e620a13 [2023-03-29T19:50:48.587Z] Checking out Revision c11c832ad94aad64069d937e40f2c2142e620a13 (PR-294) [2023-03-29T19:50:49.521Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-29T19:50:48.081Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T19:50:48.172Z] > git checkout -f c11c832ad94aad64069d937e40f2c2142e620a13 # timeout=10 [2023-03-29T19:50:48.480Z] > git remote # timeout=10 [2023-03-29T19:50:48.497Z] > git config --get remote.origin.url # timeout=10 [2023-03-29T19:50:48.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T19:50:48.534Z] > git merge 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 [2023-03-29T19:50:48.561Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-29T19:50:48.597Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T19:50:48.619Z] > git checkout -f c11c832ad94aad64069d937e40f2c2142e620a13 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T19:50:50.393Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T19:50:50.393Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T19:50:50.393Z] Dload Upload Total Spent Left Speed [2023-03-29T19:50:50.393Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-03-29T19:50:51.026Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T19:50:51.370Z] + sudo tee /etc/docker/daemon.new [2023-03-29T19:50:51.370Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T19:50:51.370Z] { [2023-03-29T19:50:51.370Z] "registry-mirrors": [ [2023-03-29T19:50:51.370Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T19:50:51.370Z] ], [2023-03-29T19:50:51.370Z] "bip": "10.250.0.254/24", [2023-03-29T19:50:51.370Z] "hosts": [ [2023-03-29T19:50:51.370Z] "tcp://0.0.0.0:5555", [2023-03-29T19:50:51.370Z] "unix:///var/run/docker.sock" [2023-03-29T19:50:51.370Z] ], [2023-03-29T19:50:51.370Z] "mtu": 1458, [2023-03-29T19:50:51.370Z] "selinux-enabled": true, [2023-03-29T19:50:51.370Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T19:50:51.370Z] } [Pipeline] sh [2023-03-29T19:50:51.728Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-29T19:50:52.064Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T19:51:10.345Z] provisioning config files... [2023-03-29T19:51:10.372Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config6457738010135729932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:51:10.725Z] ---> docker-login.sh [2023-03-29T19:51:10.725Z] nexus3.edgexfoundry.org:10001 [2023-03-29T19:51:11.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:51:11.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:51:11.313Z] Configure a credential helper to remove this warning. See [2023-03-29T19:51:11.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:51:11.313Z] [2023-03-29T19:51:11.313Z] Login Succeeded [2023-03-29T19:51:11.313Z] nexus3.edgexfoundry.org:10002 [2023-03-29T19:51:11.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:51:11.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:51:11.584Z] Configure a credential helper to remove this warning. See [2023-03-29T19:51:11.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:51:11.584Z] [2023-03-29T19:51:11.584Z] Login Succeeded [2023-03-29T19:51:11.584Z] nexus3.edgexfoundry.org:10003 [2023-03-29T19:51:11.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:51:12.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:51:12.129Z] Configure a credential helper to remove this warning. See [2023-03-29T19:51:12.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:51:12.129Z] [2023-03-29T19:51:12.129Z] Login Succeeded [2023-03-29T19:51:12.129Z] nexus3.edgexfoundry.org:10004 [2023-03-29T19:51:12.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:51:12.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:51:12.400Z] Configure a credential helper to remove this warning. See [2023-03-29T19:51:12.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:51:12.400Z] [2023-03-29T19:51:12.400Z] Login Succeeded [2023-03-29T19:51:12.400Z] docker.io [2023-03-29T19:51:12.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T19:51:12.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T19:51:12.938Z] Configure a credential helper to remove this warning. See [2023-03-29T19:51:12.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T19:51:12.938Z] [2023-03-29T19:51:12.938Z] Login Succeeded [2023-03-29T19:51:12.938Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T19:51:12.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T19:51:13.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T19:51:13.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T19:51:13.283Z] ========================================================= [2023-03-29T19:51:13.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T19:51:13.283Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:51:13.642Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-29T19:51:14.232Z] Sending build context to Docker daemon 19.71MB [2023-03-29T19:51:14.232Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T19:51:14.232Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-29T19:51:14.232Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T19:51:14.232Z] af6eaf76a39c: Pulling fs layer [2023-03-29T19:51:14.232Z] 55522c791124: Pulling fs layer [2023-03-29T19:51:14.232Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T19:51:14.232Z] 169dfbe0d373: Pulling fs layer [2023-03-29T19:51:14.232Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T19:51:14.232Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T19:51:14.232Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T19:51:14.232Z] 52ebb69f0ebf: Waiting [2023-03-29T19:51:14.232Z] 169dfbe0d373: Waiting [2023-03-29T19:51:14.232Z] e1ff8fa3b103: Waiting [2023-03-29T19:51:14.232Z] 5abe8eddf0d5: Waiting [2023-03-29T19:51:14.509Z] 55522c791124: Download complete [2023-03-29T19:51:14.510Z] 169dfbe0d373: Verifying Checksum [2023-03-29T19:51:14.510Z] 169dfbe0d373: Download complete [2023-03-29T19:51:14.510Z] e1ff8fa3b103: Verifying Checksum [2023-03-29T19:51:14.510Z] e1ff8fa3b103: Download complete [2023-03-29T19:51:14.510Z] af6eaf76a39c: Verifying Checksum [2023-03-29T19:51:14.510Z] af6eaf76a39c: Download complete [2023-03-29T19:51:15.491Z] af6eaf76a39c: Pull complete [2023-03-29T19:51:15.867Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T19:51:15.867Z] 5abe8eddf0d5: Download complete [2023-03-29T19:51:16.145Z] 55522c791124: Pull complete [2023-03-29T19:51:17.120Z] ce5c4a1c91eb: Download complete [2023-03-29T19:51:17.120Z] 52ebb69f0ebf: Verifying Checksum [2023-03-29T19:51:17.120Z] 52ebb69f0ebf: Download complete [2023-03-29T19:51:29.454Z] ce5c4a1c91eb: Pull complete [2023-03-29T19:51:29.454Z] 169dfbe0d373: Pull complete [2023-03-29T19:51:29.454Z] e1ff8fa3b103: Pull complete [2023-03-29T19:51:34.872Z] 52ebb69f0ebf: Pull complete [2023-03-29T19:51:38.239Z] 5abe8eddf0d5: Pull complete [2023-03-29T19:51:38.239Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T19:51:38.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T19:51:38.239Z] ---> 6cb57ee374ae [2023-03-29T19:51:38.239Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-29T19:51:39.659Z] ---> Running in 8872c46ac0e0 [2023-03-29T19:51:40.250Z] Removing intermediate container 8872c46ac0e0 [2023-03-29T19:51:40.250Z] ---> c42083e011c2 [2023-03-29T19:51:40.250Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T19:51:40.250Z] ---> Running in de53bef1ab79 [2023-03-29T19:51:40.521Z] Removing intermediate container de53bef1ab79 [2023-03-29T19:51:40.521Z] ---> baf754e219db [2023-03-29T19:51:40.521Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-29T19:51:40.789Z] ---> Running in e549cd25b1e9 [2023-03-29T19:51:41.058Z] Removing intermediate container e549cd25b1e9 [2023-03-29T19:51:41.058Z] ---> a72ac5af0d3b [2023-03-29T19:51:41.058Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T19:51:41.327Z] ---> Running in 08f69aa99be1 [2023-03-29T19:51:41.598Z] Removing intermediate container 08f69aa99be1 [2023-03-29T19:51:41.598Z] ---> ff1426af3477 [2023-03-29T19:51:41.598Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-29T19:51:41.598Z] ---> Running in a8080e3ec4fe [2023-03-29T19:51:41.868Z] Removing intermediate container a8080e3ec4fe [2023-03-29T19:51:41.868Z] ---> d5b4e4c486bf [2023-03-29T19:51:41.868Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T19:51:42.137Z] ---> Running in 11d5999bcd88 [2023-03-29T19:51:43.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T19:51:44.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T19:51:45.110Z] OK: 263 MiB in 53 packages [2023-03-29T19:51:46.079Z] Removing intermediate container 11d5999bcd88 [2023-03-29T19:51:46.079Z] ---> 4776e35ed18f [2023-03-29T19:51:46.079Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-29T19:51:46.350Z] ---> Running in f9ddb155b1ec [2023-03-29T19:51:46.622Z] Removing intermediate container f9ddb155b1ec [2023-03-29T19:51:46.622Z] ---> c6003be5b1c3 [2023-03-29T19:51:46.622Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-29T19:51:47.219Z] ---> c2a51dce91ea [2023-03-29T19:51:47.219Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T19:51:47.219Z] ---> Running in 8fa5efd5bd28 [2023-03-29T19:52:55.197Z] Removing intermediate container 8fa5efd5bd28 [2023-03-29T19:52:55.197Z] ---> e0a08d268de2 [2023-03-29T19:52:55.197Z] Step 12/13 : COPY . . [2023-03-29T19:52:55.197Z] ---> 9ec9de783eab [2023-03-29T19:52:55.197Z] Step 13/13 : RUN ${MAKE} [2023-03-29T19:52:55.197Z] ---> Running in 1b1cc1d7e5bb [2023-03-29T19:52:55.197Z] noop [2023-03-29T19:52:57.152Z] Removing intermediate container 1b1cc1d7e5bb [2023-03-29T19:52:57.152Z] ---> fbabba4c546c [2023-03-29T19:52:57.423Z] Successfully built fbabba4c546c [2023-03-29T19:52:57.423Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:52:57.782Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T19:52:57.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T19:52:58.013Z] prd-ubuntu20.04-docker-arm64-4c-16g-6242 does not seem to be running inside a container [2023-03-29T19:52:58.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T19:52:59.381Z] $ docker top 0408c3668bf04b74310c33ed1407d7c6d727f94677d9340b465e5174c5aab8b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T19:53:00.242Z] + go version [2023-03-29T19:53:00.242Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T19:53:00.265Z] $ docker stop --time=1 0408c3668bf04b74310c33ed1407d7c6d727f94677d9340b465e5174c5aab8b6 [2023-03-29T19:53:01.919Z] $ docker rm -f --volumes 0408c3668bf04b74310c33ed1407d7c6d727f94677d9340b465e5174c5aab8b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:53:02.463Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T19:53:02.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T19:53:02.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-6242 does not seem to be running inside a container [2023-03-29T19:53:02.738Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T19:53:04.075Z] $ docker top cb54f3db80e9d6a3d294bf69b0aa808401c714e3bbb00c4763917802c68a8901 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T19:53:04.967Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-29T19:53:05.637Z] + make test [2023-03-29T19:53:05.637Z] go test ./... -coverprofile=coverage.out ./... [2023-03-29T19:53:44.578Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-29T19:56:36.382Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-29T19:56:36.382Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-29T19:56:36.382Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 31.7% of statements [2023-03-29T19:56:58.499Z] --- FAIL: TestIpGenerator (0.00s) [2023-03-29T19:56:58.499Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.05s) [2023-03-29T19:56:58.499Z] util_test.go:180: [2023-03-29T19:56:58.499Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 [2023-03-29T19:56:58.499Z] Error: Not equal: [2023-03-29T19:56:58.499Z] expected: 0xfffffe [2023-03-29T19:56:58.499Z] actual : 0xed8b07 [2023-03-29T19:56:58.499Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-29T19:56:58.499Z] util_test.go:183: [2023-03-29T19:56:58.499Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 [2023-03-29T19:56:58.499Z] Error: Not equal: [2023-03-29T19:56:58.499Z] expected: "10.255.255.254" [2023-03-29T19:56:58.499Z] actual : "10.237.139.7" [2023-03-29T19:56:58.499Z] [2023-03-29T19:56:58.499Z] Diff: [2023-03-29T19:56:58.499Z] --- Expected [2023-03-29T19:56:58.499Z] +++ Actual [2023-03-29T19:56:58.499Z] @@ -1 +1 @@ [2023-03-29T19:56:58.499Z] -10.255.255.254 [2023-03-29T19:56:58.499Z] +10.237.139.7 [2023-03-29T19:56:58.499Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-29T19:56:58.499Z] FAIL [2023-03-29T19:56:58.499Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-03-29T19:56:58.499Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.287s [2023-03-29T19:56:58.499Z] FAIL [2023-03-29T19:56:59.087Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-29T19:56:59.111Z] $ docker stop --time=1 cb54f3db80e9d6a3d294bf69b0aa808401c714e3bbb00c4763917802c68a8901 [2023-03-29T19:57:01.108Z] $ docker rm -f --volumes cb54f3db80e9d6a3d294bf69b0aa808401c714e3bbb00c4763917802c68a8901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:57:02.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T19:57:02.574Z] [2023-03-29T19:57:02.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:57:02.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T19:57:03.191Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T19:57:03.191Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T19:57:03.191Z] 04944245beec: Pulling fs layer [2023-03-29T19:57:03.191Z] 699f458cf7ca: Pulling fs layer [2023-03-29T19:57:03.192Z] 765212b225bb: Pulling fs layer [2023-03-29T19:57:03.192Z] f23df028b6ca: Pulling fs layer [2023-03-29T19:57:03.192Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T19:57:03.192Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T19:57:03.192Z] f23df028b6ca: Waiting [2023-03-29T19:57:03.192Z] d65c8cfc05b1: Waiting [2023-03-29T19:57:03.192Z] 2437ff75d9bd: Waiting [2023-03-29T19:57:03.192Z] 765212b225bb: Waiting [2023-03-29T19:57:03.192Z] 04944245beec: Verifying Checksum [2023-03-29T19:57:03.192Z] 04944245beec: Download complete [2023-03-29T19:57:03.192Z] 765212b225bb: Verifying Checksum [2023-03-29T19:57:03.192Z] 765212b225bb: Download complete [2023-03-29T19:57:03.469Z] f23df028b6ca: Download complete [2023-03-29T19:57:03.469Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T19:57:03.469Z] d65c8cfc05b1: Download complete [2023-03-29T19:57:03.469Z] 699f458cf7ca: Verifying Checksum [2023-03-29T19:57:03.469Z] 699f458cf7ca: Download complete [2023-03-29T19:57:04.068Z] 8998bd30e6a1: Verifying Checksum [2023-03-29T19:57:04.068Z] 8998bd30e6a1: Download complete [2023-03-29T19:57:06.670Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T19:57:06.670Z] 2437ff75d9bd: Download complete [2023-03-29T19:57:08.108Z] 8998bd30e6a1: Pull complete [2023-03-29T19:57:08.701Z] 04944245beec: Pull complete [2023-03-29T19:57:10.123Z] 699f458cf7ca: Pull complete [2023-03-29T19:57:10.394Z] 765212b225bb: Pull complete [2023-03-29T19:57:11.367Z] f23df028b6ca: Pull complete [2023-03-29T19:57:11.367Z] d65c8cfc05b1: Pull complete [2023-03-29T19:57:29.644Z] 2437ff75d9bd: Pull complete [2023-03-29T19:57:29.644Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T19:57:29.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T19:57:29.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T19:57:29.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-6242 does not seem to be running inside a container [2023-03-29T19:57:29.930Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-29T19:57:36.243Z] $ docker top 7bf89660de0f8f94c0cd8c1bef51f252f233bd79b21965dca844457e8c541b60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:57:37.108Z] ---> job-cost.sh [2023-03-29T19:57:37.108Z] lf-activate-venv: SKIPPING [2023-03-29T19:57:37.108Z] INFO: No Stack... [2023-03-29T19:57:37.376Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T19:57:38.337Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T19:57:38.984Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-03-29T19:57:38.985Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T19:57:39.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [2023-03-29T19:57:39.058Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] did not exist. Created. [2023-03-29T19:57:39.058Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T19:57:39.723Z] /w/workspace/device-onvif-camera/2@tmp/durable-44a0c4e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T19:57:40.385Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T19:57:40.408Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T19:57:40.893Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T19:57:40.904Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-294-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T19:57:40.926Z] $ docker stop --time=1 7bf89660de0f8f94c0cd8c1bef51f252f233bd79b21965dca844457e8c541b60 [2023-03-29T19:57:42.534Z] $ docker rm -f --volumes 7bf89660de0f8f94c0cd8c1bef51f252f233bd79b21965dca844457e8c541b60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T19:57:42.831Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-29T19:57:43.462Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-294/archives ] [2023-03-29T19:57:43.463Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-294/archives [2023-03-29T19:57:43.463Z] total 16 [2023-03-29T19:57:43.463Z] drwxr-xr-x 3 root root 4096 Mar 29 19:50 . [2023-03-29T19:57:43.463Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 19:50 .. [2023-03-29T19:57:43.463Z] drwxr-xr-x 2 root root 4096 Mar 29 19:50 cost [2023-03-29T19:57:43.463Z] -rw-r--r-- 1 root root 91 Mar 29 19:50 cost.csv [2023-03-29T19:57:43.463Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-294/archives [2023-03-29T19:57:43.463Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-294/archives [2023-03-29T19:57:43.463Z] total 16 [2023-03-29T19:57:43.463Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:50 . [2023-03-29T19:57:43.463Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 19:50 .. [2023-03-29T19:57:43.463Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 19:50 cost [2023-03-29T19:57:43.463Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 29 19:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:57:43.747Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:57:44.598Z] ---> package-listing.sh [2023-03-29T19:57:44.598Z] ++ facter osfamily [2023-03-29T19:57:44.598Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T19:57:44.856Z] + OS_FAMILY=debian [2023-03-29T19:57:44.856Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-294 [2023-03-29T19:57:44.856Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T19:57:44.856Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T19:57:44.856Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T19:57:44.856Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T19:57:44.856Z] + '[' /w/workspace/undry_device-onvif-camera_PR-294 ']' [2023-03-29T19:57:44.856Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T19:57:44.856Z] + case "${OS_FAMILY}" in [2023-03-29T19:57:44.856Z] + dpkg -l [2023-03-29T19:57:44.856Z] + grep '^ii' [2023-03-29T19:57:44.856Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T19:57:44.856Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T19:57:44.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T19:57:44.856Z] + '[' /w/workspace/undry_device-onvif-camera_PR-294 ']' [2023-03-29T19:57:44.856Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-294/archives/ [2023-03-29T19:57:44.856Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-294/archives/ [Pipeline] echo [2023-03-29T19:57:44.865Z] 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-294/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-29T19:57:45.141Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T19:57:45.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T19:57:45.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T19:57:45.770Z] prd-ubuntu20.04-docker-8c-8g-6238 does not seem to be running inside a container [2023-03-29T19:57:45.805Z] $ 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-294/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-294 -v /w/workspace/undry_device-onvif-camera_PR-294:/w/workspace/undry_device-onvif-camera_PR-294:rw,z -v /w/workspace/undry_device-onvif-camera_PR-294@tmp:/w/workspace/undry_device-onvif-camera_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T19:57:46.031Z] $ docker top f42837a64a5c1311e0a794dccfe4d17e8d6d6d0d9a0d296c8b9f617928659b6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T19:57:46.387Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T19:57:46.677Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T19:57:46.966Z] + ls /var/log/sa-host [2023-03-29T19:57:46.966Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T19:57:47.031Z] provisioning config files... [2023-03-29T19:57:47.041Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-294@tmp/config10579262998280835710tmp [Pipeline] { [Pipeline] echo [2023-03-29T19:57:47.054Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:57:47.338Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T19:57:47.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:57:47.669Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T19:57:47.678Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:57:47.965Z] ---> sudo-logs.sh [2023-03-29T19:57:47.965Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T19:57:47.996Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:57:48.285Z] ---> job-cost.sh [2023-03-29T19:57:48.285Z] lf-activate-venv: SKIPPING [2023-03-29T19:57:48.285Z] DEBUG: total: 0.2199999988079071 [2023-03-29T19:57:48.285Z] INFO: Retrieving Stack Cost... [2023-03-29T19:57:48.854Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T19:57:49.113Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T19:57:49.126Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T19:57:49.416Z] ---> logs-deploy.sh [2023-03-29T19:57:49.416Z] lf-activate-venv: SKIPPING [2023-03-29T19:57:49.416Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-294/2 [2023-03-29T19:57:49.416Z] INFO: archiving workspace using pattern(s): [2023-03-29T19:57:50.358Z] Archives upload complete. [2023-03-29T19:57:50.619Z] INFO: archiving logs to Nexus