Pull request #396 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 9a86eff9c0a56d7bc59fca3868071ac413caa070+9f8af1561b5eb46d905479fdb00b08d296bf7f63 (50102ee334bbb56381c6e421244ece5dd3aead81) 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-ssh117797495211328561.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-ssh6660040228164092579.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-396/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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11941051513619558134.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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3799152411584890608.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-ssh5128058141242477226.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-396/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-396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6884629778920662771.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9967 in /w/workspace/undry_device-onvif-camera_PR-396 [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-396 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9f8af1561b5eb46d905479fdb00b08d296bf7f63 into PR head commit 9a86eff9c0a56d7bc59fca3868071ac413caa070 Merge succeeded, producing 9a86eff9c0a56d7bc59fca3868071ac413caa070 Checking out Revision 9a86eff9c0a56d7bc59fca3868071ac413caa070 (PR-396) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a86eff9c0a56d7bc59fca3868071ac413caa070 # 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 9f8af1561b5eb46d905479fdb00b08d296bf7f63 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a86eff9c0a56d7bc59fca3868071ac413caa070 # timeout=10 Commit message: "feat!: Remove snap packaging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T17:03:40.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T17:03:40.356Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T17:03:40.459Z] ========================================================= [2023-10-24T17:03:40.460Z] EdgeX Global Pipelines Version Info [2023-10-24T17:03:40.460Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:03:41.201Z] ------------------- [2023-10-24T17:03:41.201Z] stable info: [2023-10-24T17:03:41.201Z] ------------------- [2023-10-24T17:03:41.201Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T17:03:41.201Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T17:03:41.201Z] Message: update stable to v1.0.254 [2023-10-24T17:03:41.769Z] ------------------- [2023-10-24T17:03:41.769Z] experimental info: [2023-10-24T17:03:41.769Z] ------------------- [2023-10-24T17:03:41.769Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T17:03:41.769Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T17:03:41.769Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T17:03:42.054Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-10-24T17:03:42.097Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-10-24T17:03:42.138Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T17:03:42.178Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T17:03:42.222Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T17:03:42.272Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T17:03:42.313Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T17:03:42.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T17:03:42.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T17:03:42.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T17:03:42.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T17:03:42.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-10-24T17:03:42.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T17:03:42.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T17:03:42.673Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T17:03:42.718Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T17:03:42.759Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T17:03:42.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T17:03:42.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T17:03:42.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T17:03:42.932Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-24T17:03:42.975Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-10-24T17:03:43.027Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T17:03:43.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T17:03:43.117Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T17:03:43.161Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T17:03:43.205Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T17:03:43.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo [2023-10-24T17:03:43.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo [2023-10-24T17:03:43.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo [2023-10-24T17:03:43.371Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a86eff9c0a56d7bc59fca3868071ac413caa070 [Pipeline] echo [2023-10-24T17:03:43.498Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a86eff [Pipeline] echo [2023-10-24T17:03:43.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:03:43.668Z] provisioning config files... [2023-10-24T17:03:43.683Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-396@tmp/config12622090445709980485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:03:44.034Z] ---> docker-login.sh [2023-10-24T17:03:44.034Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:03:44.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:03:44.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:03:44.294Z] Configure a credential helper to remove this warning. See [2023-10-24T17:03:44.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:03:44.294Z] [2023-10-24T17:03:44.294Z] Login Succeeded [2023-10-24T17:03:44.294Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:03:44.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:03:44.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:03:44.294Z] Configure a credential helper to remove this warning. See [2023-10-24T17:03:44.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:03:44.294Z] [2023-10-24T17:03:44.294Z] Login Succeeded [2023-10-24T17:03:44.294Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:03:44.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:03:44.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:03:44.553Z] Configure a credential helper to remove this warning. See [2023-10-24T17:03:44.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:03:44.553Z] [2023-10-24T17:03:44.554Z] Login Succeeded [2023-10-24T17:03:44.554Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:03:44.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:03:44.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:03:44.554Z] Configure a credential helper to remove this warning. See [2023-10-24T17:03:44.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:03:44.554Z] [2023-10-24T17:03:44.554Z] Login Succeeded [2023-10-24T17:03:44.554Z] docker.io [2023-10-24T17:03:44.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:03:45.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:03:45.076Z] Configure a credential helper to remove this warning. See [2023-10-24T17:03:45.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:03:45.076Z] [2023-10-24T17:03:45.076Z] Login Succeeded [2023-10-24T17:03:45.076Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:03:45.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T17:03:45.738Z] + git rev-list -1 --merges 9a86eff9c0a56d7bc59fca3868071ac413caa070~1..9a86eff9c0a56d7bc59fca3868071ac413caa070 [Pipeline] echo [2023-10-24T17:03:45.854Z] -----------> git rev-list -1 --merges 9a86eff9c0a56d7bc59fca3868071ac413caa070~1..9a86eff9c0a56d7bc59fca3868071ac413caa070 9a86eff9c0a56d7bc59fca3868071ac413caa070 [false] [Pipeline] sh [2023-10-24T17:03:46.165Z] + git log --format=format:%s -1 9a86eff9c0a56d7bc59fca3868071ac413caa070 [Pipeline] echo [2023-10-24T17:03:46.200Z] ========================================================= [2023-10-24T17:03:46.200Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T17:03:46.200Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:03:46.654Z] + git log --format=format:%s -1 9a86eff9c0a56d7bc59fca3868071ac413caa070 [Pipeline] echo [2023-10-24T17:03:46.690Z] [semverPrep] GIT_COMMIT: 9a86eff9c0a56d7bc59fca3868071ac413caa070, Commit Message: feat!: Remove snap packaging [Pipeline] echo [2023-10-24T17:03:46.718Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T17:03:47.102Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T17:03:47.103Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T17:03:47.103Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T17:03:47.103Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T17:03:47.103Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T17:03:47.103Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T17:03:47.103Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:03:47.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:03:47.538Z] [2023-10-24T17:03:47.538Z] 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-24T17:03:47.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:03:47.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T17:03:47.906Z] b85a868b505f: Pulling fs layer [2023-10-24T17:03:47.906Z] e2be974225ed: Pulling fs layer [2023-10-24T17:03:47.906Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T17:03:47.906Z] 988bab9f4d93: Pulling fs layer [2023-10-24T17:03:47.906Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T17:03:47.906Z] eaf3925da568: Pulling fs layer [2023-10-24T17:03:47.906Z] bab4dde63d76: Pulling fs layer [2023-10-24T17:03:47.906Z] bde34c3a00c8: Pulling fs layer [2023-10-24T17:03:47.906Z] b352a97aabf1: Pulling fs layer [2023-10-24T17:03:47.906Z] 4872d77fe225: Pulling fs layer [2023-10-24T17:03:47.906Z] 5851b861e8e6: Pulling fs layer [2023-10-24T17:03:47.906Z] 988bab9f4d93: Waiting [2023-10-24T17:03:47.906Z] 1469e6f7b9e6: Waiting [2023-10-24T17:03:47.906Z] eaf3925da568: Waiting [2023-10-24T17:03:47.906Z] bab4dde63d76: Waiting [2023-10-24T17:03:47.906Z] bde34c3a00c8: Waiting [2023-10-24T17:03:47.906Z] b352a97aabf1: Waiting [2023-10-24T17:03:47.906Z] 4872d77fe225: Waiting [2023-10-24T17:03:47.906Z] 5851b861e8e6: Waiting [2023-10-24T17:03:47.906Z] e2be974225ed: Download complete [2023-10-24T17:03:47.906Z] 988bab9f4d93: Verifying Checksum [2023-10-24T17:03:47.906Z] 988bab9f4d93: Download complete [2023-10-24T17:03:48.165Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T17:03:48.165Z] 1469e6f7b9e6: Download complete [2023-10-24T17:03:48.165Z] eaf3925da568: Verifying Checksum [2023-10-24T17:03:48.165Z] eaf3925da568: Download complete [2023-10-24T17:03:48.165Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T17:03:48.165Z] 339a4e72a1f5: Download complete [2023-10-24T17:03:48.165Z] bde34c3a00c8: Verifying Checksum [2023-10-24T17:03:48.165Z] bde34c3a00c8: Download complete [2023-10-24T17:03:48.165Z] b352a97aabf1: Verifying Checksum [2023-10-24T17:03:48.165Z] b352a97aabf1: Download complete [2023-10-24T17:03:48.165Z] 4872d77fe225: Verifying Checksum [2023-10-24T17:03:48.165Z] 4872d77fe225: Download complete [2023-10-24T17:03:48.165Z] 5851b861e8e6: Verifying Checksum [2023-10-24T17:03:48.165Z] 5851b861e8e6: Download complete [2023-10-24T17:03:48.165Z] b85a868b505f: Verifying Checksum [2023-10-24T17:03:48.165Z] b85a868b505f: Download complete [2023-10-24T17:03:48.424Z] bab4dde63d76: Verifying Checksum [2023-10-24T17:03:48.424Z] bab4dde63d76: Download complete [2023-10-24T17:03:49.362Z] b85a868b505f: Pull complete [2023-10-24T17:03:49.622Z] e2be974225ed: Pull complete [2023-10-24T17:03:49.882Z] 339a4e72a1f5: Pull complete [2023-10-24T17:03:49.882Z] 988bab9f4d93: Pull complete [2023-10-24T17:03:50.142Z] 1469e6f7b9e6: Pull complete [2023-10-24T17:03:50.401Z] eaf3925da568: Pull complete [2023-10-24T17:03:52.304Z] bab4dde63d76: Pull complete [2023-10-24T17:03:52.304Z] bde34c3a00c8: Pull complete [2023-10-24T17:03:52.304Z] b352a97aabf1: Pull complete [2023-10-24T17:03:52.304Z] 4872d77fe225: Pull complete [2023-10-24T17:03:52.304Z] 5851b861e8e6: Pull complete [2023-10-24T17:03:52.304Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T17:03:52.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:03:52.304Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:03:52.555Z] prd-ubuntu20.04-docker-8c-8g-9967 does not seem to be running inside a container [2023-10-24T17:03:52.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-396 -v /w/workspace/undry_device-onvif-camera_PR-396:/w/workspace/undry_device-onvif-camera_PR-396:rw,z -v /w/workspace/undry_device-onvif-camera_PR-396@tmp:/w/workspace/undry_device-onvif-camera_PR-396@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T17:03:56.118Z] $ docker top fce8f4e5c562ce41f83a074b22f9435ba47591da0a110d939638b9544bc14182 -eo pid,comm [2023-10-24T17:03:56.167Z] 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-24T17:03:56.167Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T17:03:56.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T17:03:56.304Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T17:03:56.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T17:03:56.425Z] $ docker exec fce8f4e5c562ce41f83a074b22f9435ba47591da0a110d939638b9544bc14182 ssh-agent [2023-10-24T17:03:56.540Z] SSH_AUTH_SOCK=/tmp/ssh-zkAvEakVkiz3/agent.32 [2023-10-24T17:03:56.540Z] SSH_AGENT_PID=38 [2023-10-24T17:03:56.548Z] Running ssh-add (command line suppressed) [2023-10-24T17:03:56.653Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-396@tmp/private_key_9700230277383393004.key (/w/workspace/undry_device-onvif-camera_PR-396@tmp/private_key_9700230277383393004.key) [2023-10-24T17:03:56.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T17:03:57.015Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T17:03:57.042Z] $ docker exec --env ******** --env ******** fce8f4e5c562ce41f83a074b22f9435ba47591da0a110d939638b9544bc14182 ssh-agent -k [2023-10-24T17:03:57.152Z] unset SSH_AUTH_SOCK; [2023-10-24T17:03:57.153Z] unset SSH_AGENT_PID; [2023-10-24T17:03:57.153Z] echo Agent pid 38 killed; [2023-10-24T17:03:57.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T17:03:57.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T17:03:57.262Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T17:03:57.365Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T17:03:57.368Z] $ docker exec fce8f4e5c562ce41f83a074b22f9435ba47591da0a110d939638b9544bc14182 ssh-agent [2023-10-24T17:03:57.466Z] SSH_AUTH_SOCK=/tmp/ssh-jMkao1ZHA3zY/agent.70 [2023-10-24T17:03:57.466Z] SSH_AGENT_PID=76 [2023-10-24T17:03:57.471Z] Running ssh-add (command line suppressed) [2023-10-24T17:03:57.573Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-396@tmp/private_key_4803688233501943424.key (/w/workspace/undry_device-onvif-camera_PR-396@tmp/private_key_4803688233501943424.key) [2023-10-24T17:03:57.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T17:03:57.917Z] + git semver init [2023-10-24T17:03:58.177Z] 2023-10-24 17:03:58,114 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T17:03:58.177Z] 2023-10-24 17:03:58,115 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-396/.semver [2023-10-24T17:03:58.177Z] 2023-10-24 17:03:58,116 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-396/.semver [2023-10-24T17:03:58.177Z] 2023-10-24 17:03:58,116 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-396/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-396, universal_newlines=False, shell=None, istream=None) [2023-10-24T17:03:59.556Z] 2023-10-24 17:03:59,181 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-396/.git/info/exclude [2023-10-24T17:03:59.556Z] 2023-10-24 17:03:59,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-396/.semver/PR-396 with force:False [2023-10-24T17:03:59.556Z] 2023-10-24 17:03:59,182 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-396/.semver/PR-396 [2023-10-24T17:03:59.556Z] 2023-10-24 17:03:59,185 [execute] INFO git cat-file --batch-check [2023-10-24T17:03:59.556Z] 2023-10-24 17:03:59,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-396/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T17:03:59.556Z] 2023-10-24 17:03:59,191 [execute] INFO git cat-file --batch [2023-10-24T17:03:59.556Z] 2023-10-24 17:03:59,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-396/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T17:03:59.556Z] 2023-10-24 17:03:59,196 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-396/.semver/PR-396 [2023-10-24T17:03:59.556Z] 0.0.0 [Pipeline] } [2023-10-24T17:03:59.581Z] $ docker exec --env ******** --env ******** fce8f4e5c562ce41f83a074b22f9435ba47591da0a110d939638b9544bc14182 ssh-agent -k [2023-10-24T17:03:59.679Z] unset SSH_AUTH_SOCK; [2023-10-24T17:03:59.679Z] unset SSH_AGENT_PID; [2023-10-24T17:03:59.679Z] echo Agent pid 76 killed; [2023-10-24T17:03:59.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T17:04:00.107Z] + git semver [Pipeline] } [2023-10-24T17:04:00.389Z] $ docker stop --time=1 fce8f4e5c562ce41f83a074b22f9435ba47591da0a110d939638b9544bc14182 [2023-10-24T17:04:01.642Z] $ docker rm -f --volumes fce8f4e5c562ce41f83a074b22f9435ba47591da0a110d939638b9544bc14182 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:04:02.045Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T17:04:02.324Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T17:04:02.341Z] [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-24T17:04:02.966Z] provisioning config files... [2023-10-24T17:04:02.975Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-396@tmp/config17968303374345300415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:04:03.328Z] ---> docker-login.sh [2023-10-24T17:04:03.328Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:04:03.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:03.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:03.328Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:03.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:03.328Z] [2023-10-24T17:04:03.328Z] Login Succeeded [2023-10-24T17:04:03.328Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:04:03.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:03.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:03.328Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:03.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:03.328Z] [2023-10-24T17:04:03.328Z] Login Succeeded [2023-10-24T17:04:03.328Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:04:03.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:03.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:03.587Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:03.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:03.587Z] [2023-10-24T17:04:03.587Z] Login Succeeded [2023-10-24T17:04:03.587Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:04:03.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:03.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:03.587Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:03.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:03.587Z] [2023-10-24T17:04:03.587Z] Login Succeeded [2023-10-24T17:04:03.587Z] docker.io [2023-10-24T17:04:03.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:03.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:03.847Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:03.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:03.847Z] [2023-10-24T17:04:03.847Z] Login Succeeded [2023-10-24T17:04:03.847Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:04:03.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T17:04:04.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:04:04.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:04:04.147Z] ========================================================= [2023-10-24T17:04:04.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T17:04:04.147Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:04:04.608Z] + 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-24T17:04:04.608Z] Sending build context to Docker daemon 21.65MB [2023-10-24T17:04:04.608Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:04:04.608Z] Step 2/13 : FROM ${BASE} AS builder [2023-10-24T17:04:04.608Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T17:04:04.608Z] 7264a8db6415: Pulling fs layer [2023-10-24T17:04:04.608Z] c4d48a809fc2: Pulling fs layer [2023-10-24T17:04:04.608Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T17:04:04.608Z] ad3a456e5733: Pulling fs layer [2023-10-24T17:04:04.608Z] 33e27b845d1e: Pulling fs layer [2023-10-24T17:04:04.608Z] c68163c4e522: Pulling fs layer [2023-10-24T17:04:04.608Z] 50da416c3ac9: Pulling fs layer [2023-10-24T17:04:04.608Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T17:04:04.608Z] c68163c4e522: Waiting [2023-10-24T17:04:04.608Z] ad3a456e5733: Waiting [2023-10-24T17:04:04.608Z] 33e27b845d1e: Waiting [2023-10-24T17:04:04.608Z] 50da416c3ac9: Waiting [2023-10-24T17:04:04.608Z] 23d2d4c4bb30: Waiting [2023-10-24T17:04:04.867Z] c4d48a809fc2: Download complete [2023-10-24T17:04:04.867Z] ad3a456e5733: Download complete [2023-10-24T17:04:04.867Z] 33e27b845d1e: Download complete [2023-10-24T17:04:04.867Z] 7264a8db6415: Verifying Checksum [2023-10-24T17:04:04.867Z] 7264a8db6415: Download complete [2023-10-24T17:04:04.867Z] c68163c4e522: Verifying Checksum [2023-10-24T17:04:04.867Z] c68163c4e522: Download complete [2023-10-24T17:04:04.867Z] 7264a8db6415: Pull complete [2023-10-24T17:04:05.126Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T17:04:05.126Z] 23d2d4c4bb30: Download complete [2023-10-24T17:04:05.126Z] c4d48a809fc2: Pull complete [2023-10-24T17:04:05.385Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T17:04:05.385Z] 4f1c88b9dad5: Download complete [2023-10-24T17:04:05.642Z] 50da416c3ac9: Verifying Checksum [2023-10-24T17:04:05.642Z] 50da416c3ac9: Download complete [2023-10-24T17:04:08.929Z] 4f1c88b9dad5: Pull complete [2023-10-24T17:04:08.929Z] ad3a456e5733: Pull complete [2023-10-24T17:04:08.929Z] 33e27b845d1e: Pull complete [2023-10-24T17:04:08.929Z] c68163c4e522: Pull complete [2023-10-24T17:04:10.830Z] 50da416c3ac9: Pull complete [2023-10-24T17:04:11.396Z] 23d2d4c4bb30: Pull complete [2023-10-24T17:04:11.396Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T17:04:11.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T17:04:11.396Z] ---> 0786185ac409 [2023-10-24T17:04:11.396Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:04:16.671Z] ---> Running in ea13e5e8c0f9 [2023-10-24T17:04:16.671Z] Removing intermediate container ea13e5e8c0f9 [2023-10-24T17:04:16.671Z] ---> e5ebdcf2e5b8 [2023-10-24T17:04:16.671Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:04:16.671Z] ---> Running in 85aa824120b9 [2023-10-24T17:04:16.671Z] Removing intermediate container 85aa824120b9 [2023-10-24T17:04:16.671Z] ---> d2983b904388 [2023-10-24T17:04:16.672Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T17:04:16.672Z] ---> Running in b57ff7e66467 [2023-10-24T17:04:16.672Z] Removing intermediate container b57ff7e66467 [2023-10-24T17:04:16.672Z] ---> 3c21dbd1cca7 [2023-10-24T17:04:16.672Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:04:16.672Z] ---> Running in 198cfd9fea82 [2023-10-24T17:04:16.672Z] Removing intermediate container 198cfd9fea82 [2023-10-24T17:04:16.672Z] ---> b508b7dc2720 [2023-10-24T17:04:16.672Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-10-24T17:04:16.672Z] ---> Running in e0b2d620b9d1 [2023-10-24T17:04:16.672Z] Removing intermediate container e0b2d620b9d1 [2023-10-24T17:04:16.672Z] ---> 5b850e258315 [2023-10-24T17:04:16.672Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:04:16.672Z] ---> Running in c56397b948ff [2023-10-24T17:04:16.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:04:16.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:04:16.932Z] OK: 264 MiB in 52 packages [2023-10-24T17:04:17.200Z] Removing intermediate container c56397b948ff [2023-10-24T17:04:17.200Z] ---> ee4d8887aac9 [2023-10-24T17:04:17.200Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-10-24T17:04:17.200Z] ---> Running in f2bde2dd5764 [2023-10-24T17:04:17.469Z] Removing intermediate container f2bde2dd5764 [2023-10-24T17:04:17.469Z] ---> ca393cb52f16 [2023-10-24T17:04:17.469Z] Step 10/13 : COPY go.mod vendor* ./ [2023-10-24T17:04:17.469Z] ---> 059a80a9d275 [2023-10-24T17:04:17.469Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:04:17.469Z] ---> Running in b2a337b943ca [2023-10-24T17:04:17.772Z] Still waiting to schedule task [2023-10-24T17:04:17.772Z] ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:17.772Z] ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:17.772Z] ‘prd-ubuntu18.04-docker-8c-8g-9961’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:17.772Z] ‘prd-ubuntu20.04-docker-8c-8g-9962’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:17.772Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9970’ is offline [2023-10-24T17:05:13.785Z] Removing intermediate container b2a337b943ca [2023-10-24T17:05:13.785Z] ---> d7bdb1a6fb53 [2023-10-24T17:05:13.785Z] Step 12/13 : COPY . . [2023-10-24T17:05:13.785Z] ---> b2cfad646f2c [2023-10-24T17:05:13.785Z] Step 13/13 : RUN ${MAKE} [2023-10-24T17:05:13.785Z] ---> Running in f005108a4201 [2023-10-24T17:05:13.785Z] noop [2023-10-24T17:05:13.785Z] Removing intermediate container f005108a4201 [2023-10-24T17:05:13.785Z] ---> b51893d0faf0 [2023-10-24T17:05:13.785Z] Successfully built b51893d0faf0 [2023-10-24T17:05:13.785Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:05:14.229Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T17:05:14.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:05:14.376Z] prd-ubuntu20.04-docker-8c-8g-9967 does not seem to be running inside a container [2023-10-24T17:05:14.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-396 -v /w/workspace/undry_device-onvif-camera_PR-396:/w/workspace/undry_device-onvif-camera_PR-396:rw,z -v /w/workspace/undry_device-onvif-camera_PR-396@tmp:/w/workspace/undry_device-onvif-camera_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T17:05:14.775Z] $ docker top a62f2688854cb31a9de494594e352acaa79185b87360bfc71b727dc1c0306679 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:05:15.164Z] + go version [2023-10-24T17:05:15.164Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T17:05:15.195Z] $ docker stop --time=1 a62f2688854cb31a9de494594e352acaa79185b87360bfc71b727dc1c0306679 [2023-10-24T17:05:16.460Z] $ docker rm -f --volumes a62f2688854cb31a9de494594e352acaa79185b87360bfc71b727dc1c0306679 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:05:17.189Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T17:05:17.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:05:17.338Z] prd-ubuntu20.04-docker-8c-8g-9967 does not seem to be running inside a container [2023-10-24T17:05:17.364Z] $ 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-396 -v /w/workspace/undry_device-onvif-camera_PR-396:/w/workspace/undry_device-onvif-camera_PR-396:rw,z -v /w/workspace/undry_device-onvif-camera_PR-396@tmp:/w/workspace/undry_device-onvif-camera_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T17:05:17.684Z] $ docker top cb565ff3d051855655dadf7c5ce7beb365d4380553f98afbaf505ddbe4776f39 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:05:18.083Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-396 [Pipeline] fileExists [Pipeline] sh [2023-10-24T17:05:18.446Z] + make test [2023-10-24T17:05:18.446Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T17:05:19.830Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-10-24T17:05:29.802Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-10-24T17:05:30.368Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-10-24T17:05:32.269Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.5% of statements [2023-10-24T17:05:32.269Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.079s coverage: 86.5% of statements [2023-10-24T17:05:38.823Z] go vet ./... [2023-10-24T17:05:42.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T17:05:42.101Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T17:05:42.101Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T17:05:42.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T17:05:42.171Z] $ docker stop --time=1 cb565ff3d051855655dadf7c5ce7beb365d4380553f98afbaf505ddbe4776f39 [2023-10-24T17:05:46.222Z] $ docker rm -f --volumes cb565ff3d051855655dadf7c5ce7beb365d4380553f98afbaf505ddbe4776f39 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:05:46.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T17:05:46.833Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T17:05:47.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T17:05:47.776Z] + ls -al . [2023-10-24T17:05:47.776Z] total 236 [2023-10-24T17:05:47.776Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 17:05 . [2023-10-24T17:05:47.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:03 .. [2023-10-24T17:05:47.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 17:05 .git [2023-10-24T17:05:47.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:03 .github [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 422 Oct 24 17:03 .gitignore [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 17:03 .golangci.yml [2023-10-24T17:05:47.776Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 17:03 .semver [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 11155 Oct 24 17:03 Attribution.txt [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 15932 Oct 24 17:03 CHANGELOG.md [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 1574 Oct 24 17:03 Dockerfile [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 17:03 GOVERNANCE.md [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 24 17:03 Jenkinsfile [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 17:03 LICENSE [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 2877 Oct 24 17:03 Makefile [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 17:03 OWNERS.md [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 24 17:03 README.md [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 17:04 VERSION [2023-10-24T17:05:47.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:03 bin [2023-10-24T17:05:47.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:03 cmd [2023-10-24T17:05:47.776Z] -rw-r--r-- 1 jenkins jenkins 78456 Oct 24 17:05 coverage.out [2023-10-24T17:05:47.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:03 doc [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 4087 Oct 24 17:03 go.mod [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 35688 Oct 24 17:03 go.sum [2023-10-24T17:05:47.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:03 internal [2023-10-24T17:05:47.776Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 17:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:05:48.202Z] + 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=9a86eff9c0a56d7bc59fca3868071ac413caa070 --label arch=amd64 --label version=0.0.0 . [2023-10-24T17:05:48.202Z] Sending build context to Docker daemon 21.73MB [2023-10-24T17:05:48.202Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:05:48.202Z] Step 2/26 : FROM ${BASE} AS builder [2023-10-24T17:05:48.202Z] ---> b51893d0faf0 [2023-10-24T17:05:48.202Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:05:48.772Z] ---> Running in 024bd58966f6 [2023-10-24T17:05:48.772Z] Removing intermediate container 024bd58966f6 [2023-10-24T17:05:48.772Z] ---> 9fc894a4b5e4 [2023-10-24T17:05:48.772Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:05:48.772Z] ---> Running in e2ed878876b7 [2023-10-24T17:05:48.772Z] Removing intermediate container e2ed878876b7 [2023-10-24T17:05:48.772Z] ---> bf2e3541bef6 [2023-10-24T17:05:48.772Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T17:05:48.772Z] ---> Running in 00bada9a9ef0 [2023-10-24T17:05:48.772Z] Removing intermediate container 00bada9a9ef0 [2023-10-24T17:05:48.772Z] ---> 08b4e68a5846 [2023-10-24T17:05:48.772Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:05:48.772Z] ---> Running in 031436e02284 [2023-10-24T17:05:49.030Z] Removing intermediate container 031436e02284 [2023-10-24T17:05:49.030Z] ---> 75b78097dd73 [2023-10-24T17:05:49.030Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-10-24T17:05:49.030Z] ---> Running in b89e28607a3e [2023-10-24T17:05:49.030Z] Removing intermediate container b89e28607a3e [2023-10-24T17:05:49.030Z] ---> 21feec90432f [2023-10-24T17:05:49.030Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:05:49.030Z] ---> Running in 118f2f7a8238 [2023-10-24T17:05:49.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:05:49.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:05:49.547Z] OK: 264 MiB in 52 packages [2023-10-24T17:05:49.806Z] Removing intermediate container 118f2f7a8238 [2023-10-24T17:05:49.806Z] ---> 023f583118e9 [2023-10-24T17:05:49.806Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-10-24T17:05:49.806Z] ---> Running in 2342ed80765e [2023-10-24T17:05:50.067Z] Removing intermediate container 2342ed80765e [2023-10-24T17:05:50.067Z] ---> 43d6c8b45230 [2023-10-24T17:05:50.067Z] Step 10/26 : COPY go.mod vendor* ./ [2023-10-24T17:05:50.067Z] ---> f5622d802660 [2023-10-24T17:05:50.067Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:05:50.067Z] ---> Running in c3e542e1dca8 [2023-10-24T17:05:51.004Z] Removing intermediate container c3e542e1dca8 [2023-10-24T17:05:51.004Z] ---> 2e5a499f4bd8 [2023-10-24T17:05:51.004Z] Step 12/26 : COPY . . [2023-10-24T17:05:51.641Z] ---> eda034b16a58 [2023-10-24T17:05:51.641Z] Step 13/26 : RUN ${MAKE} [2023-10-24T17:05:51.641Z] ---> Running in 99d3c064eb30 [2023-10-24T17:05:51.900Z] 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.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-10-24T17:06:13.946Z] Removing intermediate container 99d3c064eb30 [2023-10-24T17:06:13.946Z] ---> 53f247c70894 [2023-10-24T17:06:13.946Z] Step 14/26 : FROM alpine:3.18 [2023-10-24T17:06:13.946Z] 3.18: Pulling from library/alpine [2023-10-24T17:06:13.946Z] 96526aa774ef: Pulling fs layer [2023-10-24T17:06:13.946Z] 96526aa774ef: Verifying Checksum [2023-10-24T17:06:13.946Z] 96526aa774ef: Download complete [2023-10-24T17:06:13.946Z] 96526aa774ef: Pull complete [2023-10-24T17:06:13.946Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T17:06:13.946Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T17:06:13.946Z] ---> 8ca4688f4f35 [2023-10-24T17:06:13.946Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-10-24T17:06:13.946Z] ---> Running in 2a9daacddcfe [2023-10-24T17:06:13.946Z] Removing intermediate container 2a9daacddcfe [2023-10-24T17:06:13.946Z] ---> 67a9e5d98d1c [2023-10-24T17:06:13.946Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-10-24T17:06:13.946Z] ---> Running in 330448d892e0 [2023-10-24T17:06:13.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:06:13.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:06:14.205Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T17:06:14.205Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T17:06:14.205Z] OK: 7 MiB in 16 packages [2023-10-24T17:06:14.464Z] Removing intermediate container 330448d892e0 [2023-10-24T17:06:14.464Z] ---> 6d4276d7a807 [2023-10-24T17:06:14.464Z] Step 17/26 : WORKDIR / [2023-10-24T17:06:14.464Z] ---> Running in 7b8683897bcd [2023-10-24T17:06:14.464Z] Removing intermediate container 7b8683897bcd [2023-10-24T17:06:14.464Z] ---> 65d7c51fa012 [2023-10-24T17:06:14.464Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-10-24T17:06:15.398Z] ---> b244607fcba9 [2023-10-24T17:06:15.398Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-10-24T17:06:15.656Z] ---> a46b28de2aab [2023-10-24T17:06:15.656Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-10-24T17:06:15.656Z] ---> b75b509c4c13 [2023-10-24T17:06:15.656Z] Step 21/26 : EXPOSE 59984 [2023-10-24T17:06:15.656Z] ---> Running in f5e52a5337a5 [2023-10-24T17:06:15.656Z] Removing intermediate container f5e52a5337a5 [2023-10-24T17:06:15.656Z] ---> bdc1945ff1b3 [2023-10-24T17:06:15.656Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-10-24T17:06:15.656Z] ---> Running in 988dcd33b4ee [2023-10-24T17:06:15.915Z] Removing intermediate container 988dcd33b4ee [2023-10-24T17:06:15.915Z] ---> 27d15525527b [2023-10-24T17:06:15.915Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T17:06:15.915Z] ---> Running in f522f6ccb833 [2023-10-24T17:06:15.915Z] Removing intermediate container f522f6ccb833 [2023-10-24T17:06:15.915Z] ---> 28c2be9ca58b [2023-10-24T17:06:15.915Z] Step 24/26 : LABEL arch=amd64 [2023-10-24T17:06:15.915Z] ---> Running in a02b550827be [2023-10-24T17:06:15.915Z] Removing intermediate container a02b550827be [2023-10-24T17:06:15.915Z] ---> fa5e481a742f [2023-10-24T17:06:15.915Z] Step 25/26 : LABEL git_sha=9a86eff9c0a56d7bc59fca3868071ac413caa070 [2023-10-24T17:06:15.915Z] ---> Running in 049c6fb3e720 [2023-10-24T17:06:16.174Z] Removing intermediate container 049c6fb3e720 [2023-10-24T17:06:16.174Z] ---> 2664dcfa6cb5 [2023-10-24T17:06:16.174Z] Step 26/26 : LABEL version=0.0.0 [2023-10-24T17:06:16.174Z] ---> Running in d1c8fc70be84 [2023-10-24T17:06:16.174Z] Removing intermediate container d1c8fc70be84 [2023-10-24T17:06:16.174Z] ---> 7b055d3f6374 [2023-10-24T17:06:16.174Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T17:06:16.174Z] Successfully built 7b055d3f6374 [2023-10-24T17:06:16.174Z] 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-24T17:06:17.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:06:17.060Z] [2023-10-24T17:06:17.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:06:17.445Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:06:17.445Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T17:06:17.445Z] 5eb5b503b376: Pulling fs layer [2023-10-24T17:06:17.445Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T17:06:17.445Z] ec43610c2a17: Pulling fs layer [2023-10-24T17:06:17.445Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T17:06:17.445Z] 33b1e0a273af: Pulling fs layer [2023-10-24T17:06:17.445Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T17:06:17.445Z] 2f39f015ded8: Pulling fs layer [2023-10-24T17:06:17.445Z] 33b1e0a273af: Waiting [2023-10-24T17:06:17.445Z] 3a2ae6a8a46f: Waiting [2023-10-24T17:06:17.445Z] 2f39f015ded8: Waiting [2023-10-24T17:06:17.445Z] 5d3b04190fa2: Waiting [2023-10-24T17:06:17.445Z] 5c69ac0246d0: Download complete [2023-10-24T17:06:17.445Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T17:06:17.445Z] 3a2ae6a8a46f: Download complete [2023-10-24T17:06:17.445Z] 33b1e0a273af: Verifying Checksum [2023-10-24T17:06:17.445Z] 33b1e0a273af: Download complete [2023-10-24T17:06:17.445Z] ec43610c2a17: Verifying Checksum [2023-10-24T17:06:17.445Z] ec43610c2a17: Download complete [2023-10-24T17:06:17.445Z] 5d3b04190fa2: Download complete [2023-10-24T17:06:17.704Z] 5eb5b503b376: Verifying Checksum [2023-10-24T17:06:17.704Z] 5eb5b503b376: Download complete [2023-10-24T17:06:18.269Z] 2f39f015ded8: Download complete [2023-10-24T17:06:18.834Z] 5eb5b503b376: Pull complete [2023-10-24T17:06:18.834Z] 5c69ac0246d0: Pull complete [2023-10-24T17:06:19.401Z] ec43610c2a17: Pull complete [2023-10-24T17:06:19.401Z] 3a2ae6a8a46f: Pull complete [2023-10-24T17:06:19.659Z] 33b1e0a273af: Pull complete [2023-10-24T17:06:19.659Z] 5d3b04190fa2: Pull complete [2023-10-24T17:06:23.846Z] 2f39f015ded8: Pull complete [2023-10-24T17:06:23.846Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T17:06:23.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:06:23.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:06:24.069Z] prd-ubuntu20.04-docker-8c-8g-9967 does not seem to be running inside a container [2023-10-24T17:06:24.095Z] $ 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-396 -v /w/workspace/undry_device-onvif-camera_PR-396:/w/workspace/undry_device-onvif-camera_PR-396:rw,z -v /w/workspace/undry_device-onvif-camera_PR-396@tmp:/w/workspace/undry_device-onvif-camera_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T17:06:28.759Z] $ docker top e9c5ad142ebce76dea077f66ed48037e8e08ac0b1f3e7dd58e48a71b587ec71c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:06:29.204Z] ---> job-cost.sh [2023-10-24T17:06:29.204Z] lf-activate-venv: SKIPPING [2023-10-24T17:06:29.204Z] INFO: No Stack... [2023-10-24T17:06:29.464Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T17:06:30.031Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T17:06:30.347Z] + cat /w/workspace/undry_device-onvif-camera_PR-396/archives/cost.csv [2023-10-24T17:06:30.347Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T17:06:30.390Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-396-1-stack-cost] [2023-10-24T17:06:30.396Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-396-1-stack-cost] did not exist. Created. [2023-10-24T17:06:30.396Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T17:06:30.799Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T17:06:30.848Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T17:06:30.883Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T17:06:30.962Z] $ docker stop --time=1 e9c5ad142ebce76dea077f66ed48037e8e08ac0b1f3e7dd58e48a71b587ec71c [2023-10-24T17:06:32.119Z] $ docker rm -f --volumes e9c5ad142ebce76dea077f66ed48037e8e08ac0b1f3e7dd58e48a71b587ec71c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T17:07:03.800Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9974 in /w/workspace/undry_device-onvif-camera_PR-396 [Pipeline] { [Pipeline] ws [2023-10-24T17:07:03.852Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-10-24T17:07:03.937Z] The recommended git tool is: git [2023-10-24T17:07:11.734Z] using credential edgex-jenkins-ssh [2023-10-24T17:07:11.764Z] Cloning the remote Git repository [2023-10-24T17:07:11.844Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-24T17:07:11.999Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-10-24T17:07:12.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-24T17:07:12.252Z] > git --version # timeout=10 [2023-10-24T17:07:12.284Z] > git --version # 'git version 2.25.1' [2023-10-24T17:07:12.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:07:12.534Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T17:07:14.324Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-10-24T17:07:14.354Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T17:07:15.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-10-24T17:07:15.745Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-24T17:07:15.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:07:15.769Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T17:07:16.451Z] Merging remotes/origin/main commit 9f8af1561b5eb46d905479fdb00b08d296bf7f63 into PR head commit 9a86eff9c0a56d7bc59fca3868071ac413caa070 [2023-10-24T17:07:16.963Z] Merge succeeded, producing 9a86eff9c0a56d7bc59fca3868071ac413caa070 [2023-10-24T17:07:16.963Z] Checking out Revision 9a86eff9c0a56d7bc59fca3868071ac413caa070 (PR-396) [2023-10-24T17:07:16.478Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T17:07:16.578Z] > git checkout -f 9a86eff9c0a56d7bc59fca3868071ac413caa070 # timeout=10 [2023-10-24T17:07:16.810Z] > git remote # timeout=10 [2023-10-24T17:07:16.839Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T17:07:16.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:07:16.893Z] > git merge 9f8af1561b5eb46d905479fdb00b08d296bf7f63 # timeout=10 [2023-10-24T17:07:16.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T17:07:16.973Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T17:07:16.992Z] > git checkout -f 9a86eff9c0a56d7bc59fca3868071ac413caa070 # timeout=10 [2023-10-24T17:07:21.052Z] Commit message: "feat!: Remove snap packaging" [2023-10-24T17:07:21.130Z] > git --version # timeout=10 [2023-10-24T17:07:21.151Z] > git --version # 'git version 2.25.1' [2023-10-24T17:07:21.175Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:07:22.594Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T17:07:22.595Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T17:07:22.595Z] Dload Upload Total Spent Left Speed [2023-10-24T17:07:22.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-10-24T17:07:23.522Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T17:07:23.916Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T17:07:23.916Z] + sudo tee /etc/docker/daemon.new [2023-10-24T17:07:23.916Z] { [2023-10-24T17:07:23.916Z] "registry-mirrors": [ [2023-10-24T17:07:23.916Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T17:07:23.916Z] ], [2023-10-24T17:07:23.916Z] "bip": "10.250.0.254/24", [2023-10-24T17:07:23.916Z] "hosts": [ [2023-10-24T17:07:23.916Z] "tcp://0.0.0.0:5555", [2023-10-24T17:07:23.916Z] "unix:///var/run/docker.sock" [2023-10-24T17:07:23.916Z] ], [2023-10-24T17:07:23.916Z] "mtu": 1458, [2023-10-24T17:07:23.916Z] "selinux-enabled": true, [2023-10-24T17:07:23.916Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T17:07:23.916Z] } [Pipeline] sh [2023-10-24T17:07:24.295Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T17:07:24.681Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:07:43.116Z] provisioning config files... [2023-10-24T17:07:43.173Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11092257334192960582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:07:43.600Z] ---> docker-login.sh [2023-10-24T17:07:43.600Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:07:44.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:07:44.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:07:44.479Z] Configure a credential helper to remove this warning. See [2023-10-24T17:07:44.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:07:44.479Z] [2023-10-24T17:07:44.479Z] Login Succeeded [2023-10-24T17:07:44.479Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:07:44.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:07:44.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:07:44.754Z] Configure a credential helper to remove this warning. See [2023-10-24T17:07:44.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:07:44.754Z] [2023-10-24T17:07:44.754Z] Login Succeeded [2023-10-24T17:07:44.754Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:07:45.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:07:45.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:07:45.320Z] Configure a credential helper to remove this warning. See [2023-10-24T17:07:45.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:07:45.320Z] [2023-10-24T17:07:45.320Z] Login Succeeded [2023-10-24T17:07:45.320Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:07:45.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:07:45.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:07:45.611Z] Configure a credential helper to remove this warning. See [2023-10-24T17:07:45.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:07:45.611Z] [2023-10-24T17:07:45.611Z] Login Succeeded [2023-10-24T17:07:45.611Z] docker.io [2023-10-24T17:07:45.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:07:46.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:07:46.479Z] Configure a credential helper to remove this warning. See [2023-10-24T17:07:46.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:07:46.479Z] [2023-10-24T17:07:46.479Z] Login Succeeded [2023-10-24T17:07:46.479Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:07:46.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T17:07:46.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:07:47.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:07:47.054Z] ========================================================= [2023-10-24T17:07:47.055Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T17:07:47.055Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:07:47.571Z] + 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-24T17:07:48.161Z] Sending build context to Docker daemon 14.18MB [2023-10-24T17:07:48.161Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:07:48.161Z] Step 2/13 : FROM ${BASE} AS builder [2023-10-24T17:07:48.432Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T17:07:48.432Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T17:07:48.432Z] 5d54e960e981: Pulling fs layer [2023-10-24T17:07:48.432Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T17:07:48.432Z] f0e02332f6b5: Pulling fs layer [2023-10-24T17:07:48.432Z] cefa15bbcfad: Pulling fs layer [2023-10-24T17:07:48.432Z] 17808c966233: Pulling fs layer [2023-10-24T17:07:48.432Z] f0e02332f6b5: Waiting [2023-10-24T17:07:48.432Z] cefa15bbcfad: Waiting [2023-10-24T17:07:48.432Z] f4c1fc716caa: Pulling fs layer [2023-10-24T17:07:48.432Z] 17808c966233: Waiting [2023-10-24T17:07:48.432Z] f4c1fc716caa: Waiting [2023-10-24T17:07:48.432Z] 5d54e960e981: Verifying Checksum [2023-10-24T17:07:48.432Z] 5d54e960e981: Download complete [2023-10-24T17:07:48.432Z] f0e02332f6b5: Verifying Checksum [2023-10-24T17:07:48.432Z] f0e02332f6b5: Download complete [2023-10-24T17:07:48.432Z] cefa15bbcfad: Verifying Checksum [2023-10-24T17:07:48.432Z] cefa15bbcfad: Download complete [2023-10-24T17:07:48.432Z] 9fda8d8052c6: Download complete [2023-10-24T17:07:49.025Z] f4c1fc716caa: Verifying Checksum [2023-10-24T17:07:49.025Z] f4c1fc716caa: Download complete [2023-10-24T17:07:49.298Z] 9fda8d8052c6: Pull complete [2023-10-24T17:07:50.275Z] 5d54e960e981: Pull complete [2023-10-24T17:07:50.275Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T17:07:50.275Z] c4a7e357bf2a: Download complete [2023-10-24T17:07:51.246Z] 17808c966233: Verifying Checksum [2023-10-24T17:07:51.246Z] 17808c966233: Download complete [2023-10-24T17:08:03.603Z] c4a7e357bf2a: Pull complete [2023-10-24T17:08:03.603Z] f0e02332f6b5: Pull complete [2023-10-24T17:08:03.603Z] cefa15bbcfad: Pull complete [2023-10-24T17:08:11.888Z] 17808c966233: Pull complete [2023-10-24T17:08:13.351Z] f4c1fc716caa: Pull complete [2023-10-24T17:08:13.351Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T17:08:13.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T17:08:13.351Z] ---> ea914061e18c [2023-10-24T17:08:13.351Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:08:15.980Z] ---> Running in b031db6daaa1 [2023-10-24T17:08:16.596Z] Removing intermediate container b031db6daaa1 [2023-10-24T17:08:16.596Z] ---> a8ef0a787fa6 [2023-10-24T17:08:16.596Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:08:16.596Z] ---> Running in 6e730dcc7e8f [2023-10-24T17:08:16.870Z] Removing intermediate container 6e730dcc7e8f [2023-10-24T17:08:16.870Z] ---> 587f12f22117 [2023-10-24T17:08:16.870Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T17:08:17.141Z] ---> Running in 643bc0ce7984 [2023-10-24T17:08:17.412Z] Removing intermediate container 643bc0ce7984 [2023-10-24T17:08:17.412Z] ---> 0d593e814356 [2023-10-24T17:08:17.412Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:08:17.691Z] ---> Running in 0ee7ee1e06b8 [2023-10-24T17:08:17.962Z] Removing intermediate container 0ee7ee1e06b8 [2023-10-24T17:08:17.962Z] ---> 9a1caee8d712 [2023-10-24T17:08:17.962Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-10-24T17:08:18.233Z] ---> Running in 1672f385fd08 [2023-10-24T17:08:18.518Z] Removing intermediate container 1672f385fd08 [2023-10-24T17:08:18.519Z] ---> f7a8e3aad29e [2023-10-24T17:08:18.519Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:08:18.790Z] ---> Running in 0eb92164a65e [2023-10-24T17:08:20.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:08:20.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:08:22.339Z] OK: 266 MiB in 52 packages [2023-10-24T17:08:23.335Z] Removing intermediate container 0eb92164a65e [2023-10-24T17:08:23.335Z] ---> dc57c9afa83b [2023-10-24T17:08:23.335Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-10-24T17:08:23.335Z] ---> Running in 45141b6023e0 [2023-10-24T17:08:23.931Z] Removing intermediate container 45141b6023e0 [2023-10-24T17:08:23.931Z] ---> f378f8d21245 [2023-10-24T17:08:23.931Z] Step 10/13 : COPY go.mod vendor* ./ [2023-10-24T17:08:24.527Z] ---> e7a8f8a066f7 [2023-10-24T17:08:24.527Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:08:24.527Z] ---> Running in 4dc616baccec [2023-10-24T17:10:16.519Z] Removing intermediate container 4dc616baccec [2023-10-24T17:10:16.519Z] ---> 31e545236556 [2023-10-24T17:10:16.519Z] Step 12/13 : COPY . . [2023-10-24T17:10:16.519Z] ---> c1e7d2fbad02 [2023-10-24T17:10:16.519Z] Step 13/13 : RUN ${MAKE} [2023-10-24T17:10:16.519Z] ---> Running in 521ca3343f6b [2023-10-24T17:10:16.519Z] noop [2023-10-24T17:10:16.519Z] Removing intermediate container 521ca3343f6b [2023-10-24T17:10:16.519Z] ---> fd792e4877c8 [2023-10-24T17:10:16.519Z] Successfully built fd792e4877c8 [2023-10-24T17:10:16.519Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:10:17.030Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T17:10:17.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:10:17.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-9974 does not seem to be running inside a container [2023-10-24T17:10:17.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T17:10:18.956Z] $ docker top 0368e805c2d828d80218fe79547394abb1fc856943eeadafb4dd4bb02caac114 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:10:19.938Z] + go version [2023-10-24T17:10:19.938Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T17:10:19.976Z] $ docker stop --time=1 0368e805c2d828d80218fe79547394abb1fc856943eeadafb4dd4bb02caac114 [2023-10-24T17:10:21.747Z] $ docker rm -f --volumes 0368e805c2d828d80218fe79547394abb1fc856943eeadafb4dd4bb02caac114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:10:22.676Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T17:10:22.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:10:22.978Z] prd-ubuntu20.04-docker-arm64-4c-16g-9974 does not seem to be running inside a container [2023-10-24T17:10:23.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T17:10:24.525Z] $ docker top e4909812c026c3ff7f56fe56896fb7868a1ea9040f62be8302d8ce9e9898d0e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:10:25.473Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T17:10:26.192Z] + make test [2023-10-24T17:10:26.192Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T17:10:31.571Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-10-24T17:12:53.366Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-10-24T17:12:53.366Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-10-24T17:12:53.366Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.203s coverage: 31.5% of statements [2023-10-24T17:13:08.464Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.919s coverage: 86.5% of statements [2023-10-24T17:13:08.464Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T17:13:08.464Z] go vet ./... [2023-10-24T17:13:40.793Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T17:13:40.793Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T17:13:40.793Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T17:13:40.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T17:13:40.869Z] $ docker stop --time=1 e4909812c026c3ff7f56fe56896fb7868a1ea9040f62be8302d8ce9e9898d0e5 [2023-10-24T17:13:45.604Z] $ docker rm -f --volumes e4909812c026c3ff7f56fe56896fb7868a1ea9040f62be8302d8ce9e9898d0e5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:13:47.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T17:13:47.117Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T17:13:47.718Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:13:48.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T17:13:48.682Z] + ls -al . [2023-10-24T17:13:48.682Z] total 232 [2023-10-24T17:13:48.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 17:10 . [2023-10-24T17:13:48.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:07 .. [2023-10-24T17:13:48.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 17:07 .git [2023-10-24T17:13:48.683Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:07 .github [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 422 Oct 24 17:07 .gitignore [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 17:07 .golangci.yml [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 11155 Oct 24 17:07 Attribution.txt [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 15932 Oct 24 17:07 CHANGELOG.md [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 1574 Oct 24 17:07 Dockerfile [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 17:07 GOVERNANCE.md [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 24 17:07 Jenkinsfile [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 17:07 LICENSE [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 2877 Oct 24 17:07 Makefile [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 17:07 OWNERS.md [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 24 17:07 README.md [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 17:04 VERSION [2023-10-24T17:13:48.683Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:07 bin [2023-10-24T17:13:48.683Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:07 cmd [2023-10-24T17:13:48.683Z] -rw-r--r-- 1 jenkins jenkins 78456 Oct 24 17:13 coverage.out [2023-10-24T17:13:48.683Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:07 doc [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 4087 Oct 24 17:07 go.mod [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 35688 Oct 24 17:07 go.sum [2023-10-24T17:13:48.683Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:07 internal [2023-10-24T17:13:48.683Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 17:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:13:49.116Z] + 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=9a86eff9c0a56d7bc59fca3868071ac413caa070 --label arch=arm64 --label version=0.0.0 . [2023-10-24T17:13:49.716Z] Sending build context to Docker daemon 14.26MB [2023-10-24T17:13:49.716Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:13:49.716Z] Step 2/26 : FROM ${BASE} AS builder [2023-10-24T17:13:49.716Z] ---> fd792e4877c8 [2023-10-24T17:13:49.716Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:13:49.988Z] ---> Running in ea805fc84534 [2023-10-24T17:13:50.585Z] Removing intermediate container ea805fc84534 [2023-10-24T17:13:50.585Z] ---> 292b9c9e56f6 [2023-10-24T17:13:50.585Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:13:50.585Z] ---> Running in 8b744c08bd1d [2023-10-24T17:13:50.853Z] Removing intermediate container 8b744c08bd1d [2023-10-24T17:13:50.853Z] ---> cbb72a23b28f [2023-10-24T17:13:50.853Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T17:13:50.853Z] ---> Running in bf65b2444a1a [2023-10-24T17:13:51.122Z] Removing intermediate container bf65b2444a1a [2023-10-24T17:13:51.122Z] ---> b6f69140e0e3 [2023-10-24T17:13:51.122Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:13:51.391Z] ---> Running in bbaab716629a [2023-10-24T17:13:51.666Z] Removing intermediate container bbaab716629a [2023-10-24T17:13:51.666Z] ---> 5d654e969154 [2023-10-24T17:13:51.666Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-10-24T17:13:51.935Z] ---> Running in 33f70793b5c3 [2023-10-24T17:13:52.209Z] Removing intermediate container 33f70793b5c3 [2023-10-24T17:13:52.209Z] ---> b0e326ea2d74 [2023-10-24T17:13:52.209Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:13:52.209Z] ---> Running in 8215b11096f9 [2023-10-24T17:13:53.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:13:54.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:13:55.486Z] OK: 266 MiB in 52 packages [2023-10-24T17:13:58.118Z] Removing intermediate container 8215b11096f9 [2023-10-24T17:13:58.118Z] ---> 8ee5e7564d89 [2023-10-24T17:13:58.118Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-10-24T17:13:58.118Z] ---> Running in bd389790bf70 [2023-10-24T17:13:58.118Z] Removing intermediate container bd389790bf70 [2023-10-24T17:13:58.118Z] ---> 4f5833e00689 [2023-10-24T17:13:58.118Z] Step 10/26 : COPY go.mod vendor* ./ [2023-10-24T17:13:58.705Z] ---> cf43d5a85d67 [2023-10-24T17:13:58.705Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:13:58.705Z] ---> Running in 18700c2fd62e [2023-10-24T17:14:02.090Z] Removing intermediate container 18700c2fd62e [2023-10-24T17:14:02.090Z] ---> aad2b4f86ec0 [2023-10-24T17:14:02.090Z] Step 12/26 : COPY . . [2023-10-24T17:14:03.514Z] ---> 9fb058d3d24c [2023-10-24T17:14:03.514Z] Step 13/26 : RUN ${MAKE} [2023-10-24T17:14:03.514Z] ---> Running in c059313dea49 [2023-10-24T17:14:04.934Z] 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.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-10-24T17:16:26.669Z] Removing intermediate container c059313dea49 [2023-10-24T17:16:26.669Z] ---> 0a0529d5fe9c [2023-10-24T17:16:26.669Z] Step 14/26 : FROM alpine:3.18 [2023-10-24T17:16:26.669Z] 3.18: Pulling from library/alpine [2023-10-24T17:16:26.669Z] 579b34f0a95b: Pulling fs layer [2023-10-24T17:16:26.669Z] 579b34f0a95b: Verifying Checksum [2023-10-24T17:16:26.669Z] 579b34f0a95b: Download complete [2023-10-24T17:16:26.669Z] 579b34f0a95b: Pull complete [2023-10-24T17:16:26.669Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T17:16:26.669Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T17:16:26.669Z] ---> 3cc203321400 [2023-10-24T17:16:26.669Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-10-24T17:16:26.669Z] ---> Running in 4e7dcb3f1296 [2023-10-24T17:16:26.669Z] Removing intermediate container 4e7dcb3f1296 [2023-10-24T17:16:26.669Z] ---> a76fda642d81 [2023-10-24T17:16:26.669Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-10-24T17:16:26.669Z] ---> Running in e49c64852fc5 [2023-10-24T17:16:26.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:16:26.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:16:26.669Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T17:16:26.669Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T17:16:26.669Z] OK: 8 MiB in 16 packages [2023-10-24T17:16:28.094Z] Removing intermediate container e49c64852fc5 [2023-10-24T17:16:28.094Z] ---> d73df73f3d04 [2023-10-24T17:16:28.094Z] Step 17/26 : WORKDIR / [2023-10-24T17:16:28.094Z] ---> Running in 73b0be4f6995 [2023-10-24T17:16:31.449Z] Removing intermediate container 73b0be4f6995 [2023-10-24T17:16:31.449Z] ---> 18e4f6306c38 [2023-10-24T17:16:31.449Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-10-24T17:16:33.434Z] ---> 44f9f8b9acd3 [2023-10-24T17:16:33.434Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-10-24T17:16:33.701Z] ---> 27af90ea4b60 [2023-10-24T17:16:33.701Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-10-24T17:16:34.681Z] ---> 4dc9785caa92 [2023-10-24T17:16:34.681Z] Step 21/26 : EXPOSE 59984 [2023-10-24T17:16:34.681Z] ---> Running in 836c8161df9b [2023-10-24T17:16:34.947Z] Removing intermediate container 836c8161df9b [2023-10-24T17:16:34.947Z] ---> 69758ccae94a [2023-10-24T17:16:34.947Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-10-24T17:16:34.947Z] ---> Running in 7fae5830b0b4 [2023-10-24T17:16:35.218Z] Removing intermediate container 7fae5830b0b4 [2023-10-24T17:16:35.218Z] ---> e4f9caee45ad [2023-10-24T17:16:35.218Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T17:16:35.218Z] ---> Running in 2fa255b9891c [2023-10-24T17:16:35.802Z] Removing intermediate container 2fa255b9891c [2023-10-24T17:16:35.802Z] ---> 5fb023563a2e [2023-10-24T17:16:35.802Z] Step 24/26 : LABEL arch=arm64 [2023-10-24T17:16:35.802Z] ---> Running in d72a4892b713 [2023-10-24T17:16:36.070Z] Removing intermediate container d72a4892b713 [2023-10-24T17:16:36.070Z] ---> eb82de457565 [2023-10-24T17:16:36.070Z] Step 25/26 : LABEL git_sha=9a86eff9c0a56d7bc59fca3868071ac413caa070 [2023-10-24T17:16:36.070Z] ---> Running in e064b5fe5ef2 [2023-10-24T17:16:36.659Z] Removing intermediate container e064b5fe5ef2 [2023-10-24T17:16:36.659Z] ---> 7a8a723faed2 [2023-10-24T17:16:36.659Z] Step 26/26 : LABEL version=0.0.0 [2023-10-24T17:16:36.659Z] ---> Running in 6cf40b987e01 [2023-10-24T17:16:36.926Z] Removing intermediate container 6cf40b987e01 [2023-10-24T17:16:36.926Z] ---> 82411a020c7f [2023-10-24T17:16:36.926Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T17:16:36.926Z] Successfully built 82411a020c7f [2023-10-24T17:16:36.926Z] 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-24T17:16:37.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:16:37.757Z] [2023-10-24T17:16:37.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:16:38.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:16:38.437Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T17:16:38.437Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T17:16:38.437Z] 04944245beec: Pulling fs layer [2023-10-24T17:16:38.437Z] 699f458cf7ca: Pulling fs layer [2023-10-24T17:16:38.437Z] 765212b225bb: Pulling fs layer [2023-10-24T17:16:38.437Z] f23df028b6ca: Pulling fs layer [2023-10-24T17:16:38.437Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T17:16:38.437Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T17:16:38.437Z] 765212b225bb: Waiting [2023-10-24T17:16:38.437Z] f23df028b6ca: Waiting [2023-10-24T17:16:38.437Z] d65c8cfc05b1: Waiting [2023-10-24T17:16:38.438Z] 2437ff75d9bd: Waiting [2023-10-24T17:16:38.438Z] 04944245beec: Verifying Checksum [2023-10-24T17:16:38.438Z] 04944245beec: Download complete [2023-10-24T17:16:38.438Z] 765212b225bb: Verifying Checksum [2023-10-24T17:16:38.438Z] 765212b225bb: Download complete [2023-10-24T17:16:38.438Z] f23df028b6ca: Download complete [2023-10-24T17:16:38.438Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T17:16:38.438Z] d65c8cfc05b1: Download complete [2023-10-24T17:16:38.712Z] 699f458cf7ca: Verifying Checksum [2023-10-24T17:16:38.712Z] 699f458cf7ca: Download complete [2023-10-24T17:16:39.303Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T17:16:39.303Z] 8998bd30e6a1: Download complete [2023-10-24T17:16:41.894Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T17:16:41.894Z] 2437ff75d9bd: Download complete [2023-10-24T17:16:46.146Z] 8998bd30e6a1: Pull complete [2023-10-24T17:16:46.146Z] 04944245beec: Pull complete [2023-10-24T17:16:48.087Z] 699f458cf7ca: Pull complete [2023-10-24T17:16:48.087Z] 765212b225bb: Pull complete [2023-10-24T17:16:49.042Z] f23df028b6ca: Pull complete [2023-10-24T17:16:49.309Z] d65c8cfc05b1: Pull complete [2023-10-24T17:17:07.502Z] 2437ff75d9bd: Pull complete [2023-10-24T17:17:07.502Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T17:17:07.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:17:07.502Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:17:07.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-9974 does not seem to be running inside a container [2023-10-24T17:17:07.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T17:17:10.984Z] $ docker top bcfbf3542091c1dea68874894f719bbfbd51f9b10d86715853089807ecdabaeb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:17:11.915Z] ---> job-cost.sh [2023-10-24T17:17:11.916Z] lf-activate-venv: SKIPPING [2023-10-24T17:17:11.916Z] INFO: No Stack... [2023-10-24T17:17:12.497Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T17:17:13.078Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T17:17:13.743Z] + + cut -d, -f6 [2023-10-24T17:17:13.743Z] cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-10-24T17:17:13.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-396-1-stack-cost] [2023-10-24T17:17:13.832Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-396-1-stack-cost] did not exist. Created. [2023-10-24T17:17:13.832Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T17:17:14.578Z] /w/workspace/device-onvif-camera/1@tmp/durable-bcf9df9a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T17:17:15.250Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T17:17:15.287Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T17:17:15.358Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T17:17:15.373Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T17:17:15.459Z] $ docker stop --time=1 bcfbf3542091c1dea68874894f719bbfbd51f9b10d86715853089807ecdabaeb [2023-10-24T17:17:17.083Z] $ docker rm -f --volumes bcfbf3542091c1dea68874894f719bbfbd51f9b10d86715853089807ecdabaeb [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-24T17:17:18.108Z] provisioning config files... [2023-10-24T17:17:18.115Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-396@tmp/config5737959799876523143tmp [Pipeline] { [Pipeline] sh [2023-10-24T17:17:18.448Z] + set +x [2023-10-24T17:17:18.448Z] + curl -s https://codecov.io/bash [2023-10-24T17:17:18.448Z] + bash -s -- [2023-10-24T17:17:18.448Z] [2023-10-24T17:17:18.448Z] _____ _ [2023-10-24T17:17:18.448Z] / ____| | | [2023-10-24T17:17:18.448Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T17:17:18.448Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T17:17:18.448Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T17:17:18.448Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T17:17:18.448Z] Bash-1.0.6 [2023-10-24T17:17:18.448Z] [2023-10-24T17:17:18.448Z] [2023-10-24T17:17:18.448Z] ==> git version 2.25.1 found [2023-10-24T17:17:18.448Z] ==> 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-24T17:17:18.448Z] Release-Date: 2020-01-08 [2023-10-24T17:17:18.448Z] 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-24T17:17:18.448Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T17:17:18.448Z] ==> Jenkins CI detected. [2023-10-24T17:17:18.448Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-396 [2023-10-24T17:17:18.448Z] project root: . [2023-10-24T17:17:18.448Z] --> token set from env [2023-10-24T17:17:18.448Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T17:17:18.448Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T17:17:18.448Z] ==> Python coveragepy not found [2023-10-24T17:17:18.448Z] ==> Searching for coverage reports in: [2023-10-24T17:17:18.448Z] + . [2023-10-24T17:17:18.448Z] -> Found 1 reports [2023-10-24T17:17:18.448Z] ==> Detecting git/mercurial file structure [2023-10-24T17:17:18.448Z] ==> Reading reports [2023-10-24T17:17:18.448Z] + ./coverage.out bytes=78456 [2023-10-24T17:17:18.448Z] ==> Appending adjustments [2023-10-24T17:17:18.448Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T17:17:18.708Z] + Found adjustments [2023-10-24T17:17:18.708Z] ==> Gzipping contents [2023-10-24T17:17:18.708Z] 12K /tmp/codecov.5slHPt.gz [2023-10-24T17:17:18.708Z] ==> Uploading reports [2023-10-24T17:17:18.708Z] url: https://codecov.io [2023-10-24T17:17:18.708Z] query: branch=PR-396&commit=9a86eff9c0a56d7bc59fca3868071ac413caa070&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=396&job=&cmd_args= [2023-10-24T17:17:18.708Z] -> Pinging Codecov [2023-10-24T17:17:18.708Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-396&commit=9a86eff9c0a56d7bc59fca3868071ac413caa070&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=396&job=&cmd_args= [2023-10-24T17:17:18.968Z] -> Uploading to [2023-10-24T17:17:18.968Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/F29A59C45E3A92E06B3E522C9905F8EF/9a86eff9c0a56d7bc59fca3868071ac413caa070/7bbe6b81-7fa5-449c-a3cf-24b18d4d372d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T171718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b44b6e4b3e13bd0a0e59f8c21f5e099b2e25e2919b71e9ec3d6a20cd3d9cba6 [2023-10-24T17:17:18.968Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T17:17:18.968Z] Dload Upload Total Spent Left Speed [2023-10-24T17:17:19.226Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 33915 --:--:-- --:--:-- --:--:-- 33915 [2023-10-24T17:17:19.226Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9a86eff9c0a56d7bc59fca3868071ac413caa070 [Pipeline] } [2023-10-24T17:17:19.253Z] 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-24T17:17:21.021Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-396/archives ] [2023-10-24T17:17:21.021Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-396/archives [2023-10-24T17:17:21.021Z] total 16 [2023-10-24T17:17:21.021Z] drwxr-xr-x 3 root root 4096 Oct 24 17:06 . [2023-10-24T17:17:21.021Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 17:06 .. [2023-10-24T17:17:21.021Z] drwxr-xr-x 2 root root 4096 Oct 24 17:06 cost [2023-10-24T17:17:21.021Z] -rw-r--r-- 1 root root 91 Oct 24 17:06 cost.csv [2023-10-24T17:17:21.021Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-396/archives [2023-10-24T17:17:21.021Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-396/archives [2023-10-24T17:17:21.021Z] total 16 [2023-10-24T17:17:21.021Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 17:06 . [2023-10-24T17:17:21.021Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 17:06 .. [2023-10-24T17:17:21.021Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 17:06 cost [2023-10-24T17:17:21.021Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 24 17:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:17:21.351Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:17:22.240Z] ---> package-listing.sh [2023-10-24T17:17:22.240Z] ++ facter osfamily [2023-10-24T17:17:22.240Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T17:17:22.499Z] + OS_FAMILY=debian [2023-10-24T17:17:22.499Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-396 [2023-10-24T17:17:22.499Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T17:17:22.499Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T17:17:22.499Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T17:17:22.499Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T17:17:22.499Z] + '[' /w/workspace/undry_device-onvif-camera_PR-396 ']' [2023-10-24T17:17:22.499Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T17:17:22.499Z] + case "${OS_FAMILY}" in [2023-10-24T17:17:22.499Z] + dpkg -l [2023-10-24T17:17:22.499Z] + grep '^ii' [2023-10-24T17:17:22.499Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T17:17:22.499Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T17:17:22.499Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T17:17:22.499Z] + '[' /w/workspace/undry_device-onvif-camera_PR-396 ']' [2023-10-24T17:17:22.499Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-396/archives/ [2023-10-24T17:17:22.499Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-396/archives/ [Pipeline] echo [2023-10-24T17:17:22.531Z] 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T17:17:22.826Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:17:23.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:17:23.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:17:23.675Z] prd-ubuntu20.04-docker-8c-8g-9967 does not seem to be running inside a container [2023-10-24T17:17:23.713Z] $ 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-396/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-396 -v /w/workspace/undry_device-onvif-camera_PR-396:/w/workspace/undry_device-onvif-camera_PR-396:rw,z -v /w/workspace/undry_device-onvif-camera_PR-396@tmp:/w/workspace/undry_device-onvif-camera_PR-396@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-24T17:17:23.913Z] $ docker top 6ed79acbe2787860601221eb18b85ef2a875fa31785827ac12b85f702d18b17f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:17:24.319Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T17:17:24.630Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T17:17:24.941Z] + ls /var/log/sa-host [2023-10-24T17:17:24.942Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:17:25.082Z] provisioning config files... [2023-10-24T17:17:25.091Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-396@tmp/config17938854211149425182tmp [Pipeline] { [Pipeline] echo [2023-10-24T17:17:25.146Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:17:25.469Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T17:17:25.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:17:25.893Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T17:17:25.928Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:17:26.233Z] ---> sudo-logs.sh [2023-10-24T17:17:26.234Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T17:17:26.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:17:26.629Z] ---> job-cost.sh [2023-10-24T17:17:26.629Z] lf-activate-venv: SKIPPING [2023-10-24T17:17:26.629Z] DEBUG: total: 0.2199999988079071 [2023-10-24T17:17:26.629Z] INFO: Retrieving Stack Cost... [2023-10-24T17:17:26.888Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T17:17:27.456Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T17:17:27.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:17:27.797Z] ---> logs-deploy.sh [2023-10-24T17:17:27.797Z] lf-activate-venv: SKIPPING [2023-10-24T17:17:27.797Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-396/1 [2023-10-24T17:17:27.797Z] INFO: archiving workspace using pattern(s): [2023-10-24T17:17:28.729Z] Archives upload complete. [2023-10-24T17:17:28.729Z] INFO: archiving logs to Nexus