Pull request #397 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 193f07f49c2517fd808963ea0bf9b2b60ec91e35+f9aa1e7837344c75d2a4d485c1648989cda54cfb (01c493ebd7c63993249505968ce42fb79da10cbe) 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-ssh460038400085853780.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14440620674603566413.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14651181361915112523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh629222933949482256.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7689464551000903993.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9178867862443012608.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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/v3]] ========================================================= [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.21 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/v3 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 Executor slot already in use ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-9982’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9990’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9992’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9992 in /w/workspace/undry_device-onvif-camera_PR-397 [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-397 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f9aa1e7837344c75d2a4d485c1648989cda54cfb into PR head commit 193f07f49c2517fd808963ea0bf9b2b60ec91e35 Merge succeeded, producing 193f07f49c2517fd808963ea0bf9b2b60ec91e35 Checking out Revision 193f07f49c2517fd808963ea0bf9b2b60ec91e35 (PR-397) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > 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/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 193f07f49c2517fd808963ea0bf9b2b60ec91e35 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f9aa1e7837344c75d2a4d485c1648989cda54cfb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 193f07f49c2517fd808963ea0bf9b2b60ec91e35 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T18:11:12.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T18:11:13.005Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T18:11:13.107Z] ========================================================= [2023-10-24T18:11:13.107Z] EdgeX Global Pipelines Version Info [2023-10-24T18:11:13.107Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:11:13.853Z] ------------------- [2023-10-24T18:11:13.853Z] stable info: [2023-10-24T18:11:13.853Z] ------------------- [2023-10-24T18:11:13.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T18:11:13.853Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:11:13.853Z] Message: update stable to v1.0.254 [2023-10-24T18:11:14.789Z] ------------------- [2023-10-24T18:11:14.789Z] experimental info: [2023-10-24T18:11:14.789Z] ------------------- [2023-10-24T18:11:14.789Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T18:11:14.789Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:11:14.789Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T18:11:15.063Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-10-24T18:11:15.109Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-10-24T18:11:15.153Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T18:11:15.196Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T18:11:15.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T18:11:15.284Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T18:11:15.324Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T18:11:15.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T18:11:15.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T18:11:15.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T18:11:15.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T18:11:15.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-10-24T18:11:15.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T18:11:15.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T18:11:15.667Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:11:15.710Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:11:15.764Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:11:15.810Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:11:15.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T18:11:15.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T18:11:15.938Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-24T18:11:15.981Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-10-24T18:11:16.020Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T18:11:16.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T18:11:16.108Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T18:11:16.155Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T18:11:16.208Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T18:11:16.262Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo [2023-10-24T18:11:16.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo [2023-10-24T18:11:16.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo [2023-10-24T18:11:16.400Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 193f07f49c2517fd808963ea0bf9b2b60ec91e35 [Pipeline] echo [2023-10-24T18:11:16.447Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 193f07f [Pipeline] echo [2023-10-24T18:11:16.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:11:16.609Z] provisioning config files... [2023-10-24T18:11:16.622Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-397@tmp/config15044852195946051913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:11:17.544Z] ---> docker-login.sh [2023-10-24T18:11:17.544Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:11:17.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:17.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:17.803Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:17.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:17.803Z] [2023-10-24T18:11:17.803Z] Login Succeeded [2023-10-24T18:11:17.803Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:11:17.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:17.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:17.803Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:17.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:17.803Z] [2023-10-24T18:11:17.803Z] Login Succeeded [2023-10-24T18:11:17.803Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:11:18.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:18.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:18.064Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:18.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:18.064Z] [2023-10-24T18:11:18.064Z] Login Succeeded [2023-10-24T18:11:18.064Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:11:18.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:18.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:18.064Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:18.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:18.064Z] [2023-10-24T18:11:18.064Z] Login Succeeded [2023-10-24T18:11:18.064Z] docker.io [2023-10-24T18:11:18.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:18.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:18.333Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:18.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:18.333Z] [2023-10-24T18:11:18.333Z] Login Succeeded [2023-10-24T18:11:18.333Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:11:18.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T18:11:21.974Z] + git rev-list -1 --merges 193f07f49c2517fd808963ea0bf9b2b60ec91e35~1..193f07f49c2517fd808963ea0bf9b2b60ec91e35 [Pipeline] echo [2023-10-24T18:11:22.040Z] -----------> git rev-list -1 --merges 193f07f49c2517fd808963ea0bf9b2b60ec91e35~1..193f07f49c2517fd808963ea0bf9b2b60ec91e35 193f07f49c2517fd808963ea0bf9b2b60ec91e35 [false] [Pipeline] sh [2023-10-24T18:11:22.367Z] + git log --format=format:%s -1 193f07f49c2517fd808963ea0bf9b2b60ec91e35 [Pipeline] echo [2023-10-24T18:11:22.409Z] ========================================================= [2023-10-24T18:11:22.409Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T18:11:22.409Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:11:22.850Z] + git log --format=format:%s -1 193f07f49c2517fd808963ea0bf9b2b60ec91e35 [Pipeline] echo [2023-10-24T18:11:22.880Z] [semverPrep] GIT_COMMIT: 193f07f49c2517fd808963ea0bf9b2b60ec91e35, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-24T18:11:22.914Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T18:11:23.327Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:11:23.327Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T18:11:23.327Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T18:11:23.327Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T18:11:23.327Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T18:11:23.327Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T18:11:23.327Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:11:23.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:11:23.769Z] [2023-10-24T18:11:23.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:11:24.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:11:24.153Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T18:11:24.153Z] b85a868b505f: Pulling fs layer [2023-10-24T18:11:24.153Z] e2be974225ed: Pulling fs layer [2023-10-24T18:11:24.153Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T18:11:24.153Z] 988bab9f4d93: Pulling fs layer [2023-10-24T18:11:24.153Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T18:11:24.153Z] eaf3925da568: Pulling fs layer [2023-10-24T18:11:24.153Z] bab4dde63d76: Pulling fs layer [2023-10-24T18:11:24.153Z] bde34c3a00c8: Pulling fs layer [2023-10-24T18:11:24.153Z] b352a97aabf1: Pulling fs layer [2023-10-24T18:11:24.153Z] 4872d77fe225: Pulling fs layer [2023-10-24T18:11:24.153Z] 988bab9f4d93: Waiting [2023-10-24T18:11:24.153Z] 5851b861e8e6: Pulling fs layer [2023-10-24T18:11:24.153Z] bab4dde63d76: Waiting [2023-10-24T18:11:24.153Z] bde34c3a00c8: Waiting [2023-10-24T18:11:24.153Z] b352a97aabf1: Waiting [2023-10-24T18:11:24.153Z] 4872d77fe225: Waiting [2023-10-24T18:11:24.153Z] 5851b861e8e6: Waiting [2023-10-24T18:11:24.153Z] 1469e6f7b9e6: Waiting [2023-10-24T18:11:24.153Z] eaf3925da568: Waiting [2023-10-24T18:11:24.153Z] e2be974225ed: Download complete [2023-10-24T18:11:24.153Z] 988bab9f4d93: Verifying Checksum [2023-10-24T18:11:24.153Z] 988bab9f4d93: Download complete [2023-10-24T18:11:24.413Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T18:11:24.413Z] 1469e6f7b9e6: Download complete [2023-10-24T18:11:24.413Z] eaf3925da568: Verifying Checksum [2023-10-24T18:11:24.413Z] eaf3925da568: Download complete [2023-10-24T18:11:24.413Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T18:11:24.413Z] 339a4e72a1f5: Download complete [2023-10-24T18:11:24.413Z] bde34c3a00c8: Verifying Checksum [2023-10-24T18:11:24.413Z] bde34c3a00c8: Download complete [2023-10-24T18:11:24.413Z] b352a97aabf1: Download complete [2023-10-24T18:11:24.413Z] 4872d77fe225: Verifying Checksum [2023-10-24T18:11:24.413Z] 4872d77fe225: Download complete [2023-10-24T18:11:24.413Z] 5851b861e8e6: Verifying Checksum [2023-10-24T18:11:24.413Z] 5851b861e8e6: Download complete [2023-10-24T18:11:24.413Z] b85a868b505f: Verifying Checksum [2023-10-24T18:11:24.413Z] b85a868b505f: Download complete [2023-10-24T18:11:24.672Z] bab4dde63d76: Verifying Checksum [2023-10-24T18:11:24.672Z] bab4dde63d76: Download complete [2023-10-24T18:11:26.060Z] b85a868b505f: Pull complete [2023-10-24T18:11:26.060Z] e2be974225ed: Pull complete [2023-10-24T18:11:26.629Z] 339a4e72a1f5: Pull complete [2023-10-24T18:11:26.629Z] 988bab9f4d93: Pull complete [2023-10-24T18:11:26.889Z] 1469e6f7b9e6: Pull complete [2023-10-24T18:11:26.889Z] eaf3925da568: Pull complete [2023-10-24T18:11:28.790Z] bab4dde63d76: Pull complete [2023-10-24T18:11:28.790Z] bde34c3a00c8: Pull complete [2023-10-24T18:11:29.050Z] b352a97aabf1: Pull complete [2023-10-24T18:11:29.050Z] 4872d77fe225: Pull complete [2023-10-24T18:11:29.050Z] 5851b861e8e6: Pull complete [2023-10-24T18:11:29.050Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T18:11:29.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:11:29.050Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:11:29.290Z] prd-ubuntu20.04-docker-8c-8g-9992 does not seem to be running inside a container [2023-10-24T18:11:30.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-397 -v /w/workspace/undry_device-onvif-camera_PR-397:/w/workspace/undry_device-onvif-camera_PR-397:rw,z -v /w/workspace/undry_device-onvif-camera_PR-397@tmp:/w/workspace/undry_device-onvif-camera_PR-397@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T18:11:33.041Z] $ docker top 3ea4fe1ccce8c94cba3435aed9b53e3f605d4c52468f652dcdf0ccc89276e0ec -eo pid,comm [2023-10-24T18:11:31.983Z] 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-10-24T18:11:31.983Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:11:32.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:11:32.106Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:11:32.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:11:33.344Z] $ docker exec 3ea4fe1ccce8c94cba3435aed9b53e3f605d4c52468f652dcdf0ccc89276e0ec ssh-agent [2023-10-24T18:11:32.355Z] SSH_AUTH_SOCK=/tmp/ssh-9cKuZjCnwYla/agent.32 [2023-10-24T18:11:32.355Z] SSH_AGENT_PID=39 [2023-10-24T18:11:32.361Z] Running ssh-add (command line suppressed) [2023-10-24T18:11:33.592Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-397@tmp/private_key_3154848961616068663.key (/w/workspace/undry_device-onvif-camera_PR-397@tmp/private_key_3154848961616068663.key) [2023-10-24T18:11:32.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:11:32.826Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T18:11:33.971Z] $ docker exec --env ******** --env ******** 3ea4fe1ccce8c94cba3435aed9b53e3f605d4c52468f652dcdf0ccc89276e0ec ssh-agent -k [2023-10-24T18:11:34.074Z] unset SSH_AUTH_SOCK; [2023-10-24T18:11:34.074Z] unset SSH_AGENT_PID; [2023-10-24T18:11:34.074Z] echo Agent pid 39 killed; [2023-10-24T18:11:32.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T18:11:33.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:11:33.062Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:11:33.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:11:34.306Z] $ docker exec 3ea4fe1ccce8c94cba3435aed9b53e3f605d4c52468f652dcdf0ccc89276e0ec ssh-agent [2023-10-24T18:11:33.305Z] SSH_AUTH_SOCK=/tmp/ssh-vAEP8Rq8ZiRN/agent.71 [2023-10-24T18:11:33.305Z] SSH_AGENT_PID=77 [2023-10-24T18:11:33.309Z] Running ssh-add (command line suppressed) [2023-10-24T18:11:34.522Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-397@tmp/private_key_14345313686091916765.key (/w/workspace/undry_device-onvif-camera_PR-397@tmp/private_key_14345313686091916765.key) [2023-10-24T18:11:33.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:11:33.748Z] + git semver init [2023-10-24T18:11:34.008Z] 2023-10-24 18:11:35,076 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T18:11:34.008Z] 2023-10-24 18:11:35,077 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-397/.semver [2023-10-24T18:11:34.008Z] 2023-10-24 18:11:35,078 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-397/.semver [2023-10-24T18:11:34.008Z] 2023-10-24 18:11:35,078 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-397/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-397, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:11:35.391Z] 2023-10-24 18:11:36,101 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-397/.git/info/exclude [2023-10-24T18:11:35.391Z] 2023-10-24 18:11:36,101 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-397/.semver/PR-397 with force:False [2023-10-24T18:11:35.391Z] 2023-10-24 18:11:36,101 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-397/.semver/PR-397 [2023-10-24T18:11:35.391Z] 2023-10-24 18:11:36,107 [execute] INFO git cat-file --batch-check [2023-10-24T18:11:35.391Z] 2023-10-24 18:11:36,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-397/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:11:35.391Z] 2023-10-24 18:11:36,114 [execute] INFO git cat-file --batch [2023-10-24T18:11:35.391Z] 2023-10-24 18:11:36,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-397/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:11:35.391Z] 2023-10-24 18:11:36,120 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-397/.semver/PR-397 [2023-10-24T18:11:35.391Z] 0.0.0 [Pipeline] } [2023-10-24T18:11:36.531Z] $ docker exec --env ******** --env ******** 3ea4fe1ccce8c94cba3435aed9b53e3f605d4c52468f652dcdf0ccc89276e0ec ssh-agent -k [2023-10-24T18:11:36.641Z] unset SSH_AUTH_SOCK; [2023-10-24T18:11:36.642Z] unset SSH_AGENT_PID; [2023-10-24T18:11:36.642Z] echo Agent pid 77 killed; [2023-10-24T18:11:35.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:11:35.958Z] + git semver [Pipeline] } [2023-10-24T18:11:37.359Z] $ docker stop --time=1 3ea4fe1ccce8c94cba3435aed9b53e3f605d4c52468f652dcdf0ccc89276e0ec [2023-10-24T18:11:38.660Z] $ docker rm -f --volumes 3ea4fe1ccce8c94cba3435aed9b53e3f605d4c52468f652dcdf0ccc89276e0ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:11:37.980Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T18:11:38.263Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T18:11:38.283Z] [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-10-24T18:11:38.908Z] provisioning config files... [2023-10-24T18:11:38.919Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-397@tmp/config11078680291248761295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:11:39.267Z] ---> docker-login.sh [2023-10-24T18:11:39.267Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:11:39.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:39.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:39.267Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:39.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:39.267Z] [2023-10-24T18:11:39.267Z] Login Succeeded [2023-10-24T18:11:39.267Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:11:39.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:39.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:39.527Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:39.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:39.527Z] [2023-10-24T18:11:39.527Z] Login Succeeded [2023-10-24T18:11:39.527Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:11:39.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:39.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:39.527Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:39.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:39.527Z] [2023-10-24T18:11:39.527Z] Login Succeeded [2023-10-24T18:11:39.527Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:11:39.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:39.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:39.785Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:39.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:39.785Z] [2023-10-24T18:11:39.785Z] Login Succeeded [2023-10-24T18:11:39.785Z] docker.io [2023-10-24T18:11:39.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:40.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:40.046Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:40.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:40.046Z] [2023-10-24T18:11:40.046Z] Login Succeeded [2023-10-24T18:11:40.046Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:11:40.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:11:40.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:11:40.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:11:40.366Z] ========================================================= [2023-10-24T18:11:40.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T18:11:40.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:11:40.865Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T18:11:40.866Z] Sending build context to Docker daemon 21.65MB [2023-10-24T18:11:40.866Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:11:40.866Z] Step 2/13 : FROM ${BASE} AS builder [2023-10-24T18:11:40.866Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T18:11:40.866Z] 7264a8db6415: Pulling fs layer [2023-10-24T18:11:40.866Z] c4d48a809fc2: Pulling fs layer [2023-10-24T18:11:40.866Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T18:11:40.866Z] ad3a456e5733: Pulling fs layer [2023-10-24T18:11:40.866Z] 33e27b845d1e: Pulling fs layer [2023-10-24T18:11:40.866Z] c68163c4e522: Pulling fs layer [2023-10-24T18:11:40.866Z] 50da416c3ac9: Pulling fs layer [2023-10-24T18:11:40.866Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T18:11:40.866Z] ad3a456e5733: Waiting [2023-10-24T18:11:40.866Z] c68163c4e522: Waiting [2023-10-24T18:11:40.866Z] 50da416c3ac9: Waiting [2023-10-24T18:11:40.866Z] 33e27b845d1e: Waiting [2023-10-24T18:11:40.866Z] 23d2d4c4bb30: Waiting [2023-10-24T18:11:41.126Z] c4d48a809fc2: Verifying Checksum [2023-10-24T18:11:41.126Z] c4d48a809fc2: Download complete [2023-10-24T18:11:41.126Z] ad3a456e5733: Verifying Checksum [2023-10-24T18:11:41.126Z] ad3a456e5733: Download complete [2023-10-24T18:11:41.126Z] 33e27b845d1e: Verifying Checksum [2023-10-24T18:11:41.126Z] 33e27b845d1e: Download complete [2023-10-24T18:11:41.126Z] 7264a8db6415: Verifying Checksum [2023-10-24T18:11:41.126Z] 7264a8db6415: Download complete [2023-10-24T18:11:41.126Z] c68163c4e522: Verifying Checksum [2023-10-24T18:11:41.126Z] c68163c4e522: Download complete [2023-10-24T18:11:41.386Z] 7264a8db6415: Pull complete [2023-10-24T18:11:41.386Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T18:11:41.386Z] 23d2d4c4bb30: Download complete [2023-10-24T18:11:41.386Z] c4d48a809fc2: Pull complete [2023-10-24T18:11:41.386Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T18:11:41.386Z] 4f1c88b9dad5: Download complete [2023-10-24T18:11:41.953Z] 50da416c3ac9: Verifying Checksum [2023-10-24T18:11:41.953Z] 50da416c3ac9: Download complete [2023-10-24T18:11:45.239Z] 4f1c88b9dad5: Pull complete [2023-10-24T18:11:45.240Z] ad3a456e5733: Pull complete [2023-10-24T18:11:45.240Z] 33e27b845d1e: Pull complete [2023-10-24T18:11:45.240Z] c68163c4e522: Pull complete [2023-10-24T18:11:47.778Z] 50da416c3ac9: Pull complete [2023-10-24T18:11:48.346Z] 23d2d4c4bb30: Pull complete [2023-10-24T18:11:48.346Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T18:11:48.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T18:11:48.346Z] ---> 0786185ac409 [2023-10-24T18:11:48.346Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:11:51.651Z] ---> Running in 999ef4ccece7 [2023-10-24T18:11:51.651Z] Removing intermediate container 999ef4ccece7 [2023-10-24T18:11:51.651Z] ---> 94142068e48a [2023-10-24T18:11:51.651Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:11:51.651Z] ---> Running in fe7e840d54ff [2023-10-24T18:11:51.651Z] Removing intermediate container fe7e840d54ff [2023-10-24T18:11:51.651Z] ---> 9175f7b0724c [2023-10-24T18:11:51.651Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T18:11:51.651Z] ---> Running in 495d9ceb63dc [2023-10-24T18:11:51.651Z] Removing intermediate container 495d9ceb63dc [2023-10-24T18:11:51.651Z] ---> b9c30e264a57 [2023-10-24T18:11:51.651Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:11:51.651Z] ---> Running in cf80c79b331b [2023-10-24T18:11:51.651Z] Removing intermediate container cf80c79b331b [2023-10-24T18:11:51.651Z] ---> d516099fbeaa [2023-10-24T18:11:51.651Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-10-24T18:11:51.651Z] ---> Running in 0df5973cf7a5 [2023-10-24T18:11:51.909Z] Removing intermediate container 0df5973cf7a5 [2023-10-24T18:11:51.909Z] ---> 080492860725 [2023-10-24T18:11:51.909Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:11:51.909Z] ---> Running in 8c947a1b0a9d [2023-10-24T18:11:52.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:11:52.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:11:52.427Z] OK: 264 MiB in 52 packages [2023-10-24T18:11:52.686Z] Removing intermediate container 8c947a1b0a9d [2023-10-24T18:11:52.686Z] ---> 8f8403f0396b [2023-10-24T18:11:52.686Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-10-24T18:11:52.944Z] ---> Running in 43ed1772bcec [2023-10-24T18:11:52.944Z] Removing intermediate container 43ed1772bcec [2023-10-24T18:11:52.944Z] ---> 0f5e53315f75 [2023-10-24T18:11:52.944Z] Step 10/13 : COPY go.mod vendor* ./ [2023-10-24T18:11:52.944Z] ---> 53ea44fb2f22 [2023-10-24T18:11:52.944Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:11:52.944Z] ---> Running in 39f5bcf6eaff [2023-10-24T18:11:53.715Z] Still waiting to schedule task [2023-10-24T18:11:53.715Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9983’ [2023-10-24T18:12:49.929Z] Removing intermediate container 39f5bcf6eaff [2023-10-24T18:12:49.929Z] ---> 5d7b85ccf73c [2023-10-24T18:12:49.929Z] Step 12/13 : COPY . . [2023-10-24T18:12:49.929Z] ---> 55d2d1127e64 [2023-10-24T18:12:49.929Z] Step 13/13 : RUN ${MAKE} [2023-10-24T18:12:49.929Z] ---> Running in 9a29a0ea8d50 [2023-10-24T18:12:49.929Z] noop [2023-10-24T18:12:49.929Z] Removing intermediate container 9a29a0ea8d50 [2023-10-24T18:12:49.929Z] ---> a75943cff816 [2023-10-24T18:12:49.929Z] Successfully built a75943cff816 [2023-10-24T18:12:49.929Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:12:50.378Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:12:50.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:12:50.546Z] prd-ubuntu20.04-docker-8c-8g-9992 does not seem to be running inside a container [2023-10-24T18:12:50.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-397 -v /w/workspace/undry_device-onvif-camera_PR-397:/w/workspace/undry_device-onvif-camera_PR-397:rw,z -v /w/workspace/undry_device-onvif-camera_PR-397@tmp:/w/workspace/undry_device-onvif-camera_PR-397@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 ******** ci-base-image-x86_64 cat [2023-10-24T18:12:51.011Z] $ docker top 1ce9d9a40b0939b816e4e340bc39a8df8bbc96bb18cd6c4acc2da71c11e302f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:12:51.401Z] + go version [2023-10-24T18:12:51.401Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T18:12:51.440Z] $ docker stop --time=1 1ce9d9a40b0939b816e4e340bc39a8df8bbc96bb18cd6c4acc2da71c11e302f7 [2023-10-24T18:12:52.699Z] $ docker rm -f --volumes 1ce9d9a40b0939b816e4e340bc39a8df8bbc96bb18cd6c4acc2da71c11e302f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:12:53.431Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:12:53.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:12:53.580Z] prd-ubuntu20.04-docker-8c-8g-9992 does not seem to be running inside a container [2023-10-24T18:12:53.614Z] $ 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-397 -v /w/workspace/undry_device-onvif-camera_PR-397:/w/workspace/undry_device-onvif-camera_PR-397:rw,z -v /w/workspace/undry_device-onvif-camera_PR-397@tmp:/w/workspace/undry_device-onvif-camera_PR-397@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 ******** ci-base-image-x86_64 cat [2023-10-24T18:12:53.945Z] $ docker top bd17446fdb863cdb1dd67c47d6d269da8bd6e97e2be1f165c689c0a3c432aac5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:12:54.335Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-397 [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:12:54.696Z] + make test [2023-10-24T18:12:54.696Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T18:12:56.073Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-10-24T18:13:07.290Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-10-24T18:13:07.550Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-10-24T18:13:10.080Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.054s coverage: 31.5% of statements [2023-10-24T18:13:10.080Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.130s coverage: 86.5% of statements [2023-10-24T18:13:18.394Z] go vet ./... [2023-10-24T18:13:20.941Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:13:20.941Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:13:20.941Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:13:20.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:13:21.009Z] $ docker stop --time=1 bd17446fdb863cdb1dd67c47d6d269da8bd6e97e2be1f165c689c0a3c432aac5 [2023-10-24T18:13:25.259Z] $ docker rm -f --volumes bd17446fdb863cdb1dd67c47d6d269da8bd6e97e2be1f165c689c0a3c432aac5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:13:25.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:13:25.919Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T18:13:26.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:13:26.839Z] + ls -al . [2023-10-24T18:13:26.839Z] total 236 [2023-10-24T18:13:26.839Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:12 . [2023-10-24T18:13:26.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:11 .. [2023-10-24T18:13:26.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 .git [2023-10-24T18:13:26.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 .github [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 422 Oct 24 18:11 .gitignore [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 18:11 .golangci.yml [2023-10-24T18:13:26.839Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:11 .semver [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 11155 Oct 24 18:11 Attribution.txt [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 15932 Oct 24 18:11 CHANGELOG.md [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 1574 Oct 24 18:11 Dockerfile [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:11 GOVERNANCE.md [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 24 18:11 Jenkinsfile [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 18:11 LICENSE [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 2877 Oct 24 18:11 Makefile [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 18:11 OWNERS.md [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 24 18:11 README.md [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:11 VERSION [2023-10-24T18:13:26.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:11 bin [2023-10-24T18:13:26.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 cmd [2023-10-24T18:13:26.839Z] -rw-r--r-- 1 jenkins jenkins 78456 Oct 24 18:13 coverage.out [2023-10-24T18:13:26.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:11 doc [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 4087 Oct 24 18:11 go.mod [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 35688 Oct 24 18:11 go.sum [2023-10-24T18:13:26.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:11 internal [2023-10-24T18:13:26.839Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 18:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:13:27.251Z] + 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=193f07f49c2517fd808963ea0bf9b2b60ec91e35 --label arch=amd64 --label version=0.0.0 . [2023-10-24T18:13:27.251Z] Sending build context to Docker daemon 21.73MB [2023-10-24T18:13:27.251Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:13:27.251Z] Step 2/26 : FROM ${BASE} AS builder [2023-10-24T18:13:27.251Z] ---> a75943cff816 [2023-10-24T18:13:27.251Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:13:27.820Z] ---> Running in 06ea9ef2c7fd [2023-10-24T18:13:27.820Z] Removing intermediate container 06ea9ef2c7fd [2023-10-24T18:13:27.820Z] ---> cf7b49b94b2f [2023-10-24T18:13:27.820Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:13:27.820Z] ---> Running in 32f90071bf33 [2023-10-24T18:13:27.820Z] Removing intermediate container 32f90071bf33 [2023-10-24T18:13:27.820Z] ---> d568951ed237 [2023-10-24T18:13:27.820Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T18:13:27.820Z] ---> Running in 908565d66a61 [2023-10-24T18:13:27.820Z] Removing intermediate container 908565d66a61 [2023-10-24T18:13:27.820Z] ---> f2ab3c413101 [2023-10-24T18:13:27.820Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:13:27.820Z] ---> Running in da44a2ee3dee [2023-10-24T18:13:28.077Z] Removing intermediate container da44a2ee3dee [2023-10-24T18:13:28.077Z] ---> 608ea122e679 [2023-10-24T18:13:28.077Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-10-24T18:13:28.077Z] ---> Running in d0b13acc7651 [2023-10-24T18:13:28.077Z] Removing intermediate container d0b13acc7651 [2023-10-24T18:13:28.077Z] ---> 2e210c9d48a8 [2023-10-24T18:13:28.077Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:13:28.077Z] ---> Running in 1473232d422a [2023-10-24T18:13:28.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:13:28.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:13:28.596Z] OK: 264 MiB in 52 packages [2023-10-24T18:13:29.161Z] Removing intermediate container 1473232d422a [2023-10-24T18:13:29.161Z] ---> 7a4a3c97a2d9 [2023-10-24T18:13:29.161Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-10-24T18:13:29.161Z] ---> Running in 5cf65827b903 [2023-10-24T18:13:29.161Z] Removing intermediate container 5cf65827b903 [2023-10-24T18:13:29.161Z] ---> 92504e02fd68 [2023-10-24T18:13:29.161Z] Step 10/26 : COPY go.mod vendor* ./ [2023-10-24T18:13:29.161Z] ---> d5c42d32f263 [2023-10-24T18:13:29.161Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:13:29.422Z] ---> Running in 4906b4d07cca [2023-10-24T18:13:29.985Z] Removing intermediate container 4906b4d07cca [2023-10-24T18:13:29.985Z] ---> f4b2a64042b7 [2023-10-24T18:13:29.985Z] Step 12/26 : COPY . . [2023-10-24T18:13:30.922Z] ---> 1606e900a450 [2023-10-24T18:13:30.922Z] Step 13/26 : RUN ${MAKE} [2023-10-24T18:13:30.922Z] ---> Running in 0463a05c82ee [2023-10-24T18:13:31.490Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-10-24T18:13:53.423Z] Removing intermediate container 0463a05c82ee [2023-10-24T18:13:53.423Z] ---> de618e818e58 [2023-10-24T18:13:53.423Z] Step 14/26 : FROM alpine:3.18 [2023-10-24T18:13:53.423Z] 3.18: Pulling from library/alpine [2023-10-24T18:13:53.423Z] 96526aa774ef: Pulling fs layer [2023-10-24T18:13:53.423Z] 96526aa774ef: Verifying Checksum [2023-10-24T18:13:53.423Z] 96526aa774ef: Download complete [2023-10-24T18:13:53.423Z] 96526aa774ef: Pull complete [2023-10-24T18:13:53.423Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:13:53.423Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:13:53.423Z] ---> 8ca4688f4f35 [2023-10-24T18:13:53.423Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-10-24T18:13:53.423Z] ---> Running in e6692c2993fd [2023-10-24T18:13:53.423Z] Removing intermediate container e6692c2993fd [2023-10-24T18:13:53.423Z] ---> bf722d66054f [2023-10-24T18:13:53.423Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-10-24T18:13:53.423Z] ---> Running in 5308d8fd91c2 [2023-10-24T18:13:53.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:13:53.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:13:53.681Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T18:13:53.681Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:13:53.681Z] OK: 7 MiB in 16 packages [2023-10-24T18:13:54.260Z] Removing intermediate container 5308d8fd91c2 [2023-10-24T18:13:54.260Z] ---> 48edd67348d7 [2023-10-24T18:13:54.260Z] Step 17/26 : WORKDIR / [2023-10-24T18:13:54.260Z] ---> Running in 773da36acba6 [2023-10-24T18:13:54.260Z] Removing intermediate container 773da36acba6 [2023-10-24T18:13:54.260Z] ---> aef8aec6f93b [2023-10-24T18:13:54.260Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-10-24T18:13:55.196Z] ---> 4f6c8912930a [2023-10-24T18:13:55.196Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-10-24T18:13:55.196Z] ---> 32a2ec7388c7 [2023-10-24T18:13:55.196Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-10-24T18:13:55.196Z] ---> 1a8f8ea69178 [2023-10-24T18:13:55.196Z] Step 21/26 : EXPOSE 59984 [2023-10-24T18:13:55.196Z] ---> Running in 926d6b12a39a [2023-10-24T18:13:55.481Z] Removing intermediate container 926d6b12a39a [2023-10-24T18:13:55.481Z] ---> 8fad3b409569 [2023-10-24T18:13:55.481Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-10-24T18:13:55.481Z] ---> Running in a93c8820bfee [2023-10-24T18:13:55.481Z] Removing intermediate container a93c8820bfee [2023-10-24T18:13:55.481Z] ---> 8ddee0c048fb [2023-10-24T18:13:55.481Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T18:13:55.481Z] ---> Running in b3b35396d553 [2023-10-24T18:13:55.481Z] Removing intermediate container b3b35396d553 [2023-10-24T18:13:55.481Z] ---> efcc873756d9 [2023-10-24T18:13:55.481Z] Step 24/26 : LABEL arch=amd64 [2023-10-24T18:13:55.743Z] ---> Running in 8f09332f8f94 [2023-10-24T18:13:55.743Z] Removing intermediate container 8f09332f8f94 [2023-10-24T18:13:55.743Z] ---> 2dbf7992cef0 [2023-10-24T18:13:55.743Z] Step 25/26 : LABEL git_sha=193f07f49c2517fd808963ea0bf9b2b60ec91e35 [2023-10-24T18:13:55.743Z] ---> Running in 732db474d407 [2023-10-24T18:13:56.002Z] Removing intermediate container 732db474d407 [2023-10-24T18:13:56.002Z] ---> f2c8522dd880 [2023-10-24T18:13:56.002Z] Step 26/26 : LABEL version=0.0.0 [2023-10-24T18:13:56.002Z] ---> Running in aa6a0865e02e [2023-10-24T18:13:56.263Z] Removing intermediate container aa6a0865e02e [2023-10-24T18:13:56.263Z] ---> 50b0fbdff3e5 [2023-10-24T18:13:56.263Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:13:56.263Z] Successfully built 50b0fbdff3e5 [2023-10-24T18:13:56.263Z] 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-10-24T18:13:57.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:13:57.163Z] [2023-10-24T18:13:57.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:13:57.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:13:57.532Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T18:13:57.532Z] 5eb5b503b376: Pulling fs layer [2023-10-24T18:13:57.532Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T18:13:57.532Z] ec43610c2a17: Pulling fs layer [2023-10-24T18:13:57.532Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T18:13:57.532Z] 33b1e0a273af: Pulling fs layer [2023-10-24T18:13:57.532Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T18:13:57.532Z] 2f39f015ded8: Pulling fs layer [2023-10-24T18:13:57.532Z] 3a2ae6a8a46f: Waiting [2023-10-24T18:13:57.532Z] 33b1e0a273af: Waiting [2023-10-24T18:13:57.532Z] 5d3b04190fa2: Waiting [2023-10-24T18:13:57.532Z] 2f39f015ded8: Waiting [2023-10-24T18:13:57.532Z] 5c69ac0246d0: Download complete [2023-10-24T18:13:57.532Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T18:13:57.532Z] 3a2ae6a8a46f: Download complete [2023-10-24T18:13:57.532Z] 33b1e0a273af: Verifying Checksum [2023-10-24T18:13:57.532Z] 33b1e0a273af: Download complete [2023-10-24T18:13:57.532Z] 5d3b04190fa2: Download complete [2023-10-24T18:13:57.532Z] ec43610c2a17: Verifying Checksum [2023-10-24T18:13:57.533Z] ec43610c2a17: Download complete [2023-10-24T18:13:57.791Z] 5eb5b503b376: Verifying Checksum [2023-10-24T18:13:57.791Z] 5eb5b503b376: Download complete [2023-10-24T18:13:58.357Z] 2f39f015ded8: Download complete [2023-10-24T18:13:58.927Z] 5eb5b503b376: Pull complete [2023-10-24T18:13:59.186Z] 5c69ac0246d0: Pull complete [2023-10-24T18:13:59.444Z] ec43610c2a17: Pull complete [2023-10-24T18:13:59.444Z] 3a2ae6a8a46f: Pull complete [2023-10-24T18:13:59.703Z] 33b1e0a273af: Pull complete [2023-10-24T18:13:59.961Z] 5d3b04190fa2: Pull complete [2023-10-24T18:14:04.153Z] 2f39f015ded8: Pull complete [2023-10-24T18:14:04.153Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T18:14:04.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:14:04.153Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:14:04.397Z] prd-ubuntu20.04-docker-8c-8g-9992 does not seem to be running inside a container [2023-10-24T18:14:04.435Z] $ 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-397 -v /w/workspace/undry_device-onvif-camera_PR-397:/w/workspace/undry_device-onvif-camera_PR-397:rw,z -v /w/workspace/undry_device-onvif-camera_PR-397@tmp:/w/workspace/undry_device-onvif-camera_PR-397@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-lftools-log-publisher:latest cat [2023-10-24T18:14:08.595Z] $ docker top 1913932ae36daa931edaeb3d9f3fad1686b098fcb06b7f9adfc3c7d94cccc475 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:14:09.029Z] ---> job-cost.sh [2023-10-24T18:14:09.029Z] lf-activate-venv: SKIPPING [2023-10-24T18:14:09.029Z] INFO: No Stack... [2023-10-24T18:14:09.287Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:14:09.863Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:14:10.178Z] + cat /w/workspace/undry_device-onvif-camera_PR-397/archives/cost.csv [2023-10-24T18:14:10.178Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T18:14:10.215Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-397-1-stack-cost] [2023-10-24T18:14:10.223Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-397-1-stack-cost] did not exist. Created. [2023-10-24T18:14:10.223Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:14:10.619Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T18:14:10.667Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:14:10.693Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:14:10.760Z] $ docker stop --time=1 1913932ae36daa931edaeb3d9f3fad1686b098fcb06b7f9adfc3c7d94cccc475 [2023-10-24T18:14:11.911Z] $ docker rm -f --volumes 1913932ae36daa931edaeb3d9f3fad1686b098fcb06b7f9adfc3c7d94cccc475 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T18:27:48.977Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10126 in /w/workspace/undry_device-onvif-camera_PR-397 [Pipeline] { [Pipeline] ws [2023-10-24T18:27:49.036Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-10-24T18:27:49.117Z] The recommended git tool is: git [2023-10-24T18:27:56.370Z] using credential edgex-jenkins-ssh [2023-10-24T18:27:56.407Z] Cloning the remote Git repository [2023-10-24T18:27:56.468Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-24T18:27:56.577Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-10-24T18:27:56.767Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-24T18:27:56.768Z] > git --version # timeout=10 [2023-10-24T18:27:56.800Z] > git --version # 'git version 2.25.1' [2023-10-24T18:27:56.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T18:27:57.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:27:58.622Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-10-24T18:27:58.646Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:28:00.406Z] Merging remotes/origin/main commit f9aa1e7837344c75d2a4d485c1648989cda54cfb into PR head commit 193f07f49c2517fd808963ea0bf9b2b60ec91e35 [2023-10-24T18:28:00.844Z] Merge succeeded, producing 193f07f49c2517fd808963ea0bf9b2b60ec91e35 [2023-10-24T18:28:00.845Z] Checking out Revision 193f07f49c2517fd808963ea0bf9b2b60ec91e35 (PR-397) [2023-10-24T18:27:59.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-10-24T18:27:59.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-24T18:27:59.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T18:27:59.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T18:28:00.429Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T18:28:00.518Z] > git checkout -f 193f07f49c2517fd808963ea0bf9b2b60ec91e35 # timeout=10 [2023-10-24T18:28:00.720Z] > git remote # timeout=10 [2023-10-24T18:28:00.747Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T18:28:00.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T18:28:00.791Z] > git merge f9aa1e7837344c75d2a4d485c1648989cda54cfb # timeout=10 [2023-10-24T18:28:00.820Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T18:28:00.852Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T18:28:00.880Z] > git checkout -f 193f07f49c2517fd808963ea0bf9b2b60ec91e35 # timeout=10 [2023-10-24T18:28:01.653Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-24T18:28:01.719Z] > git --version # timeout=10 [2023-10-24T18:28:01.735Z] > git --version # 'git version 2.25.1' [2023-10-24T18:28:01.759Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:28:02.984Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T18:28:02.984Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:28:02.984Z] Dload Upload Total Spent Left Speed [2023-10-24T18:28:02.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-10-24T18:28:03.790Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T18:28:04.147Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T18:28:04.147Z] + sudo tee /etc/docker/daemon.new [2023-10-24T18:28:04.147Z] { [2023-10-24T18:28:04.147Z] "registry-mirrors": [ [2023-10-24T18:28:04.147Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T18:28:04.147Z] ], [2023-10-24T18:28:04.147Z] "bip": "10.250.0.254/24", [2023-10-24T18:28:04.147Z] "hosts": [ [2023-10-24T18:28:04.147Z] "tcp://0.0.0.0:5555", [2023-10-24T18:28:04.147Z] "unix:///var/run/docker.sock" [2023-10-24T18:28:04.147Z] ], [2023-10-24T18:28:04.147Z] "mtu": 1458, [2023-10-24T18:28:04.147Z] "selinux-enabled": true, [2023-10-24T18:28:04.147Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T18:28:04.147Z] } [Pipeline] sh [2023-10-24T18:28:04.498Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T18:28:04.890Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:28:23.285Z] provisioning config files... [2023-10-24T18:28:23.312Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config155400712841756597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:28:23.896Z] ---> docker-login.sh [2023-10-24T18:28:23.896Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:28:24.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:24.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:24.438Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:24.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:24.438Z] [2023-10-24T18:28:24.438Z] Login Succeeded [2023-10-24T18:28:24.438Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:28:24.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:24.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:24.987Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:24.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:24.987Z] [2023-10-24T18:28:24.987Z] Login Succeeded [2023-10-24T18:28:24.987Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:28:25.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:25.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:25.256Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:25.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:25.256Z] [2023-10-24T18:28:25.256Z] Login Succeeded [2023-10-24T18:28:25.256Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:28:25.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:25.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:25.798Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:25.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:25.798Z] [2023-10-24T18:28:25.798Z] Login Succeeded [2023-10-24T18:28:25.798Z] docker.io [2023-10-24T18:28:26.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:28:26.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:28:26.335Z] Configure a credential helper to remove this warning. See [2023-10-24T18:28:26.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:28:26.335Z] [2023-10-24T18:28:26.335Z] Login Succeeded [2023-10-24T18:28:26.335Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:28:26.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:28:26.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:28:26.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:28:26.853Z] ========================================================= [2023-10-24T18:28:26.853Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T18:28:26.853Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:28:27.390Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T18:28:27.999Z] Sending build context to Docker daemon 14.18MB [2023-10-24T18:28:27.999Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:28:27.999Z] Step 2/13 : FROM ${BASE} AS builder [2023-10-24T18:28:28.271Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T18:28:28.271Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T18:28:28.271Z] 5d54e960e981: Pulling fs layer [2023-10-24T18:28:28.271Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T18:28:28.271Z] f0e02332f6b5: Pulling fs layer [2023-10-24T18:28:28.271Z] cefa15bbcfad: Pulling fs layer [2023-10-24T18:28:28.271Z] 17808c966233: Pulling fs layer [2023-10-24T18:28:28.271Z] f4c1fc716caa: Pulling fs layer [2023-10-24T18:28:28.271Z] f0e02332f6b5: Waiting [2023-10-24T18:28:28.271Z] cefa15bbcfad: Waiting [2023-10-24T18:28:28.271Z] 17808c966233: Waiting [2023-10-24T18:28:28.271Z] f4c1fc716caa: Waiting [2023-10-24T18:28:28.271Z] 5d54e960e981: Verifying Checksum [2023-10-24T18:28:28.271Z] 5d54e960e981: Download complete [2023-10-24T18:28:28.271Z] f0e02332f6b5: Verifying Checksum [2023-10-24T18:28:28.271Z] f0e02332f6b5: Download complete [2023-10-24T18:28:28.271Z] cefa15bbcfad: Verifying Checksum [2023-10-24T18:28:28.271Z] cefa15bbcfad: Download complete [2023-10-24T18:28:28.271Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T18:28:28.271Z] 9fda8d8052c6: Download complete [2023-10-24T18:28:28.870Z] f4c1fc716caa: Verifying Checksum [2023-10-24T18:28:28.870Z] f4c1fc716caa: Download complete [2023-10-24T18:28:29.143Z] 9fda8d8052c6: Pull complete [2023-10-24T18:28:29.738Z] 5d54e960e981: Pull complete [2023-10-24T18:28:30.334Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T18:28:30.334Z] c4a7e357bf2a: Download complete [2023-10-24T18:28:30.920Z] 17808c966233: Verifying Checksum [2023-10-24T18:28:30.920Z] 17808c966233: Download complete [2023-10-24T18:28:43.333Z] c4a7e357bf2a: Pull complete [2023-10-24T18:28:43.333Z] f0e02332f6b5: Pull complete [2023-10-24T18:28:43.612Z] cefa15bbcfad: Pull complete [2023-10-24T18:28:51.856Z] 17808c966233: Pull complete [2023-10-24T18:28:53.814Z] f4c1fc716caa: Pull complete [2023-10-24T18:28:53.814Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T18:28:53.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T18:28:53.814Z] ---> ea914061e18c [2023-10-24T18:28:53.814Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:28:56.406Z] ---> Running in 677bb323d856 [2023-10-24T18:28:56.406Z] Removing intermediate container 677bb323d856 [2023-10-24T18:28:56.406Z] ---> 7261a1151e23 [2023-10-24T18:28:56.406Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:28:56.406Z] ---> Running in b5a855186c11 [2023-10-24T18:28:56.997Z] Removing intermediate container b5a855186c11 [2023-10-24T18:28:56.997Z] ---> 4826e69234cf [2023-10-24T18:28:56.997Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T18:28:56.997Z] ---> Running in 0df2832223b4 [2023-10-24T18:28:57.266Z] Removing intermediate container 0df2832223b4 [2023-10-24T18:28:57.266Z] ---> 170166bad964 [2023-10-24T18:28:57.266Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:28:57.535Z] ---> Running in 09bf81910891 [2023-10-24T18:28:57.806Z] Removing intermediate container 09bf81910891 [2023-10-24T18:28:57.806Z] ---> 9379a38d3d65 [2023-10-24T18:28:57.806Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-10-24T18:28:57.806Z] ---> Running in 947f93249325 [2023-10-24T18:28:58.397Z] Removing intermediate container 947f93249325 [2023-10-24T18:28:58.397Z] ---> 90eb21be6a1e [2023-10-24T18:28:58.397Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:28:58.397Z] ---> Running in b07a7490c681 [2023-10-24T18:29:01.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:29:01.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:29:01.284Z] OK: 266 MiB in 52 packages [2023-10-24T18:29:02.701Z] Removing intermediate container b07a7490c681 [2023-10-24T18:29:02.701Z] ---> 3d269f39555e [2023-10-24T18:29:02.701Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-10-24T18:29:02.701Z] ---> Running in 5fda2a9ef508 [2023-10-24T18:29:02.970Z] Removing intermediate container 5fda2a9ef508 [2023-10-24T18:29:02.970Z] ---> 8b2f48b93e8a [2023-10-24T18:29:02.970Z] Step 10/13 : COPY go.mod vendor* ./ [2023-10-24T18:29:03.569Z] ---> 6902a90cdd54 [2023-10-24T18:29:03.569Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:29:03.569Z] ---> Running in 2f1012f81bc9 [2023-10-24T18:30:55.378Z] Removing intermediate container 2f1012f81bc9 [2023-10-24T18:30:55.378Z] ---> d390813968b9 [2023-10-24T18:30:55.378Z] Step 12/13 : COPY . . [2023-10-24T18:30:55.378Z] ---> 7754da05719c [2023-10-24T18:30:55.378Z] Step 13/13 : RUN ${MAKE} [2023-10-24T18:30:55.378Z] ---> Running in 315e6889829b [2023-10-24T18:30:55.378Z] noop [2023-10-24T18:30:55.378Z] Removing intermediate container 315e6889829b [2023-10-24T18:30:55.378Z] ---> 04356b803f51 [2023-10-24T18:30:55.378Z] Successfully built 04356b803f51 [2023-10-24T18:30:55.378Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:30:55.872Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:30:55.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:30:56.183Z] prd-ubuntu20.04-docker-arm64-4c-16g-10126 does not seem to be running inside a container [2023-10-24T18:30:56.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T18:30:57.759Z] $ docker top b9e676875fc441af39b6f35a1ff39a6e92f5081f68c50c1d70ef5fc0b073f580 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:30:58.692Z] + go version [2023-10-24T18:30:58.692Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T18:30:58.741Z] $ docker stop --time=1 b9e676875fc441af39b6f35a1ff39a6e92f5081f68c50c1d70ef5fc0b073f580 [2023-10-24T18:31:00.475Z] $ docker rm -f --volumes b9e676875fc441af39b6f35a1ff39a6e92f5081f68c50c1d70ef5fc0b073f580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:01.352Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:31:01.352Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:31:01.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-10126 does not seem to be running inside a container [2023-10-24T18:31:01.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T18:31:03.148Z] $ docker top 61f0197564b846be600da7cd88b4524f950ded17b3cf62f5c2045ebc988ce8b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:31:04.120Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:31:04.843Z] + make test [2023-10-24T18:31:04.843Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T18:31:10.209Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-10-24T18:33:46.987Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-10-24T18:33:46.987Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-10-24T18:33:46.987Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.212s coverage: 31.5% of statements [2023-10-24T18:34:09.105Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.110s coverage: 86.5% of statements [2023-10-24T18:34:09.105Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T18:34:09.105Z] go vet ./... [2023-10-24T18:34:35.865Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:34:35.865Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:34:35.865Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:34:35.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:34:35.956Z] $ docker stop --time=1 61f0197564b846be600da7cd88b4524f950ded17b3cf62f5c2045ebc988ce8b8 [2023-10-24T18:34:37.988Z] $ docker rm -f --volumes 61f0197564b846be600da7cd88b4524f950ded17b3cf62f5c2045ebc988ce8b8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:34:39.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:34:39.398Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T18:34:40.044Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:34:40.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:34:41.002Z] + ls -al . [2023-10-24T18:34:41.002Z] total 232 [2023-10-24T18:34:41.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:31 . [2023-10-24T18:34:41.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:27 .. [2023-10-24T18:34:41.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:28 .git [2023-10-24T18:34:41.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:28 .github [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 422 Oct 24 18:28 .gitignore [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 18:28 .golangci.yml [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 11155 Oct 24 18:28 Attribution.txt [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 15932 Oct 24 18:28 CHANGELOG.md [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 1574 Oct 24 18:28 Dockerfile [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:28 GOVERNANCE.md [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 24 18:28 Jenkinsfile [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 18:28 LICENSE [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 2877 Oct 24 18:28 Makefile [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 18:28 OWNERS.md [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 24 18:28 README.md [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:11 VERSION [2023-10-24T18:34:41.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:28 bin [2023-10-24T18:34:41.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:28 cmd [2023-10-24T18:34:41.002Z] -rw-r--r-- 1 jenkins jenkins 78456 Oct 24 18:34 coverage.out [2023-10-24T18:34:41.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:28 doc [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 4087 Oct 24 18:28 go.mod [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 35688 Oct 24 18:28 go.sum [2023-10-24T18:34:41.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:28 internal [2023-10-24T18:34:41.002Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:34:41.427Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=193f07f49c2517fd808963ea0bf9b2b60ec91e35 --label arch=arm64 --label version=0.0.0 . [2023-10-24T18:34:42.022Z] Sending build context to Docker daemon 14.26MB [2023-10-24T18:34:42.294Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:34:42.294Z] Step 2/26 : FROM ${BASE} AS builder [2023-10-24T18:34:42.294Z] ---> 04356b803f51 [2023-10-24T18:34:42.294Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:34:44.258Z] ---> Running in 1be8c1c865a7 [2023-10-24T18:34:44.535Z] Removing intermediate container 1be8c1c865a7 [2023-10-24T18:34:44.535Z] ---> e68e09bbaa16 [2023-10-24T18:34:44.535Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:34:44.806Z] ---> Running in a054af1e3602 [2023-10-24T18:34:45.080Z] Removing intermediate container a054af1e3602 [2023-10-24T18:34:45.080Z] ---> ca4b61c1e32a [2023-10-24T18:34:45.080Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T18:34:45.080Z] ---> Running in 937aed9e5122 [2023-10-24T18:34:45.670Z] Removing intermediate container 937aed9e5122 [2023-10-24T18:34:45.670Z] ---> 4012fee66cd4 [2023-10-24T18:34:45.670Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:34:45.670Z] ---> Running in 781d0731e65e [2023-10-24T18:34:45.939Z] Removing intermediate container 781d0731e65e [2023-10-24T18:34:45.939Z] ---> 3e8fb67f9c84 [2023-10-24T18:34:45.939Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-10-24T18:34:45.939Z] ---> Running in aa07b5359bd5 [2023-10-24T18:34:46.544Z] Removing intermediate container aa07b5359bd5 [2023-10-24T18:34:46.544Z] ---> bc98413e6111 [2023-10-24T18:34:46.544Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:34:46.544Z] ---> Running in 9b67b432a871 [2023-10-24T18:34:47.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:34:48.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:34:49.653Z] OK: 266 MiB in 52 packages [2023-10-24T18:34:50.669Z] Removing intermediate container 9b67b432a871 [2023-10-24T18:34:50.669Z] ---> 15b3c1315679 [2023-10-24T18:34:50.669Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-10-24T18:34:50.938Z] ---> Running in 84dd4af5b07d [2023-10-24T18:34:51.210Z] Removing intermediate container 84dd4af5b07d [2023-10-24T18:34:51.210Z] ---> 7dc50f4b2f4e [2023-10-24T18:34:51.210Z] Step 10/26 : COPY go.mod vendor* ./ [2023-10-24T18:34:51.800Z] ---> 68f62f1f9c0b [2023-10-24T18:34:51.800Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:34:51.800Z] ---> Running in 8b795d852877 [2023-10-24T18:34:55.159Z] Removing intermediate container 8b795d852877 [2023-10-24T18:34:55.159Z] ---> 6b1b01836985 [2023-10-24T18:34:55.159Z] Step 12/26 : COPY . . [2023-10-24T18:34:57.770Z] ---> de37048344df [2023-10-24T18:34:57.770Z] Step 13/26 : RUN ${MAKE} [2023-10-24T18:34:57.770Z] ---> Running in 019e208a8d7a [2023-10-24T18:34:59.200Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-10-24T18:37:20.951Z] Removing intermediate container 019e208a8d7a [2023-10-24T18:37:20.951Z] ---> 3517d24147eb [2023-10-24T18:37:20.951Z] Step 14/26 : FROM alpine:3.18 [2023-10-24T18:37:21.217Z] 3.18: Pulling from library/alpine [2023-10-24T18:37:21.217Z] 579b34f0a95b: Pulling fs layer [2023-10-24T18:37:21.802Z] 579b34f0a95b: Verifying Checksum [2023-10-24T18:37:21.802Z] 579b34f0a95b: Download complete [2023-10-24T18:37:22.390Z] 579b34f0a95b: Pull complete [2023-10-24T18:37:22.390Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:37:22.390Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:37:22.390Z] ---> 3cc203321400 [2023-10-24T18:37:22.390Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-10-24T18:37:22.390Z] ---> Running in 2f645b40ca2e [2023-10-24T18:37:22.658Z] Removing intermediate container 2f645b40ca2e [2023-10-24T18:37:22.658Z] ---> 5704962630ba [2023-10-24T18:37:22.658Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-10-24T18:37:22.928Z] ---> Running in 9f66356d5095 [2023-10-24T18:37:23.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:37:24.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:37:25.905Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T18:37:25.905Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:37:25.905Z] OK: 8 MiB in 16 packages [2023-10-24T18:37:27.318Z] Removing intermediate container 9f66356d5095 [2023-10-24T18:37:27.318Z] ---> 080ce4ba6608 [2023-10-24T18:37:27.318Z] Step 17/26 : WORKDIR / [2023-10-24T18:37:27.318Z] ---> Running in 0530624fc61b [2023-10-24T18:37:27.586Z] Removing intermediate container 0530624fc61b [2023-10-24T18:37:27.586Z] ---> 493c695c6e37 [2023-10-24T18:37:27.586Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-10-24T18:37:29.538Z] ---> c9333efc6cfa [2023-10-24T18:37:29.538Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-10-24T18:37:29.807Z] ---> 29d7365a1a3e [2023-10-24T18:37:29.807Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-10-24T18:37:30.393Z] ---> 9690c680a260 [2023-10-24T18:37:30.393Z] Step 21/26 : EXPOSE 59984 [2023-10-24T18:37:30.662Z] ---> Running in 97b272a212a2 [2023-10-24T18:37:30.929Z] Removing intermediate container 97b272a212a2 [2023-10-24T18:37:30.929Z] ---> e00b9e3edb6a [2023-10-24T18:37:30.929Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-10-24T18:37:30.929Z] ---> Running in eebfcb4bbed4 [2023-10-24T18:37:32.677Z] Removing intermediate container eebfcb4bbed4 [2023-10-24T18:37:32.677Z] ---> 7e7ac158e758 [2023-10-24T18:37:32.677Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T18:37:32.677Z] ---> Running in d5e24484cfa0 [2023-10-24T18:37:32.677Z] Removing intermediate container d5e24484cfa0 [2023-10-24T18:37:32.677Z] ---> 3eb4e0a485d5 [2023-10-24T18:37:32.677Z] Step 24/26 : LABEL arch=arm64 [2023-10-24T18:37:32.677Z] ---> Running in 61b302e3c487 [2023-10-24T18:37:32.677Z] Removing intermediate container 61b302e3c487 [2023-10-24T18:37:32.677Z] ---> c16636160dc8 [2023-10-24T18:37:32.677Z] Step 25/26 : LABEL git_sha=193f07f49c2517fd808963ea0bf9b2b60ec91e35 [2023-10-24T18:37:32.677Z] ---> Running in 81476ab3dbce [2023-10-24T18:37:32.677Z] Removing intermediate container 81476ab3dbce [2023-10-24T18:37:32.677Z] ---> 138aa12ea445 [2023-10-24T18:37:32.677Z] Step 26/26 : LABEL version=0.0.0 [2023-10-24T18:37:32.677Z] ---> Running in d3e5b825f668 [2023-10-24T18:37:33.267Z] Removing intermediate container d3e5b825f668 [2023-10-24T18:37:33.267Z] ---> d5a504ac82db [2023-10-24T18:37:33.267Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:37:33.267Z] Successfully built d5a504ac82db [2023-10-24T18:37:33.267Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:34.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:37:34.105Z] [2023-10-24T18:37:34.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:34.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:37:34.796Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T18:37:34.796Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T18:37:34.796Z] 04944245beec: Pulling fs layer [2023-10-24T18:37:34.796Z] 699f458cf7ca: Pulling fs layer [2023-10-24T18:37:34.796Z] 765212b225bb: Pulling fs layer [2023-10-24T18:37:34.796Z] f23df028b6ca: Pulling fs layer [2023-10-24T18:37:34.796Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T18:37:34.796Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T18:37:34.796Z] 765212b225bb: Waiting [2023-10-24T18:37:34.796Z] f23df028b6ca: Waiting [2023-10-24T18:37:34.796Z] d65c8cfc05b1: Waiting [2023-10-24T18:37:34.796Z] 2437ff75d9bd: Waiting [2023-10-24T18:37:34.796Z] 04944245beec: Verifying Checksum [2023-10-24T18:37:34.796Z] 04944245beec: Download complete [2023-10-24T18:37:34.796Z] 765212b225bb: Verifying Checksum [2023-10-24T18:37:34.796Z] 765212b225bb: Download complete [2023-10-24T18:37:35.066Z] f23df028b6ca: Verifying Checksum [2023-10-24T18:37:35.066Z] f23df028b6ca: Download complete [2023-10-24T18:37:35.066Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T18:37:35.066Z] d65c8cfc05b1: Download complete [2023-10-24T18:37:35.066Z] 699f458cf7ca: Verifying Checksum [2023-10-24T18:37:35.066Z] 699f458cf7ca: Download complete [2023-10-24T18:37:35.650Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T18:37:35.650Z] 8998bd30e6a1: Download complete [2023-10-24T18:37:38.237Z] 2437ff75d9bd: Download complete [2023-10-24T18:37:40.211Z] 8998bd30e6a1: Pull complete [2023-10-24T18:37:40.798Z] 04944245beec: Pull complete [2023-10-24T18:37:42.746Z] 699f458cf7ca: Pull complete [2023-10-24T18:37:42.746Z] 765212b225bb: Pull complete [2023-10-24T18:37:43.709Z] f23df028b6ca: Pull complete [2023-10-24T18:37:43.978Z] d65c8cfc05b1: Pull complete [2023-10-24T18:38:02.221Z] 2437ff75d9bd: Pull complete [2023-10-24T18:38:02.221Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T18:38:02.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:38:02.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:38:02.625Z] prd-ubuntu20.04-docker-arm64-4c-16g-10126 does not seem to be running inside a container [2023-10-24T18:38:02.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T18:38:06.371Z] $ docker top 6898571b8ab9e99320f8e5e18c204d52aa153baca1c6591016538cfe6ba6a330 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:07.385Z] ---> job-cost.sh [2023-10-24T18:38:07.385Z] lf-activate-venv: SKIPPING [2023-10-24T18:38:07.385Z] INFO: No Stack... [2023-10-24T18:38:07.970Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T18:38:08.555Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:38:09.235Z] + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, [2023-10-24T18:38:09.235Z] -f6 [Pipeline] lock [2023-10-24T18:38:09.294Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-397-1-stack-cost] [2023-10-24T18:38:09.298Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-397-1-stack-cost] did not exist. Created. [2023-10-24T18:38:09.298Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:38:10.049Z] /w/workspace/device-onvif-camera/1@tmp/durable-54c047e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T18:38:10.759Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T18:38:10.801Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T18:38:10.873Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:38:10.888Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:38:10.979Z] $ docker stop --time=1 6898571b8ab9e99320f8e5e18c204d52aa153baca1c6591016538cfe6ba6a330 [2023-10-24T18:38:12.597Z] $ docker rm -f --volumes 6898571b8ab9e99320f8e5e18c204d52aa153baca1c6591016538cfe6ba6a330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-24T18:38:13.639Z] provisioning config files... [2023-10-24T18:38:13.646Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-397@tmp/config16093270439801159362tmp [Pipeline] { [Pipeline] sh [2023-10-24T18:38:13.990Z] + set +x [2023-10-24T18:38:13.990Z] + curl -s https://codecov.io/bash [2023-10-24T18:38:13.990Z] + bash -s -- [2023-10-24T18:38:13.990Z] [2023-10-24T18:38:13.990Z] _____ _ [2023-10-24T18:38:13.990Z] / ____| | | [2023-10-24T18:38:13.990Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T18:38:13.990Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T18:38:13.990Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T18:38:13.990Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T18:38:13.990Z] Bash-1.0.6 [2023-10-24T18:38:13.990Z] [2023-10-24T18:38:13.990Z] [2023-10-24T18:38:13.990Z] ==> git version 2.25.1 found [2023-10-24T18:38:13.990Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-24T18:38:13.990Z] Release-Date: 2020-01-08 [2023-10-24T18:38:13.990Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-24T18:38:13.990Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T18:38:13.990Z] ==> Jenkins CI detected. [2023-10-24T18:38:13.990Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-397 [2023-10-24T18:38:13.990Z] project root: . [2023-10-24T18:38:13.990Z] --> token set from env [2023-10-24T18:38:13.990Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T18:38:13.990Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T18:38:13.990Z] ==> Python coveragepy not found [2023-10-24T18:38:13.990Z] ==> Searching for coverage reports in: [2023-10-24T18:38:13.990Z] + . [2023-10-24T18:38:13.990Z] -> Found 1 reports [2023-10-24T18:38:13.990Z] ==> Detecting git/mercurial file structure [2023-10-24T18:38:13.990Z] ==> Reading reports [2023-10-24T18:38:13.990Z] + ./coverage.out bytes=78456 [2023-10-24T18:38:13.990Z] ==> Appending adjustments [2023-10-24T18:38:13.990Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T18:38:14.251Z] + Found adjustments [2023-10-24T18:38:14.251Z] ==> Gzipping contents [2023-10-24T18:38:14.251Z] 12K /tmp/codecov.pFBYrP.gz [2023-10-24T18:38:14.251Z] ==> Uploading reports [2023-10-24T18:38:14.251Z] url: https://codecov.io [2023-10-24T18:38:14.251Z] query: branch=PR-397&commit=193f07f49c2517fd808963ea0bf9b2b60ec91e35&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=397&job=&cmd_args= [2023-10-24T18:38:14.251Z] -> Pinging Codecov [2023-10-24T18:38:14.251Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-397&commit=193f07f49c2517fd808963ea0bf9b2b60ec91e35&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=397&job=&cmd_args= [2023-10-24T18:38:14.510Z] -> Uploading to [2023-10-24T18:38:14.510Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/F29A59C45E3A92E06B3E522C9905F8EF/193f07f49c2517fd808963ea0bf9b2b60ec91e35/fb87eb27-a59a-49b7-bb0f-e0ca017d7a7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T183814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=048e31fb740a4b1637c77ae8c7aabc9e05744cdbcf1fdd99a0efcaf565b41505 [2023-10-24T18:38:14.510Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:38:14.510Z] Dload Upload Total Spent Left Speed [2023-10-24T18:38:14.768Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 34250 --:--:-- --:--:-- --:--:-- 34138 100 10378 0 0 100 10378 0 34250 --:--:-- --:--:-- --:--:-- 34138 [2023-10-24T18:38:14.768Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/193f07f49c2517fd808963ea0bf9b2b60ec91e35 [Pipeline] } [2023-10-24T18:38:14.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-24T18:38:16.631Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-397/archives ] [2023-10-24T18:38:16.632Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-397/archives [2023-10-24T18:38:16.632Z] total 16 [2023-10-24T18:38:16.632Z] drwxr-xr-x 3 root root 4096 Oct 24 18:14 . [2023-10-24T18:38:16.632Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:14 .. [2023-10-24T18:38:16.632Z] drwxr-xr-x 2 root root 4096 Oct 24 18:14 cost [2023-10-24T18:38:16.632Z] -rw-r--r-- 1 root root 91 Oct 24 18:14 cost.csv [2023-10-24T18:38:16.632Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-397/archives [2023-10-24T18:38:16.632Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-397/archives [2023-10-24T18:38:16.632Z] total 16 [2023-10-24T18:38:16.632Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:14 . [2023-10-24T18:38:16.632Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:14 .. [2023-10-24T18:38:16.632Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:14 cost [2023-10-24T18:38:16.632Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 24 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:16.958Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:17.844Z] ---> package-listing.sh [2023-10-24T18:38:17.844Z] ++ facter osfamily [2023-10-24T18:38:17.844Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T18:38:17.844Z] + OS_FAMILY=debian [2023-10-24T18:38:17.844Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-397 [2023-10-24T18:38:17.844Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T18:38:17.844Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T18:38:17.844Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T18:38:17.844Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T18:38:17.844Z] + '[' /w/workspace/undry_device-onvif-camera_PR-397 ']' [2023-10-24T18:38:17.844Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T18:38:17.844Z] + case "${OS_FAMILY}" in [2023-10-24T18:38:17.844Z] + grep '^ii' [2023-10-24T18:38:17.844Z] + dpkg -l [2023-10-24T18:38:18.107Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T18:38:18.107Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T18:38:18.107Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T18:38:18.107Z] + '[' /w/workspace/undry_device-onvif-camera_PR-397 ']' [2023-10-24T18:38:18.107Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-397/archives/ [2023-10-24T18:38:18.107Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-397/archives/ [Pipeline] echo [2023-10-24T18:38:18.139Z] 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T18:38:18.429Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:38:18.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:38:18.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:38:18.950Z] prd-ubuntu20.04-docker-8c-8g-9992 does not seem to be running inside a container [2023-10-24T18:38:18.978Z] $ 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-397/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-397 -v /w/workspace/undry_device-onvif-camera_PR-397:/w/workspace/undry_device-onvif-camera_PR-397:rw,z -v /w/workspace/undry_device-onvif-camera_PR-397@tmp:/w/workspace/undry_device-onvif-camera_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T18:38:19.197Z] $ docker top 11dd45aa010b7b2cfe03710f72b7e6cc82243b45dba701d809b7949002290a7c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:38:19.584Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T18:38:19.891Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T18:38:20.199Z] + ls /var/log/sa-host [2023-10-24T18:38:20.199Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:38:20.330Z] provisioning config files... [2023-10-24T18:38:20.338Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-397@tmp/config11000175903362055889tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:38:20.395Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:20.704Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T18:38:20.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:21.132Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T18:38:21.163Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:21.470Z] ---> sudo-logs.sh [2023-10-24T18:38:21.470Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T18:38:21.552Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:21.862Z] ---> job-cost.sh [2023-10-24T18:38:21.862Z] lf-activate-venv: SKIPPING [2023-10-24T18:38:21.862Z] DEBUG: total: 0.2199999988079071 [2023-10-24T18:38:21.862Z] INFO: Retrieving Stack Cost... [2023-10-24T18:38:22.121Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:38:22.686Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T18:38:22.721Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:23.041Z] ---> logs-deploy.sh [2023-10-24T18:38:23.041Z] lf-activate-venv: SKIPPING [2023-10-24T18:38:23.041Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-397/1 [2023-10-24T18:38:23.041Z] INFO: archiving workspace using pattern(s): [2023-10-24T18:38:23.975Z] Archives upload complete. [2023-10-24T18:38:23.975Z] INFO: archiving logs to Nexus