Pull request #277 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0fd25405b18b6963bcaddf165fb910228c73f0f2+01fe4c452c1c0c1ad9fb2e18d81433e35514c064 (02b235959b55afb1d5d475cd8668939cd07e71f1) 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-ssh9571730219255377227.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh12276205117016618648.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-usb-camera/branches/PR-277/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-usb-camera/branches/PR-277/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6945396383223215042.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-usb-camera/branches/PR-277/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3975810589377185306.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh9827926332815114153.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-usb-camera/branches/PR-277/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-usb-camera/branches/PR-277/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16338679474231429946.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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 ‘prd-ubuntu20.04-docker-8c-8g-4909’ Running on prd-ubuntu20.04-docker-8c-8g-4911 in /w/workspace/foundry_device-usb-camera_PR-277 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-277 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 into PR head commit 0fd25405b18b6963bcaddf165fb910228c73f0f2 Merge succeeded, producing 0fd25405b18b6963bcaddf165fb910228c73f0f2 Checking out Revision 0fd25405b18b6963bcaddf165fb910228c73f0f2 (PR-277) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fd25405b18b6963bcaddf165fb910228c73f0f2 # 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 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fd25405b18b6963bcaddf165fb910228c73f0f2 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-30T17:46:12.930Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-30T17:46:13.095Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-30T17:46:13.199Z] ========================================================= [2023-08-30T17:46:13.199Z] EdgeX Global Pipelines Version Info [2023-08-30T17:46:13.199Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:46:14.144Z] ------------------- [2023-08-30T17:46:14.145Z] stable info: [2023-08-30T17:46:14.145Z] ------------------- [2023-08-30T17:46:14.145Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-30T17:46:14.145Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T17:46:14.145Z] Message: update stable to v1.0.253 [2023-08-30T17:46:14.716Z] ------------------- [2023-08-30T17:46:14.716Z] experimental info: [2023-08-30T17:46:14.716Z] ------------------- [2023-08-30T17:46:14.716Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-30T17:46:14.716Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T17:46:14.716Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-30T17:46:15.013Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-30T17:46:15.049Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-30T17:46:15.092Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-30T17:46:15.132Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-30T17:46:15.169Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-30T17:46:15.206Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-30T17:46:15.245Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-30T17:46:15.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-30T17:46:15.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-30T17:46:15.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-30T17:46:15.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-30T17:46:15.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-30T17:46:15.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-30T17:46:15.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-30T17:46:15.575Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-30T17:46:15.615Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-30T17:46:15.659Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T17:46:15.703Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T17:46:15.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-30T17:46:15.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-30T17:46:15.838Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-30T17:46:15.879Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-30T17:46:15.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-30T17:46:15.973Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-30T17:46:16.016Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-30T17:46:16.058Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-30T17:46:16.101Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-30T17:46:16.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-277 [Pipeline] echo [2023-08-30T17:46:16.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-277 [Pipeline] echo [2023-08-30T17:46:16.238Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-277 [Pipeline] echo [2023-08-30T17:46:16.284Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fd25405b18b6963bcaddf165fb910228c73f0f2 [Pipeline] echo [2023-08-30T17:46:16.328Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fd2540 [Pipeline] echo [2023-08-30T17:46:16.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T17:46:16.506Z] provisioning config files... [2023-08-30T17:46:16.526Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-277@tmp/config4049329716663441447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:46:16.874Z] ---> docker-login.sh [2023-08-30T17:46:16.874Z] nexus3.edgexfoundry.org:10001 [2023-08-30T17:46:17.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:17.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:17.134Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:17.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:17.134Z] [2023-08-30T17:46:17.134Z] Login Succeeded [2023-08-30T17:46:17.134Z] nexus3.edgexfoundry.org:10002 [2023-08-30T17:46:17.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:17.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:17.134Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:17.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:17.134Z] [2023-08-30T17:46:17.134Z] Login Succeeded [2023-08-30T17:46:17.134Z] nexus3.edgexfoundry.org:10003 [2023-08-30T17:46:17.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:17.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:17.393Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:17.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:17.393Z] [2023-08-30T17:46:17.393Z] Login Succeeded [2023-08-30T17:46:17.393Z] nexus3.edgexfoundry.org:10004 [2023-08-30T17:46:17.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:17.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:17.393Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:17.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:17.393Z] [2023-08-30T17:46:17.393Z] Login Succeeded [2023-08-30T17:46:17.393Z] docker.io [2023-08-30T17:46:17.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:17.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:17.652Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:17.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:17.652Z] [2023-08-30T17:46:17.652Z] Login Succeeded [2023-08-30T17:46:17.652Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T17:46:17.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-30T17:46:18.331Z] + git rev-list -1 --merges 0fd25405b18b6963bcaddf165fb910228c73f0f2~1..0fd25405b18b6963bcaddf165fb910228c73f0f2 [Pipeline] echo [2023-08-30T17:46:18.392Z] -----------> git rev-list -1 --merges 0fd25405b18b6963bcaddf165fb910228c73f0f2~1..0fd25405b18b6963bcaddf165fb910228c73f0f2 0fd25405b18b6963bcaddf165fb910228c73f0f2 [false] [Pipeline] sh [2023-08-30T17:46:18.709Z] + git log --format=format:%s -1 0fd25405b18b6963bcaddf165fb910228c73f0f2 [Pipeline] echo [2023-08-30T17:46:18.749Z] ========================================================= [2023-08-30T17:46:18.749Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-30T17:46:18.749Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T17:46:19.185Z] + git log --format=format:%s -1 0fd25405b18b6963bcaddf165fb910228c73f0f2 [Pipeline] echo [2023-08-30T17:46:19.217Z] [semverPrep] GIT_COMMIT: 0fd25405b18b6963bcaddf165fb910228c73f0f2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-08-30T17:46:19.248Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-30T17:46:19.727Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T17:46:19.727Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-30T17:46:19.727Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-30T17:46:19.727Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-30T17:46:19.727Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-30T17:46:19.727Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-30T17:46:19.727Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:46:20.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T17:46:20.150Z] [2023-08-30T17:46:20.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:46:20.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T17:46:20.517Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-30T17:46:20.517Z] b85a868b505f: Pulling fs layer [2023-08-30T17:46:20.517Z] e2be974225ed: Pulling fs layer [2023-08-30T17:46:20.517Z] 339a4e72a1f5: Pulling fs layer [2023-08-30T17:46:20.517Z] 988bab9f4d93: Pulling fs layer [2023-08-30T17:46:20.517Z] 1469e6f7b9e6: Pulling fs layer [2023-08-30T17:46:20.517Z] eaf3925da568: Pulling fs layer [2023-08-30T17:46:20.517Z] bab4dde63d76: Pulling fs layer [2023-08-30T17:46:20.517Z] bde34c3a00c8: Pulling fs layer [2023-08-30T17:46:20.517Z] b352a97aabf1: Pulling fs layer [2023-08-30T17:46:20.517Z] 4872d77fe225: Pulling fs layer [2023-08-30T17:46:20.517Z] 5851b861e8e6: Pulling fs layer [2023-08-30T17:46:20.517Z] eaf3925da568: Waiting [2023-08-30T17:46:20.517Z] bab4dde63d76: Waiting [2023-08-30T17:46:20.517Z] 988bab9f4d93: Waiting [2023-08-30T17:46:20.517Z] bde34c3a00c8: Waiting [2023-08-30T17:46:20.517Z] b352a97aabf1: Waiting [2023-08-30T17:46:20.517Z] 4872d77fe225: Waiting [2023-08-30T17:46:20.517Z] 1469e6f7b9e6: Waiting [2023-08-30T17:46:20.517Z] 5851b861e8e6: Waiting [2023-08-30T17:46:20.517Z] e2be974225ed: Verifying Checksum [2023-08-30T17:46:20.517Z] e2be974225ed: Download complete [2023-08-30T17:46:20.517Z] 988bab9f4d93: Verifying Checksum [2023-08-30T17:46:20.517Z] 988bab9f4d93: Download complete [2023-08-30T17:46:20.517Z] 1469e6f7b9e6: Verifying Checksum [2023-08-30T17:46:20.517Z] 1469e6f7b9e6: Download complete [2023-08-30T17:46:20.517Z] 339a4e72a1f5: Verifying Checksum [2023-08-30T17:46:20.517Z] 339a4e72a1f5: Download complete [2023-08-30T17:46:20.517Z] eaf3925da568: Download complete [2023-08-30T17:46:20.776Z] bde34c3a00c8: Download complete [2023-08-30T17:46:20.776Z] b352a97aabf1: Verifying Checksum [2023-08-30T17:46:20.776Z] b352a97aabf1: Download complete [2023-08-30T17:46:20.776Z] 4872d77fe225: Download complete [2023-08-30T17:46:20.776Z] 5851b861e8e6: Verifying Checksum [2023-08-30T17:46:20.776Z] 5851b861e8e6: Download complete [2023-08-30T17:46:20.776Z] b85a868b505f: Verifying Checksum [2023-08-30T17:46:20.776Z] b85a868b505f: Download complete [2023-08-30T17:46:21.035Z] bab4dde63d76: Verifying Checksum [2023-08-30T17:46:21.035Z] bab4dde63d76: Download complete [2023-08-30T17:46:21.973Z] b85a868b505f: Pull complete [2023-08-30T17:46:22.233Z] e2be974225ed: Pull complete [2023-08-30T17:46:22.802Z] 339a4e72a1f5: Pull complete [2023-08-30T17:46:22.802Z] 988bab9f4d93: Pull complete [2023-08-30T17:46:23.062Z] 1469e6f7b9e6: Pull complete [2023-08-30T17:46:23.062Z] eaf3925da568: Pull complete [2023-08-30T17:46:25.005Z] bab4dde63d76: Pull complete [2023-08-30T17:46:25.005Z] bde34c3a00c8: Pull complete [2023-08-30T17:46:25.005Z] b352a97aabf1: Pull complete [2023-08-30T17:46:25.265Z] 4872d77fe225: Pull complete [2023-08-30T17:46:25.266Z] 5851b861e8e6: Pull complete [2023-08-30T17:46:25.266Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-30T17:46:25.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T17:46:25.266Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T17:46:25.514Z] prd-ubuntu20.04-docker-8c-8g-4911 does not seem to be running inside a container [2023-08-30T17:46:25.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-277 -v /w/workspace/foundry_device-usb-camera_PR-277:/w/workspace/foundry_device-usb-camera_PR-277:rw,z -v /w/workspace/foundry_device-usb-camera_PR-277@tmp:/w/workspace/foundry_device-usb-camera_PR-277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-30T17:46:29.623Z] $ docker top c110d8412df62c276ca4c11c435302be64cd79da348dacd7e66b6342b17c291e -eo pid,comm [2023-08-30T17:46:29.681Z] 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-08-30T17:46:29.681Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T17:46:29.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T17:46:29.815Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T17:46:29.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T17:46:29.938Z] $ docker exec c110d8412df62c276ca4c11c435302be64cd79da348dacd7e66b6342b17c291e ssh-agent [2023-08-30T17:46:30.051Z] SSH_AUTH_SOCK=/tmp/ssh-2CJGC0pAOLa6/agent.32 [2023-08-30T17:46:30.051Z] SSH_AGENT_PID=38 [2023-08-30T17:46:30.058Z] Running ssh-add (command line suppressed) [2023-08-30T17:46:30.149Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-277@tmp/private_key_8113729279418453098.key (/w/workspace/foundry_device-usb-camera_PR-277@tmp/private_key_8113729279418453098.key) [2023-08-30T17:46:30.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T17:46:30.506Z] + git tag --points-at HEAD [Pipeline] } [2023-08-30T17:46:30.527Z] $ docker exec --env ******** --env ******** c110d8412df62c276ca4c11c435302be64cd79da348dacd7e66b6342b17c291e ssh-agent -k [2023-08-30T17:46:30.618Z] unset SSH_AUTH_SOCK; [2023-08-30T17:46:30.618Z] unset SSH_AGENT_PID; [2023-08-30T17:46:30.619Z] echo Agent pid 38 killed; [2023-08-30T17:46:30.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-30T17:46:30.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T17:46:30.726Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T17:46:30.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T17:46:30.844Z] $ docker exec c110d8412df62c276ca4c11c435302be64cd79da348dacd7e66b6342b17c291e ssh-agent [2023-08-30T17:46:30.959Z] SSH_AUTH_SOCK=/tmp/ssh-EtNyI5p3UBDM/agent.70 [2023-08-30T17:46:30.959Z] SSH_AGENT_PID=76 [2023-08-30T17:46:30.964Z] Running ssh-add (command line suppressed) [2023-08-30T17:46:31.056Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-277@tmp/private_key_12556779676088707561.key (/w/workspace/foundry_device-usb-camera_PR-277@tmp/private_key_12556779676088707561.key) [2023-08-30T17:46:31.072Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T17:46:31.401Z] + git semver init [2023-08-30T17:46:31.662Z] 2023-08-30 17:46:31,568 [run_init] DEBUG init version:0.0.0 force:False [2023-08-30T17:46:31.662Z] 2023-08-30 17:46:31,568 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-277/.semver [2023-08-30T17:46:31.662Z] 2023-08-30 17:46:31,569 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-277/.semver [2023-08-30T17:46:31.662Z] 2023-08-30 17:46:31,569 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-277/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-277, universal_newlines=False, shell=None, istream=None) [2023-08-30T17:46:32.603Z] 2023-08-30 17:46:32,264 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-277/.git/info/exclude [2023-08-30T17:46:32.603Z] 2023-08-30 17:46:32,265 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-277/.semver/PR-277 with force:False [2023-08-30T17:46:32.603Z] 2023-08-30 17:46:32,265 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-277/.semver/PR-277 [2023-08-30T17:46:32.603Z] 2023-08-30 17:46:32,269 [execute] INFO git cat-file --batch-check [2023-08-30T17:46:32.603Z] 2023-08-30 17:46:32,270 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-277/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T17:46:32.603Z] 2023-08-30 17:46:32,275 [execute] INFO git cat-file --batch [2023-08-30T17:46:32.603Z] 2023-08-30 17:46:32,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-277/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T17:46:32.603Z] 2023-08-30 17:46:32,279 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-277/.semver/PR-277 [2023-08-30T17:46:32.603Z] 0.0.0 [Pipeline] } [2023-08-30T17:46:32.625Z] $ docker exec --env ******** --env ******** c110d8412df62c276ca4c11c435302be64cd79da348dacd7e66b6342b17c291e ssh-agent -k [2023-08-30T17:46:32.728Z] unset SSH_AUTH_SOCK; [2023-08-30T17:46:32.728Z] unset SSH_AGENT_PID; [2023-08-30T17:46:32.728Z] echo Agent pid 76 killed; [2023-08-30T17:46:32.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T17:46:33.162Z] + git semver [Pipeline] } [2023-08-30T17:46:33.448Z] $ docker stop --time=1 c110d8412df62c276ca4c11c435302be64cd79da348dacd7e66b6342b17c291e [2023-08-30T17:46:34.705Z] $ docker rm -f --volumes c110d8412df62c276ca4c11c435302be64cd79da348dacd7e66b6342b17c291e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T17:46:35.114Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-30T17:46:35.362Z] Stashed 1 file(s) [Pipeline] echo [2023-08-30T17:46:35.379Z] [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-08-30T17:46:35.951Z] provisioning config files... [2023-08-30T17:46:35.962Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-277@tmp/config4312988006287148135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:46:36.315Z] ---> docker-login.sh [2023-08-30T17:46:36.316Z] nexus3.edgexfoundry.org:10001 [2023-08-30T17:46:36.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:36.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:36.316Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:36.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:36.316Z] [2023-08-30T17:46:36.316Z] Login Succeeded [2023-08-30T17:46:36.316Z] nexus3.edgexfoundry.org:10002 [2023-08-30T17:46:36.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:36.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:36.316Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:36.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:36.316Z] [2023-08-30T17:46:36.316Z] Login Succeeded [2023-08-30T17:46:36.316Z] nexus3.edgexfoundry.org:10003 [2023-08-30T17:46:36.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:36.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:36.575Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:36.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:36.575Z] [2023-08-30T17:46:36.575Z] Login Succeeded [2023-08-30T17:46:36.575Z] nexus3.edgexfoundry.org:10004 [2023-08-30T17:46:36.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:36.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:36.575Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:36.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:36.575Z] [2023-08-30T17:46:36.575Z] Login Succeeded [2023-08-30T17:46:36.575Z] docker.io [2023-08-30T17:46:36.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:46:36.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:46:36.834Z] Configure a credential helper to remove this warning. See [2023-08-30T17:46:36.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:46:36.834Z] [2023-08-30T17:46:36.834Z] Login Succeeded [2023-08-30T17:46:36.834Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T17:46:36.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T17:46:37.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T17:46:37.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T17:46:37.207Z] ========================================================= [2023-08-30T17:46:37.207Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-30T17:46:37.207Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:46:37.682Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-30T17:46:37.682Z] Sending build context to Docker daemon 2.124MB [2023-08-30T17:46:37.682Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T17:46:37.682Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-30T17:46:37.682Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-30T17:46:37.682Z] 4db1b89c0bd1: Pulling fs layer [2023-08-30T17:46:37.682Z] 6911f1a30b25: Pulling fs layer [2023-08-30T17:46:37.683Z] e194b8c5c2a9: Pulling fs layer [2023-08-30T17:46:37.683Z] 6863d3e3a2b1: Pulling fs layer [2023-08-30T17:46:37.683Z] ec0bb842ea78: Pulling fs layer [2023-08-30T17:46:37.683Z] 40a00589a448: Pulling fs layer [2023-08-30T17:46:37.683Z] 6c08303d61cc: Pulling fs layer [2023-08-30T17:46:37.683Z] 798269fcf238: Pulling fs layer [2023-08-30T17:46:37.683Z] 6863d3e3a2b1: Waiting [2023-08-30T17:46:37.683Z] 798269fcf238: Waiting [2023-08-30T17:46:37.683Z] 6c08303d61cc: Waiting [2023-08-30T17:46:37.683Z] ec0bb842ea78: Waiting [2023-08-30T17:46:37.683Z] 40a00589a448: Waiting [2023-08-30T17:46:37.683Z] 6911f1a30b25: Download complete [2023-08-30T17:46:37.945Z] 6863d3e3a2b1: Verifying Checksum [2023-08-30T17:46:37.945Z] 6863d3e3a2b1: Download complete [2023-08-30T17:46:37.945Z] ec0bb842ea78: Verifying Checksum [2023-08-30T17:46:37.945Z] ec0bb842ea78: Download complete [2023-08-30T17:46:37.945Z] 4db1b89c0bd1: Verifying Checksum [2023-08-30T17:46:37.945Z] 4db1b89c0bd1: Download complete [2023-08-30T17:46:37.945Z] 40a00589a448: Verifying Checksum [2023-08-30T17:46:37.945Z] 40a00589a448: Download complete [2023-08-30T17:46:37.945Z] 4db1b89c0bd1: Pull complete [2023-08-30T17:46:38.207Z] 6911f1a30b25: Pull complete [2023-08-30T17:46:38.465Z] 798269fcf238: Verifying Checksum [2023-08-30T17:46:38.465Z] 798269fcf238: Download complete [2023-08-30T17:46:38.465Z] e194b8c5c2a9: Verifying Checksum [2023-08-30T17:46:38.465Z] e194b8c5c2a9: Download complete [2023-08-30T17:46:38.724Z] 6c08303d61cc: Verifying Checksum [2023-08-30T17:46:38.724Z] 6c08303d61cc: Download complete [2023-08-30T17:46:42.010Z] e194b8c5c2a9: Pull complete [2023-08-30T17:46:42.010Z] 6863d3e3a2b1: Pull complete [2023-08-30T17:46:42.010Z] ec0bb842ea78: Pull complete [2023-08-30T17:46:42.010Z] 40a00589a448: Pull complete [2023-08-30T17:46:44.541Z] 6c08303d61cc: Pull complete [2023-08-30T17:46:45.476Z] 798269fcf238: Pull complete [2023-08-30T17:46:45.476Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-30T17:46:45.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-30T17:46:45.476Z] ---> ec979cd7f677 [2023-08-30T17:46:45.476Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-30T17:46:50.746Z] ---> Running in e89f9187d854 [2023-08-30T17:46:50.746Z] Removing intermediate container e89f9187d854 [2023-08-30T17:46:50.746Z] ---> fc6212245f63 [2023-08-30T17:46:50.746Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-30T17:46:50.746Z] ---> Running in 7e34d0928bf9 [2023-08-30T17:46:50.746Z] Removing intermediate container 7e34d0928bf9 [2023-08-30T17:46:50.746Z] ---> ffeecb93a054 [2023-08-30T17:46:50.746Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-30T17:46:50.746Z] ---> Running in 482bf583ba9a [2023-08-30T17:46:50.746Z] Removing intermediate container 482bf583ba9a [2023-08-30T17:46:50.746Z] ---> 5d5e9437a0d0 [2023-08-30T17:46:50.746Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-30T17:46:50.746Z] ---> Running in 63a3b9382455 [2023-08-30T17:46:50.746Z] Removing intermediate container 63a3b9382455 [2023-08-30T17:46:50.746Z] ---> 209044b2ee6c [2023-08-30T17:46:50.746Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-30T17:46:50.746Z] ---> Running in 8ef7f08b72cf [2023-08-30T17:46:50.781Z] Still waiting to schedule task [2023-08-30T17:46:50.781Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4910’ is offline [2023-08-30T17:46:51.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T17:46:51.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T17:46:51.527Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-30T17:46:51.528Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-30T17:46:51.528Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-30T17:46:51.528Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-30T17:46:51.528Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-30T17:46:51.786Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-30T17:46:51.786Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-30T17:46:51.786Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-30T17:46:51.786Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-30T17:46:51.786Z] (10/14) Installing kmod-libs (30-r1) [2023-08-30T17:46:51.786Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-30T17:46:51.786Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-30T17:46:51.786Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-30T17:46:51.786Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-30T17:46:51.786Z] Executing busybox-1.35.0-r29.trigger [2023-08-30T17:46:51.786Z] Executing eudev-3.2.11-r4.trigger [2023-08-30T17:46:51.786Z] OK: 272 MiB in 67 packages [2023-08-30T17:46:52.355Z] Removing intermediate container 8ef7f08b72cf [2023-08-30T17:46:52.355Z] ---> 48524890200c [2023-08-30T17:46:52.355Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-30T17:46:52.614Z] ---> Running in 49509b4b4fae [2023-08-30T17:46:52.614Z] Removing intermediate container 49509b4b4fae [2023-08-30T17:46:52.614Z] ---> 78e9270c228e [2023-08-30T17:46:52.614Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-30T17:46:52.614Z] ---> c1c4375f888a [2023-08-30T17:46:52.614Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T17:46:52.614Z] ---> Running in e51ca83e19ae [2023-08-30T17:47:31.344Z] Removing intermediate container e51ca83e19ae [2023-08-30T17:47:31.344Z] ---> 8a89f051a4ed [2023-08-30T17:47:31.344Z] Step 11/13 : COPY . . [2023-08-30T17:47:31.344Z] ---> bac9d44796be [2023-08-30T17:47:31.344Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-30T17:47:31.344Z] ---> Running in cdf456f1f7ba [2023-08-30T17:47:31.344Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T17:47:31.344Z] Dload Upload Total Spent Left Speed [2023-08-30T17:47:31.344Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 8148 0 --:--:-- --:--:-- --:--:-- 8189 [2023-08-30T17:47:31.344Z] Removing intermediate container cdf456f1f7ba [2023-08-30T17:47:31.344Z] ---> 9e7ff94a92be [2023-08-30T17:47:31.344Z] Step 13/13 : RUN ${MAKE} [2023-08-30T17:47:31.344Z] ---> Running in 25d7c377e540 [2023-08-30T17:47:31.344Z] noop [2023-08-30T17:47:31.344Z] Removing intermediate container 25d7c377e540 [2023-08-30T17:47:31.344Z] ---> 8f99c739050c [2023-08-30T17:47:31.344Z] Successfully built 8f99c739050c [2023-08-30T17:47:31.344Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:47:31.799Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T17:47:31.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T17:47:31.997Z] prd-ubuntu20.04-docker-8c-8g-4911 does not seem to be running inside a container [2023-08-30T17:47:32.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-277 -v /w/workspace/foundry_device-usb-camera_PR-277:/w/workspace/foundry_device-usb-camera_PR-277:rw,z -v /w/workspace/foundry_device-usb-camera_PR-277@tmp:/w/workspace/foundry_device-usb-camera_PR-277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-30T17:47:32.370Z] $ docker top cc1ba4ead5899ecd05929655aa9e0613d378a075faeb4e2dcf0daf569d38d74f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T17:47:32.762Z] + go version [2023-08-30T17:47:32.762Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-30T17:47:32.813Z] $ docker stop --time=1 cc1ba4ead5899ecd05929655aa9e0613d378a075faeb4e2dcf0daf569d38d74f [2023-08-30T17:47:34.080Z] $ docker rm -f --volumes cc1ba4ead5899ecd05929655aa9e0613d378a075faeb4e2dcf0daf569d38d74f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:47:34.832Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T17:47:34.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T17:47:34.979Z] prd-ubuntu20.04-docker-8c-8g-4911 does not seem to be running inside a container [2023-08-30T17:47:35.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-277 -v /w/workspace/foundry_device-usb-camera_PR-277:/w/workspace/foundry_device-usb-camera_PR-277:rw,z -v /w/workspace/foundry_device-usb-camera_PR-277@tmp:/w/workspace/foundry_device-usb-camera_PR-277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-30T17:47:35.337Z] $ docker top af36feed680ab425575e3f9b1a7e892e5f70ad4ce80a5a0dc692877e5d9eaf01 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T17:47:35.738Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-277 [Pipeline] fileExists [Pipeline] sh [2023-08-30T17:47:36.102Z] + make test [2023-08-30T17:47:36.102Z] go test ./... -coverprofile=coverage.out ./... [2023-08-30T17:47:41.375Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-30T17:47:53.720Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-30T17:47:53.720Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 4.4% of statements [2023-08-30T17:48:00.278Z] go vet ./... [2023-08-30T17:48:04.462Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T17:48:04.462Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T17:48:04.462Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T17:48:04.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T17:48:04.530Z] $ docker stop --time=1 af36feed680ab425575e3f9b1a7e892e5f70ad4ce80a5a0dc692877e5d9eaf01 [2023-08-30T17:48:09.141Z] $ docker rm -f --volumes af36feed680ab425575e3f9b1a7e892e5f70ad4ce80a5a0dc692877e5d9eaf01 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T17:48:09.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T17:48:09.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-30T17:48:10.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T17:48:10.692Z] + ls -al . [2023-08-30T17:48:10.692Z] total 220 [2023-08-30T17:48:10.692Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 17:47 . [2023-08-30T17:48:10.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 17:46 .. [2023-08-30T17:48:10.692Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 17:46 .git [2023-08-30T17:48:10.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 17:46 .github [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 30 17:46 .gitignore [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 30 17:46 .golangci.yml [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 30 17:46 .hadolint.yml [2023-08-30T17:48:10.692Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 17:46 .semver [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 10960 Aug 30 17:46 Attribution.txt [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 30 17:46 CHANGELOG.md [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 30 17:46 Dockerfile [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 30 17:46 GOVERNANCE.md [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 30 17:46 Jenkinsfile [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 17:46 LICENSE [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 2490 Aug 30 17:46 Makefile [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 30 17:46 OWNERS.md [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 30 17:46 README.md [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 17:46 VERSION [2023-08-30T17:48:10.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 17:46 bin [2023-08-30T17:48:10.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 17:46 cmd [2023-08-30T17:48:10.692Z] -rw-r--r-- 1 jenkins jenkins 53939 Aug 30 17:47 coverage.out [2023-08-30T17:48:10.692Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 30 17:46 docker-entrypoint.sh [2023-08-30T17:48:10.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 17:46 docs [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 3994 Aug 30 17:46 go.mod [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 34415 Aug 30 17:46 go.sum [2023-08-30T17:48:10.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 17:46 internal [2023-08-30T17:48:10.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 17:46 snap [2023-08-30T17:48:10.692Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 30 17:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:48:11.133Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0fd25405b18b6963bcaddf165fb910228c73f0f2 --label arch=amd64 --label version=0.0.0 . [2023-08-30T17:48:11.133Z] Sending build context to Docker daemon 2.179MB [2023-08-30T17:48:11.133Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T17:48:11.133Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-30T17:48:11.133Z] ---> 8f99c739050c [2023-08-30T17:48:11.133Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-30T17:48:11.392Z] ---> Running in e46126216b80 [2023-08-30T17:48:11.392Z] Removing intermediate container e46126216b80 [2023-08-30T17:48:11.392Z] ---> e555313de020 [2023-08-30T17:48:11.392Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-30T17:48:11.392Z] ---> Running in 2400de9bbc7e [2023-08-30T17:48:11.392Z] Removing intermediate container 2400de9bbc7e [2023-08-30T17:48:11.392Z] ---> 8c0917ba6ee8 [2023-08-30T17:48:11.392Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-30T17:48:11.392Z] ---> Running in 5a6e99ad683f [2023-08-30T17:48:11.650Z] Removing intermediate container 5a6e99ad683f [2023-08-30T17:48:11.650Z] ---> 5de74062f6ab [2023-08-30T17:48:11.650Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-30T17:48:11.650Z] ---> Running in 22324f9c46ed [2023-08-30T17:48:11.650Z] Removing intermediate container 22324f9c46ed [2023-08-30T17:48:11.650Z] ---> 2c8173896bde [2023-08-30T17:48:11.650Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-30T17:48:11.650Z] ---> Running in 9bb7679f7e60 [2023-08-30T17:48:11.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T17:48:12.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T17:48:12.424Z] OK: 272 MiB in 67 packages [2023-08-30T17:48:12.682Z] Removing intermediate container 9bb7679f7e60 [2023-08-30T17:48:12.683Z] ---> f150f8ccba02 [2023-08-30T17:48:12.683Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-30T17:48:12.683Z] ---> Running in 79604d9c7297 [2023-08-30T17:48:12.940Z] Removing intermediate container 79604d9c7297 [2023-08-30T17:48:12.940Z] ---> 0bbc743daa63 [2023-08-30T17:48:12.940Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-30T17:48:12.940Z] ---> e26ed4d37f38 [2023-08-30T17:48:12.940Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T17:48:12.940Z] ---> Running in 6c8323f48a8d [2023-08-30T17:48:14.009Z] Removing intermediate container 6c8323f48a8d [2023-08-30T17:48:14.009Z] ---> 8f48778888cc [2023-08-30T17:48:14.009Z] Step 11/36 : COPY . . [2023-08-30T17:48:14.269Z] ---> ab992336a38e [2023-08-30T17:48:14.269Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-30T17:48:14.269Z] ---> Running in 639300a176de [2023-08-30T17:48:14.530Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T17:48:14.530Z] Dload Upload Total Spent  Left Speed [2023-08-30T17:48:14.530Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 24157 0 --:--:-- --:--:-- --:--:-- 24568 [2023-08-30T17:48:14.789Z] Removing intermediate container 639300a176de [2023-08-30T17:48:14.789Z] ---> e8a77a4ec143 [2023-08-30T17:48:14.789Z] Step 13/36 : RUN ${MAKE} [2023-08-30T17:48:14.789Z] ---> Running in 9273eebe1d3e [2023-08-30T17:48:15.048Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-08-30T17:48:25.159Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4913 in /w/workspace/foundry_device-usb-camera_PR-277 [Pipeline] { [Pipeline] ws [2023-08-30T17:48:25.213Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-08-30T17:48:25.294Z] Selected Git installation does not exist. Using Default [2023-08-30T17:48:25.294Z] The recommended git tool is: NONE [2023-08-30T17:48:30.334Z] using credential edgex-jenkins-ssh [2023-08-30T17:48:30.356Z] Cloning the remote Git repository [2023-08-30T17:48:30.398Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-30T17:48:30.482Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-08-30T17:48:30.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-30T17:48:30.624Z] > git --version # timeout=10 [2023-08-30T17:48:30.646Z] > git --version # 'git version 2.25.1' [2023-08-30T17:48:30.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T17:48:30.812Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T17:48:31.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-30T17:48:31.605Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T17:48:32.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-30T17:48:32.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-30T17:48:32.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T17:48:32.475Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-30T17:48:33.050Z] Merging remotes/origin/main commit 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 into PR head commit 0fd25405b18b6963bcaddf165fb910228c73f0f2 [2023-08-30T17:48:33.341Z] Merge succeeded, producing 0fd25405b18b6963bcaddf165fb910228c73f0f2 [2023-08-30T17:48:33.341Z] Checking out Revision 0fd25405b18b6963bcaddf165fb910228c73f0f2 (PR-277) [2023-08-30T17:48:33.777Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-08-30T17:48:33.826Z] > git --version # timeout=10 [2023-08-30T17:48:33.837Z] > git --version # 'git version 2.25.1' [2023-08-30T17:48:33.856Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T17:48:33.065Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T17:48:33.143Z] > git checkout -f 0fd25405b18b6963bcaddf165fb910228c73f0f2 # timeout=10 [2023-08-30T17:48:33.237Z] > git remote # timeout=10 [2023-08-30T17:48:33.257Z] > git config --get remote.origin.url # timeout=10 [2023-08-30T17:48:33.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T17:48:33.295Z] > git merge 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 # timeout=10 [2023-08-30T17:48:33.320Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-30T17:48:33.343Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T17:48:33.355Z] > git checkout -f 0fd25405b18b6963bcaddf165fb910228c73f0f2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T17:48:34.986Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-30T17:48:34.986Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T17:48:34.986Z] Dload Upload Total Spent Left Speed [2023-08-30T17:48:34.986Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-08-30T17:48:35.610Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-30T17:48:35.954Z] + sudo tee /etc/docker/daemon.new [2023-08-30T17:48:35.954Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-30T17:48:35.954Z] { [2023-08-30T17:48:35.954Z] "registry-mirrors": [ [2023-08-30T17:48:35.954Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-30T17:48:35.954Z] ], [2023-08-30T17:48:35.954Z] "bip": "10.250.0.254/24", [2023-08-30T17:48:35.954Z] "hosts": [ [2023-08-30T17:48:35.954Z] "tcp://0.0.0.0:5555", [2023-08-30T17:48:35.954Z] "unix:///var/run/docker.sock" [2023-08-30T17:48:35.954Z] ], [2023-08-30T17:48:35.954Z] "mtu": 1458, [2023-08-30T17:48:35.954Z] "selinux-enabled": true, [2023-08-30T17:48:35.954Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-30T17:48:35.954Z] } [Pipeline] sh [2023-08-30T17:48:36.293Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-30T17:48:36.636Z] + sudo service docker restart [2023-08-30T17:48:41.842Z] Removing intermediate container 9273eebe1d3e [2023-08-30T17:48:41.843Z] ---> bbbb120360b5 [2023-08-30T17:48:41.843Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-30T17:48:41.843Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-30T17:48:41.843Z] 4acc49c71d14: Pulling fs layer [2023-08-30T17:48:41.843Z] 4acc49c71d14: Download complete [2023-08-30T17:48:41.843Z] 4acc49c71d14: Pull complete [2023-08-30T17:48:41.843Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-30T17:48:41.843Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-30T17:48:41.843Z] ---> 01a2bd3e5fff [2023-08-30T17:48:41.843Z] Step 15/36 : FROM alpine:3.17 [2023-08-30T17:48:41.843Z] 3.17: Pulling from library/alpine [2023-08-30T17:48:41.843Z] 9398808236ff: Pulling fs layer [2023-08-30T17:48:41.843Z] 9398808236ff: Verifying Checksum [2023-08-30T17:48:41.843Z] 9398808236ff: Download complete [2023-08-30T17:48:41.843Z] 9398808236ff: Pull complete [2023-08-30T17:48:41.843Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T17:48:41.843Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T17:48:41.843Z] ---> 1e0b8b5322fc [2023-08-30T17:48:41.843Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-30T17:48:41.843Z] ---> Running in 7143755966ba [2023-08-30T17:48:41.843Z] Removing intermediate container 7143755966ba [2023-08-30T17:48:41.843Z] ---> a9f8d4ea483a [2023-08-30T17:48:41.843Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-30T17:48:41.843Z] ---> Running in 626489f2452e [2023-08-30T17:48:42.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T17:48:42.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T17:48:42.618Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-30T17:48:42.618Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-30T17:48:42.618Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-30T17:48:42.877Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-30T17:48:42.877Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-30T17:48:42.877Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-30T17:48:42.877Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-30T17:48:42.877Z] (8/86) Installing libxcb (1.15-r0) [2023-08-30T17:48:42.877Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-30T17:48:42.877Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-30T17:48:42.877Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-30T17:48:42.877Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-30T17:48:42.877Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-30T17:48:42.877Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-30T17:48:42.877Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-30T17:48:42.877Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-30T17:48:42.877Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-30T17:48:42.877Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-30T17:48:42.877Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-30T17:48:42.877Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-30T17:48:42.877Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-30T17:48:42.877Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-30T17:48:42.877Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-30T17:48:43.135Z] (24/86) Installing glib (2.74.7-r0) [2023-08-30T17:48:43.135Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-30T17:48:43.135Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-30T17:48:43.135Z] (27/86) Installing libass (0.16.0-r1) [2023-08-30T17:48:43.135Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-30T17:48:43.135Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-30T17:48:43.135Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-30T17:48:43.135Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-30T17:48:43.135Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-30T17:48:43.135Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-30T17:48:43.135Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-30T17:48:43.135Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-30T17:48:43.135Z] (36/86) Installing libunistring (1.1-r0) [2023-08-30T17:48:43.135Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-30T17:48:43.135Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-30T17:48:43.135Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-30T17:48:43.135Z] (40/86) Installing lame (3.100-r2) [2023-08-30T17:48:43.135Z] (41/86) Installing opus (1.3.1-r1) [2023-08-30T17:48:43.135Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-30T17:48:43.135Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-30T17:48:43.135Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-30T17:48:43.135Z] (45/86) Installing orc (0.4.33-r0) [2023-08-30T17:48:43.135Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-30T17:48:43.135Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-30T17:48:43.135Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-30T17:48:43.393Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-30T17:48:43.393Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-30T17:48:43.393Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-30T17:48:43.393Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-30T17:48:43.393Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-30T17:48:43.393Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-30T17:48:43.393Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-30T17:48:43.393Z] (56/86) Installing libpulse (16.1-r6) [2023-08-30T17:48:43.393Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-30T17:48:43.393Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-30T17:48:43.393Z] (59/86) Installing librist (0.2.7-r0) [2023-08-30T17:48:43.393Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-30T17:48:43.393Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-30T17:48:43.393Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-30T17:48:43.393Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-30T17:48:43.393Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-30T17:48:43.393Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-30T17:48:43.393Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-30T17:48:43.393Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-30T17:48:43.393Z] (68/86) Installing libva (2.16.0-r0) [2023-08-30T17:48:43.393Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-30T17:48:43.393Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-30T17:48:43.393Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-30T17:48:43.393Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-30T17:48:43.393Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-30T17:48:43.651Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-30T17:48:43.651Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-30T17:48:43.651Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-30T17:48:43.651Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-30T17:48:43.651Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-30T17:48:43.651Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-30T17:48:43.651Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-30T17:48:43.651Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-30T17:48:43.652Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-30T17:48:43.652Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-30T17:48:43.652Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-30T17:48:43.910Z] (85/86) Installing kmod-libs (30-r1) [2023-08-30T17:48:43.910Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-30T17:48:43.910Z] Executing busybox-1.35.0-r29.trigger [2023-08-30T17:48:43.910Z] Executing eudev-3.2.11-r4.trigger [2023-08-30T17:48:43.910Z] OK: 112 MiB in 101 packages [2023-08-30T17:48:47.279Z] Removing intermediate container 626489f2452e [2023-08-30T17:48:47.279Z] ---> 9403d04cfcb9 [2023-08-30T17:48:47.279Z] Step 18/36 : WORKDIR / [2023-08-30T17:48:47.279Z] ---> Running in f501a21b728a [2023-08-30T17:48:47.279Z] Removing intermediate container f501a21b728a [2023-08-30T17:48:47.279Z] ---> a51e45e3ad88 [2023-08-30T17:48:47.279Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-30T17:48:48.237Z] ---> e70ddc4e0e98 [2023-08-30T17:48:48.237Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-30T17:48:48.237Z] ---> 29da4e0871ad [2023-08-30T17:48:48.237Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-30T17:48:48.237Z] ---> 9bcb651071e4 [2023-08-30T17:48:48.237Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-30T17:48:48.495Z] ---> 06a3a2c6be67 [2023-08-30T17:48:48.495Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-30T17:48:48.495Z] ---> 316d6919f016 [2023-08-30T17:48:48.495Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-30T17:48:48.495Z] ---> c675474f075c [2023-08-30T17:48:48.495Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-30T17:48:49.431Z] ---> 416b58256be9 [2023-08-30T17:48:49.431Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-30T17:48:49.431Z] ---> Running in 7d22d756a2b6 [2023-08-30T17:48:49.998Z] Removing intermediate container 7d22d756a2b6 [2023-08-30T17:48:49.998Z] ---> a142df140807 [2023-08-30T17:48:49.998Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-30T17:48:49.998Z] ---> Running in 7d73e294489f [2023-08-30T17:48:50.561Z] Removing intermediate container 7d73e294489f [2023-08-30T17:48:50.561Z] ---> ee8099c647be [2023-08-30T17:48:50.561Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-30T17:48:50.561Z] ---> Running in 05cec78fddbc [2023-08-30T17:48:51.126Z] Removing intermediate container 05cec78fddbc [2023-08-30T17:48:51.126Z] ---> 4cc3ec323652 [2023-08-30T17:48:51.126Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-30T17:48:51.126Z] ---> Running in 1cdc395fbda3 [2023-08-30T17:48:51.385Z] Removing intermediate container 1cdc395fbda3 [2023-08-30T17:48:51.385Z] ---> ba944844b0ee [2023-08-30T17:48:51.385Z] Step 30/36 : EXPOSE 59983 [2023-08-30T17:48:51.644Z] ---> Running in e4e600eeeeb4 [2023-08-30T17:48:51.644Z] Removing intermediate container e4e600eeeeb4 [2023-08-30T17:48:51.644Z] ---> 2f1d8be69a00 [2023-08-30T17:48:51.644Z] Step 31/36 : EXPOSE 8554 [2023-08-30T17:48:51.644Z] ---> Running in 0ae21be9db52 [2023-08-30T17:48:51.644Z] Removing intermediate container 0ae21be9db52 [2023-08-30T17:48:51.644Z] ---> e67afd526eaa [2023-08-30T17:48:51.644Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-30T17:48:51.644Z] ---> Running in 0b32fc9ecc59 [2023-08-30T17:48:51.904Z] Removing intermediate container 0b32fc9ecc59 [2023-08-30T17:48:51.904Z] ---> 54071bdd9657 [2023-08-30T17:48:51.904Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-30T17:48:51.904Z] ---> Running in 6a5c6a9f2a7a [2023-08-30T17:48:51.904Z] Removing intermediate container 6a5c6a9f2a7a [2023-08-30T17:48:51.904Z] ---> fb7b79fcb5b1 [2023-08-30T17:48:51.904Z] Step 34/36 : LABEL arch=amd64 [2023-08-30T17:48:51.904Z] ---> Running in 3caf95484355 [2023-08-30T17:48:51.904Z] Removing intermediate container 3caf95484355 [2023-08-30T17:48:51.904Z] ---> d18c04ca5fd3 [2023-08-30T17:48:51.904Z] Step 35/36 : LABEL git_sha=0fd25405b18b6963bcaddf165fb910228c73f0f2 [2023-08-30T17:48:51.904Z] ---> Running in 41491f90a510 [2023-08-30T17:48:52.163Z] Removing intermediate container 41491f90a510 [2023-08-30T17:48:52.163Z] ---> ab007dc57ecb [2023-08-30T17:48:52.163Z] Step 36/36 : LABEL version=0.0.0 [2023-08-30T17:48:52.163Z] ---> Running in c8698b032688 [2023-08-30T17:48:52.163Z] Removing intermediate container c8698b032688 [2023-08-30T17:48:52.163Z] ---> 277383515b97 [2023-08-30T17:48:52.163Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T17:48:52.163Z] Successfully built 277383515b97 [2023-08-30T17:48:52.163Z] Successfully tagged device-usb-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-08-30T17:48:53.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T17:48:53.047Z] [2023-08-30T17:48:53.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:48:53.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T17:48:53.432Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-30T17:48:53.432Z] 5eb5b503b376: Pulling fs layer [2023-08-30T17:48:53.432Z] 5c69ac0246d0: Pulling fs layer [2023-08-30T17:48:53.432Z] ec43610c2a17: Pulling fs layer [2023-08-30T17:48:53.432Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-30T17:48:53.432Z] 33b1e0a273af: Pulling fs layer [2023-08-30T17:48:53.432Z] 5d3b04190fa2: Pulling fs layer [2023-08-30T17:48:53.432Z] 2f39f015ded8: Pulling fs layer [2023-08-30T17:48:53.432Z] 5d3b04190fa2: Waiting [2023-08-30T17:48:53.432Z] 3a2ae6a8a46f: Waiting [2023-08-30T17:48:53.432Z] 33b1e0a273af: Waiting [2023-08-30T17:48:53.432Z] 2f39f015ded8: Waiting [2023-08-30T17:48:53.432Z] 5c69ac0246d0: Download complete [2023-08-30T17:48:53.432Z] 3a2ae6a8a46f: Download complete [2023-08-30T17:48:53.432Z] 33b1e0a273af: Verifying Checksum [2023-08-30T17:48:53.432Z] 33b1e0a273af: Download complete [2023-08-30T17:48:53.432Z] 5d3b04190fa2: Verifying Checksum [2023-08-30T17:48:53.432Z] 5d3b04190fa2: Download complete [2023-08-30T17:48:53.432Z] ec43610c2a17: Verifying Checksum [2023-08-30T17:48:53.432Z] ec43610c2a17: Download complete [2023-08-30T17:48:53.690Z] 5eb5b503b376: Verifying Checksum [2023-08-30T17:48:53.690Z] 5eb5b503b376: Download complete [2023-08-30T17:48:54.255Z] 2f39f015ded8: Download complete [2023-08-30T17:48:54.822Z] 5eb5b503b376: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T17:48:54.947Z] provisioning config files... [2023-08-30T17:48:54.972Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config14247252930635400557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:48:55.079Z] 5c69ac0246d0: Pull complete [2023-08-30T17:48:55.336Z] ec43610c2a17: Pull complete [2023-08-30T17:48:55.353Z] ---> docker-login.sh [2023-08-30T17:48:55.353Z] nexus3.edgexfoundry.org:10001 [2023-08-30T17:48:55.601Z] 3a2ae6a8a46f: Pull complete [2023-08-30T17:48:55.861Z] 33b1e0a273af: Pull complete [2023-08-30T17:48:55.861Z] 5d3b04190fa2: Pull complete [2023-08-30T17:48:55.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:48:55.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:48:55.942Z] Configure a credential helper to remove this warning. See [2023-08-30T17:48:55.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:48:55.942Z] [2023-08-30T17:48:55.942Z] Login Succeeded [2023-08-30T17:48:55.942Z] nexus3.edgexfoundry.org:10002 [2023-08-30T17:48:56.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:48:56.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:48:56.482Z] Configure a credential helper to remove this warning. See [2023-08-30T17:48:56.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:48:56.482Z] [2023-08-30T17:48:56.482Z] Login Succeeded [2023-08-30T17:48:56.482Z] nexus3.edgexfoundry.org:10003 [2023-08-30T17:48:56.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:48:56.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:48:56.752Z] Configure a credential helper to remove this warning. See [2023-08-30T17:48:56.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:48:56.752Z] [2023-08-30T17:48:56.752Z] Login Succeeded [2023-08-30T17:48:56.752Z] nexus3.edgexfoundry.org:10004 [2023-08-30T17:48:57.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:48:57.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:48:57.303Z] Configure a credential helper to remove this warning. See [2023-08-30T17:48:57.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:48:57.303Z] [2023-08-30T17:48:57.303Z] Login Succeeded [2023-08-30T17:48:57.303Z] docker.io [2023-08-30T17:48:57.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T17:48:57.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T17:48:57.843Z] Configure a credential helper to remove this warning. See [2023-08-30T17:48:57.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T17:48:57.843Z] [2023-08-30T17:48:57.843Z] Login Succeeded [2023-08-30T17:48:57.843Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T17:48:57.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T17:48:58.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T17:48:58.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T17:48:58.379Z] ========================================================= [2023-08-30T17:48:58.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-30T17:48:58.380Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:48:58.909Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-30T17:48:59.180Z] Sending build context to Docker daemon 1.271MB [2023-08-30T17:48:59.180Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T17:48:59.180Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-30T17:48:59.454Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-30T17:48:59.454Z] edb6bdbacee9: Pulling fs layer [2023-08-30T17:48:59.454Z] 5f9638ab2659: Pulling fs layer [2023-08-30T17:48:59.454Z] 8d51d6327a98: Pulling fs layer [2023-08-30T17:48:59.454Z] 8b374f2dd631: Pulling fs layer [2023-08-30T17:48:59.454Z] ec14aa9079de: Pulling fs layer [2023-08-30T17:48:59.454Z] 2f466654f4bb: Pulling fs layer [2023-08-30T17:48:59.454Z] 554e91adad29: Pulling fs layer [2023-08-30T17:48:59.454Z] ec14aa9079de: Waiting [2023-08-30T17:48:59.454Z] 2f466654f4bb: Waiting [2023-08-30T17:48:59.454Z] 8b374f2dd631: Waiting [2023-08-30T17:48:59.454Z] 554e91adad29: Waiting [2023-08-30T17:48:59.454Z] 5f9638ab2659: Verifying Checksum [2023-08-30T17:48:59.454Z] 5f9638ab2659: Download complete [2023-08-30T17:48:59.454Z] 8b374f2dd631: Verifying Checksum [2023-08-30T17:48:59.454Z] 8b374f2dd631: Download complete [2023-08-30T17:48:59.454Z] edb6bdbacee9: Download complete [2023-08-30T17:48:59.454Z] ec14aa9079de: Download complete [2023-08-30T17:49:00.044Z] 2f39f015ded8: Pull complete [2023-08-30T17:49:00.044Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-30T17:49:00.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T17:49:00.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T17:49:00.335Z] prd-ubuntu20.04-docker-8c-8g-4911 does not seem to be running inside a container [2023-08-30T17:49:00.361Z] $ 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/foundry_device-usb-camera_PR-277 -v /w/workspace/foundry_device-usb-camera_PR-277:/w/workspace/foundry_device-usb-camera_PR-277:rw,z -v /w/workspace/foundry_device-usb-camera_PR-277@tmp:/w/workspace/foundry_device-usb-camera_PR-277@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-08-30T17:49:01.011Z] edb6bdbacee9: Pull complete [2023-08-30T17:49:01.012Z] 554e91adad29: Verifying Checksum [2023-08-30T17:49:01.012Z] 554e91adad29: Download complete [2023-08-30T17:49:01.299Z] 5f9638ab2659: Pull complete [2023-08-30T17:49:02.268Z] 8d51d6327a98: Verifying Checksum [2023-08-30T17:49:02.268Z] 8d51d6327a98: Download complete [2023-08-30T17:49:02.268Z] 2f466654f4bb: Verifying Checksum [2023-08-30T17:49:02.268Z] 2f466654f4bb: Download complete [2023-08-30T17:49:06.973Z] $ docker top 723ead4882142d0ee85e66774359f5ae70f9cfb1bdfca2939ce61ffc27f4cc06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:49:07.464Z] ---> job-cost.sh [2023-08-30T17:49:07.464Z] lf-activate-venv: SKIPPING [2023-08-30T17:49:07.464Z] INFO: No Stack... [2023-08-30T17:49:07.723Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T17:49:07.982Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T17:49:08.291Z] + cat /w/workspace/foundry_device-usb-camera_PR-277/archives/cost.csv [2023-08-30T17:49:08.291Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T17:49:08.335Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-277-1-stack-cost] [2023-08-30T17:49:08.339Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-277-1-stack-cost] did not exist. Created. [2023-08-30T17:49:08.339Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-277-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T17:49:08.741Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-30T17:49:08.789Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T17:49:08.813Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-277-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T17:49:08.880Z] $ docker stop --time=1 723ead4882142d0ee85e66774359f5ae70f9cfb1bdfca2939ce61ffc27f4cc06 [2023-08-30T17:49:10.011Z] $ docker rm -f --volumes 723ead4882142d0ee85e66774359f5ae70f9cfb1bdfca2939ce61ffc27f4cc06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-30T17:49:14.602Z] 8d51d6327a98: Pull complete [2023-08-30T17:49:14.602Z] 8b374f2dd631: Pull complete [2023-08-30T17:49:14.602Z] ec14aa9079de: Pull complete [2023-08-30T17:49:19.970Z] 2f466654f4bb: Pull complete [2023-08-30T17:49:22.564Z] 554e91adad29: Pull complete [2023-08-30T17:49:22.564Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-30T17:49:22.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-30T17:49:22.564Z] ---> 1e15ea492957 [2023-08-30T17:49:22.564Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-30T17:49:24.515Z] ---> Running in ec18a5bc5c08 [2023-08-30T17:49:24.515Z] Removing intermediate container ec18a5bc5c08 [2023-08-30T17:49:24.515Z] ---> b8ba8ce4027a [2023-08-30T17:49:24.515Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-30T17:49:24.515Z] ---> Running in 9d30aa6ec601 [2023-08-30T17:49:24.781Z] Removing intermediate container 9d30aa6ec601 [2023-08-30T17:49:24.781Z] ---> 0ca5d58c29e3 [2023-08-30T17:49:24.781Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-30T17:49:25.047Z] ---> Running in 877d5bbcfad8 [2023-08-30T17:49:25.314Z] Removing intermediate container 877d5bbcfad8 [2023-08-30T17:49:25.314Z] ---> 8293dfb257fd [2023-08-30T17:49:25.314Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-30T17:49:25.314Z] ---> Running in 032b0283538d [2023-08-30T17:49:25.581Z] Removing intermediate container 032b0283538d [2023-08-30T17:49:25.581Z] ---> 79ac3257a503 [2023-08-30T17:49:25.581Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-30T17:49:25.581Z] ---> Running in e3001951b7b2 [2023-08-30T17:49:26.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T17:49:27.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T17:49:28.216Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-30T17:49:28.216Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-30T17:49:28.216Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-30T17:49:28.216Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-30T17:49:28.483Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-30T17:49:28.483Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-30T17:49:28.483Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-30T17:49:28.483Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-30T17:49:28.483Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-30T17:49:28.483Z] (10/14) Installing kmod-libs (30-r1) [2023-08-30T17:49:28.483Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-30T17:49:28.483Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-30T17:49:28.483Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-30T17:49:28.751Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-30T17:49:28.751Z] Executing busybox-1.35.0-r29.trigger [2023-08-30T17:49:28.751Z] Executing eudev-3.2.11-r4.trigger [2023-08-30T17:49:28.751Z] OK: 271 MiB in 67 packages [2023-08-30T17:49:30.158Z] Removing intermediate container e3001951b7b2 [2023-08-30T17:49:30.158Z] ---> 56c9c478e55d [2023-08-30T17:49:30.158Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-30T17:49:30.158Z] ---> Running in 046baddbd308 [2023-08-30T17:49:30.426Z] Removing intermediate container 046baddbd308 [2023-08-30T17:49:30.426Z] ---> 7dbca2184c50 [2023-08-30T17:49:30.426Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-30T17:49:32.365Z] ---> 4092dabbf61d [2023-08-30T17:49:32.365Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T17:49:32.365Z] ---> Running in c1fe290dbba6 [2023-08-30T17:50:40.231Z] Removing intermediate container c1fe290dbba6 [2023-08-30T17:50:40.231Z] ---> 878c014859c9 [2023-08-30T17:50:40.231Z] Step 11/13 : COPY . . [2023-08-30T17:50:40.231Z] ---> 2352af783b0a [2023-08-30T17:50:40.231Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-30T17:50:40.231Z] ---> Running in 286330e0f72a [2023-08-30T17:50:40.231Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T17:50:40.231Z]  Dload Upload Total Spent Left Speed [2023-08-30T17:50:40.231Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 3675 0 --:--:-- --:--:-- --:--:-- 3685 [2023-08-30T17:50:40.231Z] Removing intermediate container 286330e0f72a [2023-08-30T17:50:40.231Z] ---> 735a9a2cf950 [2023-08-30T17:50:40.231Z] Step 13/13 : RUN ${MAKE} [2023-08-30T17:50:40.231Z] ---> Running in c49cfd67153b [2023-08-30T17:50:40.231Z] noop [2023-08-30T17:50:42.823Z] Removing intermediate container c49cfd67153b [2023-08-30T17:50:42.823Z] ---> 2726c01f34d5 [2023-08-30T17:50:42.823Z] Successfully built 2726c01f34d5 [2023-08-30T17:50:42.823Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:50:43.297Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T17:50:43.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T17:50:43.569Z] prd-ubuntu20.04-docker-arm64-4c-16g-4913 does not seem to be running inside a container [2023-08-30T17:50:43.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-30T17:50:44.832Z] $ docker top f4ad92034c5b9fa66941e28e83c46126493b57517ce8fdc1b097bbb5a23fd2f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T17:50:45.717Z] + go version [2023-08-30T17:50:45.717Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-30T17:50:45.751Z] $ docker stop --time=1 f4ad92034c5b9fa66941e28e83c46126493b57517ce8fdc1b097bbb5a23fd2f9 [2023-08-30T17:50:47.346Z] $ docker rm -f --volumes f4ad92034c5b9fa66941e28e83c46126493b57517ce8fdc1b097bbb5a23fd2f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:50:48.212Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T17:50:48.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T17:50:48.476Z] prd-ubuntu20.04-docker-arm64-4c-16g-4913 does not seem to be running inside a container [2023-08-30T17:50:48.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-30T17:50:49.714Z] $ docker top f27630dffbb67c3efd2794f022abb09df52dc4933985ed2f5e8c71e8f3fc9412 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T17:50:50.278Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-08-30T17:50:50.676Z] + make test [2023-08-30T17:50:50.676Z] go test ./... -coverprofile=coverage.out ./... [2023-08-30T17:51:22.922Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-30T17:53:44.611Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-30T17:53:46.553Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.091s coverage: 4.4% of statements [2023-08-30T17:53:47.136Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-30T17:53:47.136Z] go vet ./... [2023-08-30T17:54:13.835Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T17:54:13.835Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T17:54:13.835Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T17:54:13.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T17:54:13.913Z] $ docker stop --time=1 f27630dffbb67c3efd2794f022abb09df52dc4933985ed2f5e8c71e8f3fc9412 [2023-08-30T17:54:15.681Z] $ docker rm -f --volumes f27630dffbb67c3efd2794f022abb09df52dc4933985ed2f5e8c71e8f3fc9412 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T17:54:16.873Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T17:54:16.906Z] Warning: overwriting stash ‘coverage-report’ [2023-08-30T17:54:17.380Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T17:54:17.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T17:54:18.273Z] + ls -al . [2023-08-30T17:54:18.273Z] total 216 [2023-08-30T17:54:18.273Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 17:50 . [2023-08-30T17:54:18.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 17:48 .. [2023-08-30T17:54:18.273Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 17:48 .git [2023-08-30T17:54:18.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 17:48 .github [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 30 17:48 .gitignore [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 30 17:48 .golangci.yml [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 30 17:48 .hadolint.yml [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 10960 Aug 30 17:48 Attribution.txt [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 30 17:48 CHANGELOG.md [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 30 17:48 Dockerfile [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 30 17:48 GOVERNANCE.md [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 30 17:48 Jenkinsfile [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 17:48 LICENSE [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 2490 Aug 30 17:48 Makefile [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 30 17:48 OWNERS.md [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 30 17:48 README.md [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 17:46 VERSION [2023-08-30T17:54:18.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 17:48 bin [2023-08-30T17:54:18.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 17:48 cmd [2023-08-30T17:54:18.273Z] -rw-r--r-- 1 jenkins jenkins 53939 Aug 30 17:53 coverage.out [2023-08-30T17:54:18.273Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 30 17:48 docker-entrypoint.sh [2023-08-30T17:54:18.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 17:48 docs [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 3994 Aug 30 17:48 go.mod [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 34415 Aug 30 17:48 go.sum [2023-08-30T17:54:18.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 17:48 internal [2023-08-30T17:54:18.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 17:48 snap [2023-08-30T17:54:18.273Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 30 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:54:18.675Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0fd25405b18b6963bcaddf165fb910228c73f0f2 --label arch=arm64 --label version=0.0.0 . [2023-08-30T17:54:18.942Z] Sending build context to Docker daemon 1.326MB [2023-08-30T17:54:18.942Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T17:54:18.942Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-30T17:54:18.942Z] ---> 2726c01f34d5 [2023-08-30T17:54:18.942Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-30T17:54:18.942Z] ---> Running in ec306af47a5a [2023-08-30T17:54:19.209Z] Removing intermediate container ec306af47a5a [2023-08-30T17:54:19.209Z] ---> aeea46f8c498 [2023-08-30T17:54:19.209Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-30T17:54:19.473Z] ---> Running in 1a3df0982bb0 [2023-08-30T17:54:19.739Z] Removing intermediate container 1a3df0982bb0 [2023-08-30T17:54:19.739Z] ---> 0bd5f7dff575 [2023-08-30T17:54:19.739Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-30T17:54:19.739Z] ---> Running in a630e6c808a6 [2023-08-30T17:54:20.006Z] Removing intermediate container a630e6c808a6 [2023-08-30T17:54:20.006Z] ---> bdb6aa60edfa [2023-08-30T17:54:20.006Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-30T17:54:20.006Z] ---> Running in 0e84d9e58aec [2023-08-30T17:54:20.273Z] Removing intermediate container 0e84d9e58aec [2023-08-30T17:54:20.273Z] ---> 70aaed111222 [2023-08-30T17:54:20.273Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-30T17:54:20.273Z] ---> Running in 110c9497356b [2023-08-30T17:54:21.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T17:54:21.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T17:54:22.768Z] OK: 271 MiB in 67 packages [2023-08-30T17:54:23.729Z] Removing intermediate container 110c9497356b [2023-08-30T17:54:23.729Z] ---> 1e22c1c7d5d9 [2023-08-30T17:54:23.729Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-30T17:54:23.729Z] ---> Running in cfa55819aeee [2023-08-30T17:54:23.995Z] Removing intermediate container cfa55819aeee [2023-08-30T17:54:23.995Z] ---> bcb42f9c6988 [2023-08-30T17:54:23.995Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-30T17:54:24.576Z] ---> 723b1c455ea2 [2023-08-30T17:54:24.576Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T17:54:24.576Z] ---> Running in bb6180d940b4 [2023-08-30T17:54:27.156Z] Removing intermediate container bb6180d940b4 [2023-08-30T17:54:27.156Z] ---> fed6db829de5 [2023-08-30T17:54:27.156Z] Step 11/36 : COPY . . [2023-08-30T17:54:28.112Z] ---> 04b983096c96 [2023-08-30T17:54:28.112Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-30T17:54:28.112Z] ---> Running in 3b8e540f419e [2023-08-30T17:54:29.068Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-08-30T17:54:29.068Z]  Dload Upload Total Spent Left Speed [2023-08-30T17:54:29.336Z]  0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 3577 0 --:--:-- --:--:-- --:--:-- 3580 [2023-08-30T17:54:30.297Z] Removing intermediate container 3b8e540f419e [2023-08-30T17:54:30.297Z] ---> 0e54843e2a89 [2023-08-30T17:54:30.297Z] Step 13/36 : RUN ${MAKE} [2023-08-30T17:54:30.297Z] ---> Running in d02cec9a274f [2023-08-30T17:54:31.258Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-08-30T17:57:07.974Z] Removing intermediate container d02cec9a274f [2023-08-30T17:57:07.974Z] ---> 85c3d483e22c [2023-08-30T17:57:07.974Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-30T17:57:08.555Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-30T17:57:08.555Z] 8766b47fe142: Pulling fs layer [2023-08-30T17:57:09.139Z] 8766b47fe142: Verifying Checksum [2023-08-30T17:57:09.139Z] 8766b47fe142: Download complete [2023-08-30T17:57:09.722Z] 8766b47fe142: Pull complete [2023-08-30T17:57:09.722Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-30T17:57:09.722Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-30T17:57:09.722Z] ---> 69d40e2cb93c [2023-08-30T17:57:09.722Z] Step 15/36 : FROM alpine:3.17 [2023-08-30T17:57:10.305Z] 3.17: Pulling from library/alpine [2023-08-30T17:57:10.305Z] 4060ece20d7a: Pulling fs layer [2023-08-30T17:57:10.571Z] 4060ece20d7a: Verifying Checksum [2023-08-30T17:57:11.158Z] 4060ece20d7a: Pull complete [2023-08-30T17:57:11.158Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T17:57:11.158Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T17:57:11.158Z] ---> 8650cd65339b [2023-08-30T17:57:11.158Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-30T17:57:11.158Z] ---> Running in ef4882e9cd9c [2023-08-30T17:57:11.431Z] Removing intermediate container ef4882e9cd9c [2023-08-30T17:57:11.432Z] ---> 1dabd705d4ca [2023-08-30T17:57:11.432Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-30T17:57:11.699Z] ---> Running in fcac07a44661 [2023-08-30T17:57:12.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T17:57:13.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T17:57:14.270Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-30T17:57:14.270Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-30T17:57:14.270Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-30T17:57:14.270Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-30T17:57:14.270Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-30T17:57:14.270Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-30T17:57:14.270Z] (7/83) Installing libxcb (1.15-r0) [2023-08-30T17:57:14.559Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-30T17:57:14.559Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-30T17:57:14.832Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-30T17:57:14.832Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-30T17:57:14.832Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-30T17:57:14.832Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-30T17:57:14.832Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-30T17:57:14.832Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-30T17:57:14.832Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-30T17:57:15.101Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-30T17:57:15.101Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-30T17:57:15.101Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-30T17:57:15.101Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-30T17:57:15.101Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-30T17:57:15.101Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-30T17:57:15.101Z] (23/83) Installing glib (2.74.7-r0) [2023-08-30T17:57:15.372Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-30T17:57:15.372Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-30T17:57:15.372Z] (26/83) Installing libass (0.16.0-r1) [2023-08-30T17:57:15.372Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-30T17:57:15.372Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-30T17:57:15.372Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-30T17:57:15.372Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-30T17:57:15.372Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-30T17:57:15.372Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-30T17:57:15.372Z] (33/83) Installing libunistring (1.1-r0) [2023-08-30T17:57:15.372Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-30T17:57:15.648Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-30T17:57:15.648Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-30T17:57:15.648Z] (37/83) Installing lame (3.100-r2) [2023-08-30T17:57:15.648Z] (38/83) Installing opus (1.3.1-r1) [2023-08-30T17:57:15.648Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-30T17:57:15.648Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-30T17:57:15.648Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-30T17:57:15.648Z] (42/83) Installing orc (0.4.33-r0) [2023-08-30T17:57:15.648Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-30T17:57:15.648Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-30T17:57:15.648Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-30T17:57:15.648Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-30T17:57:15.926Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-30T17:57:15.926Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-30T17:57:15.926Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-30T17:57:15.926Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-30T17:57:15.926Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-30T17:57:15.926Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-30T17:57:15.926Z] (53/83) Installing libpulse (16.1-r6) [2023-08-30T17:57:15.926Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-30T17:57:15.926Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-30T17:57:15.926Z] (56/83) Installing librist (0.2.7-r0) [2023-08-30T17:57:15.926Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-30T17:57:15.926Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-30T17:57:15.926Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-30T17:57:15.926Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-30T17:57:16.216Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-30T17:57:16.216Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-30T17:57:16.216Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-30T17:57:16.216Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-30T17:57:16.216Z] (65/83) Installing libva (2.16.0-r0) [2023-08-30T17:57:16.216Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-30T17:57:16.216Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-30T17:57:16.216Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-30T17:57:16.216Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-30T17:57:16.216Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-30T17:57:16.493Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-30T17:57:16.494Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-30T17:57:16.773Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-30T17:57:16.773Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-30T17:57:16.773Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-30T17:57:16.773Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-30T17:57:17.369Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-30T17:57:17.369Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-30T17:57:17.369Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-30T17:57:17.369Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-30T17:57:17.369Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-30T17:57:17.369Z] (82/83) Installing kmod-libs (30-r1) [2023-08-30T17:57:17.369Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-30T17:57:17.369Z] Executing busybox-1.35.0-r29.trigger [2023-08-30T17:57:17.369Z] Executing eudev-3.2.11-r4.trigger [2023-08-30T17:57:17.369Z] OK: 86 MiB in 98 packages [2023-08-30T17:57:24.025Z] Removing intermediate container fcac07a44661 [2023-08-30T17:57:24.025Z] ---> 3ab47283ef39 [2023-08-30T17:57:24.025Z] Step 18/36 : WORKDIR / [2023-08-30T17:57:24.025Z] ---> Running in 3ee1da538f59 [2023-08-30T17:57:24.025Z] Removing intermediate container 3ee1da538f59 [2023-08-30T17:57:24.025Z] ---> 99dfd839990e [2023-08-30T17:57:24.025Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-30T17:57:24.989Z] ---> 829ff004450d [2023-08-30T17:57:24.989Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-30T17:57:25.574Z] ---> 445a511c280c [2023-08-30T17:57:25.574Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-30T17:57:26.161Z] ---> 6b5f23c4ea23 [2023-08-30T17:57:26.161Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-30T17:57:26.433Z] ---> 605f3ee9d19b [2023-08-30T17:57:26.433Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-30T17:57:27.017Z] ---> 19a512f48c28 [2023-08-30T17:57:27.018Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-30T17:57:27.610Z] ---> 008ab0d92c02 [2023-08-30T17:57:27.610Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-30T17:57:29.022Z] ---> cab3d1a29aca [2023-08-30T17:57:29.022Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-30T17:57:29.022Z] ---> Running in 6c38ae6b389e [2023-08-30T17:57:30.973Z] Removing intermediate container 6c38ae6b389e [2023-08-30T17:57:30.973Z] ---> 789ec4028071 [2023-08-30T17:57:30.973Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-30T17:57:30.973Z] ---> Running in dbf8c3cd14a5 [2023-08-30T17:57:35.232Z] Removing intermediate container dbf8c3cd14a5 [2023-08-30T17:57:35.232Z] ---> b51c7376af9d [2023-08-30T17:57:35.232Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-30T17:57:35.232Z] ---> Running in 619c53aea464 [2023-08-30T17:57:36.195Z] Removing intermediate container 619c53aea464 [2023-08-30T17:57:36.195Z] ---> 9fd97891db45 [2023-08-30T17:57:36.195Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-30T17:57:36.195Z] ---> Running in 1533b372b211 [2023-08-30T17:57:38.141Z] Removing intermediate container 1533b372b211 [2023-08-30T17:57:38.141Z] ---> 1a456c2635e4 [2023-08-30T17:57:38.141Z] Step 30/36 : EXPOSE 59983 [2023-08-30T17:57:38.141Z] ---> Running in 35caf5d5e707 [2023-08-30T17:57:38.141Z] Removing intermediate container 35caf5d5e707 [2023-08-30T17:57:38.141Z] ---> 05addaf0251d [2023-08-30T17:57:38.141Z] Step 31/36 : EXPOSE 8554 [2023-08-30T17:57:38.409Z] ---> Running in e59b6702e7a0 [2023-08-30T17:57:38.694Z] Removing intermediate container e59b6702e7a0 [2023-08-30T17:57:38.694Z] ---> bd241a56b51e [2023-08-30T17:57:38.694Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-30T17:57:38.694Z] ---> Running in db93fddf4bc6 [2023-08-30T17:57:38.960Z] Removing intermediate container db93fddf4bc6 [2023-08-30T17:57:38.961Z] ---> 56713fd7e2d8 [2023-08-30T17:57:38.961Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-30T17:57:38.961Z] ---> Running in f2497b88c6e6 [2023-08-30T17:57:39.231Z] Removing intermediate container f2497b88c6e6 [2023-08-30T17:57:39.231Z] ---> d9c770fa7a0e [2023-08-30T17:57:39.231Z] Step 34/36 : LABEL arch=arm64 [2023-08-30T17:57:39.231Z] ---> Running in eaa2251bf675 [2023-08-30T17:57:39.501Z] Removing intermediate container eaa2251bf675 [2023-08-30T17:57:39.501Z] ---> 2e87638c9117 [2023-08-30T17:57:39.501Z] Step 35/36 : LABEL git_sha=0fd25405b18b6963bcaddf165fb910228c73f0f2 [2023-08-30T17:57:39.773Z] ---> Running in 962c1dd8d251 [2023-08-30T17:57:40.050Z] Removing intermediate container 962c1dd8d251 [2023-08-30T17:57:40.050Z] ---> 4333a065f926 [2023-08-30T17:57:40.050Z] Step 36/36 : LABEL version=0.0.0 [2023-08-30T17:57:40.050Z] ---> Running in 85eb2fe2bed0 [2023-08-30T17:57:40.316Z] Removing intermediate container 85eb2fe2bed0 [2023-08-30T17:57:40.316Z] ---> 6c3bdb074389 [2023-08-30T17:57:40.316Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T17:57:40.316Z] Successfully built 6c3bdb074389 [2023-08-30T17:57:40.316Z] Successfully tagged device-usb-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-08-30T17:57:41.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T17:57:41.256Z] [2023-08-30T17:57:41.256Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:57:41.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T17:57:41.656Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-30T17:57:41.656Z] 8998bd30e6a1: Pulling fs layer [2023-08-30T17:57:41.656Z] 04944245beec: Pulling fs layer [2023-08-30T17:57:41.656Z] 699f458cf7ca: Pulling fs layer [2023-08-30T17:57:41.656Z] 765212b225bb: Pulling fs layer [2023-08-30T17:57:41.656Z] f23df028b6ca: Pulling fs layer [2023-08-30T17:57:41.656Z] d65c8cfc05b1: Pulling fs layer [2023-08-30T17:57:41.656Z] 2437ff75d9bd: Pulling fs layer [2023-08-30T17:57:41.656Z] 765212b225bb: Waiting [2023-08-30T17:57:41.656Z] f23df028b6ca: Waiting [2023-08-30T17:57:41.657Z] d65c8cfc05b1: Waiting [2023-08-30T17:57:41.923Z] 04944245beec: Verifying Checksum [2023-08-30T17:57:41.923Z] 04944245beec: Download complete [2023-08-30T17:57:41.923Z] 765212b225bb: Verifying Checksum [2023-08-30T17:57:41.923Z] 765212b225bb: Download complete [2023-08-30T17:57:41.923Z] f23df028b6ca: Download complete [2023-08-30T17:57:41.923Z] d65c8cfc05b1: Verifying Checksum [2023-08-30T17:57:41.923Z] d65c8cfc05b1: Download complete [2023-08-30T17:57:42.190Z] 699f458cf7ca: Verifying Checksum [2023-08-30T17:57:42.190Z] 699f458cf7ca: Download complete [2023-08-30T17:57:42.457Z] 8998bd30e6a1: Download complete [2023-08-30T17:57:45.035Z] 2437ff75d9bd: Verifying Checksum [2023-08-30T17:57:45.035Z] 2437ff75d9bd: Download complete [2023-08-30T17:57:46.443Z] 8998bd30e6a1: Pull complete [2023-08-30T17:57:48.388Z] 04944245beec: Pull complete [2023-08-30T17:57:49.794Z] 699f458cf7ca: Pull complete [2023-08-30T17:57:49.794Z] 765212b225bb: Pull complete [2023-08-30T17:57:50.387Z] f23df028b6ca: Pull complete [2023-08-30T17:57:50.653Z] d65c8cfc05b1: Pull complete [2023-08-30T17:58:05.641Z] 2437ff75d9bd: Pull complete [2023-08-30T17:58:05.641Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-30T17:58:05.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T17:58:05.641Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T17:58:05.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-4913 does not seem to be running inside a container [2023-08-30T17:58:06.029Z] $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-30T17:58:08.557Z] $ docker top 12de4f89ad50060ce205e50e4f002b1cfdfa2e49561fe81409174f48359ecf19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:58:09.433Z] ---> job-cost.sh [2023-08-30T17:58:09.433Z] lf-activate-venv: SKIPPING [2023-08-30T17:58:09.433Z] INFO: No Stack... [2023-08-30T17:58:10.013Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-30T17:58:10.595Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T17:58:11.250Z] + cut -d, -f6 [2023-08-30T17:58:11.250Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2023-08-30T17:58:11.334Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-277-1-stack-cost] [2023-08-30T17:58:11.339Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-277-1-stack-cost] did not exist. Created. [2023-08-30T17:58:11.339Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-277-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T17:58:11.752Z] /w/workspace/device-usb-camera/1@tmp/durable-1f5417c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-30T17:58:12.099Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-30T17:58:12.139Z] Warning: overwriting stash ‘stack-cost’ [2023-08-30T17:58:12.190Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T17:58:12.208Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-277-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T17:58:12.293Z] $ docker stop --time=1 12de4f89ad50060ce205e50e4f002b1cfdfa2e49561fe81409174f48359ecf19 [2023-08-30T17:58:13.782Z] $ docker rm -f --volumes 12de4f89ad50060ce205e50e4f002b1cfdfa2e49561fe81409174f48359ecf19 [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-08-30T17:58:14.741Z] provisioning config files... [2023-08-30T17:58:14.748Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-277@tmp/config8571621580292623683tmp [Pipeline] { [Pipeline] sh [2023-08-30T17:58:15.083Z] + set +x [2023-08-30T17:58:15.083Z] + curl -s https://codecov.io/bash [2023-08-30T17:58:15.083Z] + bash -s -- [2023-08-30T17:58:15.083Z] [2023-08-30T17:58:15.083Z] _____ _ [2023-08-30T17:58:15.083Z] / ____| | | [2023-08-30T17:58:15.083Z] | | ___ __| | ___ ___ _____ __ [2023-08-30T17:58:15.083Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-30T17:58:15.083Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-30T17:58:15.083Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-30T17:58:15.083Z] Bash-1.0.6 [2023-08-30T17:58:15.083Z] [2023-08-30T17:58:15.083Z] [2023-08-30T17:58:15.083Z] ==> git version 2.25.1 found [2023-08-30T17:58:15.083Z] ==> 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-08-30T17:58:15.083Z] Release-Date: 2020-01-08 [2023-08-30T17:58:15.083Z] 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-08-30T17:58:15.083Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-30T17:58:15.083Z] ==> Jenkins CI detected. [2023-08-30T17:58:15.083Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-277 [2023-08-30T17:58:15.083Z] project root: . [2023-08-30T17:58:15.083Z] --> token set from env [2023-08-30T17:58:15.083Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-30T17:58:15.083Z] ==> Running gcov in . (disable via -X gcov) [2023-08-30T17:58:15.083Z] ==> Python coveragepy not found [2023-08-30T17:58:15.083Z] ==> Searching for coverage reports in: [2023-08-30T17:58:15.083Z] + . [2023-08-30T17:58:15.342Z] -> Found 1 reports [2023-08-30T17:58:15.342Z] ==> Detecting git/mercurial file structure [2023-08-30T17:58:15.342Z] ==> Reading reports [2023-08-30T17:58:15.342Z] + ./coverage.out bytes=53939 [2023-08-30T17:58:15.342Z] ==> Appending adjustments [2023-08-30T17:58:15.342Z] https://docs.codecov.io/docs/fixing-reports [2023-08-30T17:58:15.342Z] + Found adjustments [2023-08-30T17:58:15.342Z] ==> Gzipping contents [2023-08-30T17:58:15.342Z] 8.0K /tmp/codecov.6Raeb5.gz [2023-08-30T17:58:15.342Z] ==> Uploading reports [2023-08-30T17:58:15.342Z] url: https://codecov.io [2023-08-30T17:58:15.342Z] query: branch=PR-277&commit=0fd25405b18b6963bcaddf165fb910228c73f0f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-277%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=277&job=&cmd_args= [2023-08-30T17:58:15.342Z] -> Pinging Codecov [2023-08-30T17:58:15.342Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-277&commit=0fd25405b18b6963bcaddf165fb910228c73f0f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-277%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=277&job=&cmd_args= [2023-08-30T17:58:15.600Z] -> Uploading to [2023-08-30T17:58:15.600Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-30/73D8F5FF140700D3E01443B452E23636/0fd25405b18b6963bcaddf165fb910228c73f0f2/9cfafbff-9955-4a4c-8e03-1b48aafdb0ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T175815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c1e95adcfe674fb2ba7f153277adb1a9c4b2398085f011535eece86dc130a7b [2023-08-30T17:58:15.600Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T17:58:15.600Z] Dload Upload Total Spent Left Speed [2023-08-30T17:58:15.858Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6891 0 0 100 6891 0 36460 --:--:-- --:--:-- --:--:-- 36654 [2023-08-30T17:58:15.858Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/0fd25405b18b6963bcaddf165fb910228c73f0f2 [Pipeline] } [2023-08-30T17:58:15.892Z] 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-08-30T17:58:17.672Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-277/archives ] [2023-08-30T17:58:17.672Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-277/archives [2023-08-30T17:58:17.672Z] total 16 [2023-08-30T17:58:17.672Z] drwxr-xr-x 3 root root 4096 Aug 30 17:49 . [2023-08-30T17:58:17.672Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 17:49 .. [2023-08-30T17:58:17.672Z] drwxr-xr-x 2 root root 4096 Aug 30 17:49 cost [2023-08-30T17:58:17.672Z] -rw-r--r-- 1 root root 89 Aug 30 17:49 cost.csv [2023-08-30T17:58:17.672Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-277/archives [2023-08-30T17:58:17.672Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-277/archives [2023-08-30T17:58:17.672Z] total 16 [2023-08-30T17:58:17.672Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 17:49 . [2023-08-30T17:58:17.673Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 17:49 .. [2023-08-30T17:58:17.673Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 17:49 cost [2023-08-30T17:58:17.673Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 30 17:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:58:18.011Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:58:18.898Z] ---> package-listing.sh [2023-08-30T17:58:18.898Z] ++ facter osfamily [2023-08-30T17:58:18.898Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-30T17:58:19.158Z] + OS_FAMILY=debian [2023-08-30T17:58:19.158Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-277 [2023-08-30T17:58:19.158Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-30T17:58:19.158Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-30T17:58:19.158Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-30T17:58:19.158Z] + PACKAGES=/tmp/packages_start.txt [2023-08-30T17:58:19.158Z] + '[' /w/workspace/foundry_device-usb-camera_PR-277 ']' [2023-08-30T17:58:19.158Z] + PACKAGES=/tmp/packages_end.txt [2023-08-30T17:58:19.158Z] + case "${OS_FAMILY}" in [2023-08-30T17:58:19.158Z] + dpkg -l [2023-08-30T17:58:19.158Z] + grep '^ii' [2023-08-30T17:58:19.158Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-30T17:58:19.158Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-30T17:58:19.158Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-30T17:58:19.158Z] + '[' /w/workspace/foundry_device-usb-camera_PR-277 ']' [2023-08-30T17:58:19.158Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-277/archives/ [2023-08-30T17:58:19.158Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-277/archives/ [Pipeline] echo [2023-08-30T17:58:19.188Z] 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/foundry_device-usb-camera_PR-277/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-30T17:58:19.477Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T17:58:20.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T17:58:20.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T17:58:20.256Z] prd-ubuntu20.04-docker-8c-8g-4911 does not seem to be running inside a container [2023-08-30T17:58:20.272Z] $ 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/foundry_device-usb-camera_PR-277/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-277 -v /w/workspace/foundry_device-usb-camera_PR-277:/w/workspace/foundry_device-usb-camera_PR-277:rw,z -v /w/workspace/foundry_device-usb-camera_PR-277@tmp:/w/workspace/foundry_device-usb-camera_PR-277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-30T17:58:20.438Z] $ docker top 4a957728e0371b3eaa8d6f72de0e1be0eb9686baed1f4b934d313518bb41460d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T17:58:20.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-30T17:58:21.152Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-30T17:58:21.459Z] + ls /var/log/sa-host [2023-08-30T17:58:21.459Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T17:58:21.597Z] provisioning config files... [2023-08-30T17:58:21.605Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-277@tmp/config11236015603125078185tmp [Pipeline] { [Pipeline] echo [2023-08-30T17:58:21.659Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:58:21.967Z] ---> create-netrc.sh [Pipeline] } [2023-08-30T17:58:21.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:58:22.414Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-30T17:58:22.447Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:58:22.757Z] ---> sudo-logs.sh [2023-08-30T17:58:22.757Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-30T17:58:22.843Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:58:23.155Z] ---> job-cost.sh [2023-08-30T17:58:23.155Z] lf-activate-venv: SKIPPING [2023-08-30T17:58:23.155Z] DEBUG: total: 0.2199999988079071 [2023-08-30T17:58:23.155Z] INFO: Retrieving Stack Cost... [2023-08-30T17:58:23.414Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T17:58:23.982Z] INFO: Archiving Costs [Pipeline] echo [2023-08-30T17:58:24.015Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T17:58:24.328Z] ---> logs-deploy.sh [2023-08-30T17:58:24.328Z] lf-activate-venv: SKIPPING [2023-08-30T17:58:24.328Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-277/1 [2023-08-30T17:58:24.328Z] INFO: archiving workspace using pattern(s): [2023-08-30T17:58:25.266Z] Archives upload complete. [2023-08-30T17:58:25.266Z] INFO: archiving logs to Nexus