Pull request #231 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 74d0f8a14ba09beb312c6664c68cd10594a31827+c99ddce2530f0bca898d9428dd15bfa81bd19b45 (665348708adccd46f8064f8b7f67939cb6c7271a) 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-ssh5633492036852477028.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1399158685419319933.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-231/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-231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5142802169554045742.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-231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15344544844429942125.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh5284836774647563636.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-231/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-231/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14191110063810063582.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-12382’ Running on prd-ubuntu20.04-docker-8c-8g-12400 in /w/workspace/foundry_device-usb-camera_PR-231 [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-231 # 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 > 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/231/head:refs/remotes/origin/PR-231 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c99ddce2530f0bca898d9428dd15bfa81bd19b45 into PR head commit 74d0f8a14ba09beb312c6664c68cd10594a31827 Merge succeeded, producing 74d0f8a14ba09beb312c6664c68cd10594a31827 Checking out Revision 74d0f8a14ba09beb312c6664c68cd10594a31827 (PR-231) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 74d0f8a14ba09beb312c6664c68cd10594a31827 # 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 c99ddce2530f0bca898d9428dd15bfa81bd19b45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74d0f8a14ba09beb312c6664c68cd10594a31827 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-02T18:03:22.065Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-02T18:03:22.274Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-02T18:03:22.382Z] ========================================================= [2023-05-02T18:03:22.382Z] EdgeX Global Pipelines Version Info [2023-05-02T18:03:22.382Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:03:23.162Z] ------------------- [2023-05-02T18:03:23.162Z] stable info: [2023-05-02T18:03:23.162Z] ------------------- [2023-05-02T18:03:23.162Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-02T18:03:23.162Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-02T18:03:23.162Z] Message: update stable to v1.0.248 [2023-05-02T18:03:23.734Z] ------------------- [2023-05-02T18:03:23.734Z] experimental info: [2023-05-02T18:03:23.734Z] ------------------- [2023-05-02T18:03:23.734Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-02T18:03:23.734Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-02T18:03:23.734Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-02T18:03:24.047Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-02T18:03:24.099Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-02T18:03:24.145Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-02T18:03:24.189Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-02T18:03:24.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-02T18:03:24.289Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-02T18:03:24.334Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-02T18:03:24.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-02T18:03:24.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-02T18:03:24.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-02T18:03:24.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-02T18:03:24.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-02T18:03:24.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-02T18:03:24.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-02T18:03:24.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-02T18:03:24.776Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-02T18:03:24.820Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-02T18:03:24.871Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-02T18:03:24.920Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-02T18:03:24.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-02T18:03:25.012Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-02T18:03:25.058Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-02T18:03:25.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-02T18:03:25.143Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-02T18:03:25.186Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-02T18:03:25.232Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-02T18:03:25.281Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-02T18:03:25.326Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-231 [Pipeline] echo [2023-05-02T18:03:25.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-231 [Pipeline] echo [2023-05-02T18:03:25.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-231 [Pipeline] echo [2023-05-02T18:03:25.452Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74d0f8a14ba09beb312c6664c68cd10594a31827 [Pipeline] echo [2023-05-02T18:03:25.498Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74d0f8a [Pipeline] echo [2023-05-02T18:03:25.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T18:03:25.690Z] provisioning config files... [2023-05-02T18:03:25.745Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-231@tmp/config12645877767518415116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:03:26.090Z] ---> docker-login.sh [2023-05-02T18:03:26.090Z] nexus3.edgexfoundry.org:10001 [2023-05-02T18:03:26.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:26.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:26.351Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:26.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:26.351Z] [2023-05-02T18:03:26.351Z] Login Succeeded [2023-05-02T18:03:26.351Z] nexus3.edgexfoundry.org:10002 [2023-05-02T18:03:26.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:26.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:26.611Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:26.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:26.611Z] [2023-05-02T18:03:26.611Z] Login Succeeded [2023-05-02T18:03:26.611Z] nexus3.edgexfoundry.org:10003 [2023-05-02T18:03:26.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:26.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:26.611Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:26.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:26.611Z] [2023-05-02T18:03:26.611Z] Login Succeeded [2023-05-02T18:03:26.611Z] nexus3.edgexfoundry.org:10004 [2023-05-02T18:03:26.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:26.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:26.611Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:26.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:26.611Z] [2023-05-02T18:03:26.611Z] Login Succeeded [2023-05-02T18:03:26.611Z] docker.io [2023-05-02T18:03:26.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:26.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:26.872Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:26.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:26.872Z] [2023-05-02T18:03:26.872Z] Login Succeeded [2023-05-02T18:03:26.872Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T18:03:26.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-02T18:03:27.553Z] + git rev-list -1 --merges 74d0f8a14ba09beb312c6664c68cd10594a31827~1..74d0f8a14ba09beb312c6664c68cd10594a31827 [Pipeline] echo [2023-05-02T18:03:27.619Z] -----------> git rev-list -1 --merges 74d0f8a14ba09beb312c6664c68cd10594a31827~1..74d0f8a14ba09beb312c6664c68cd10594a31827 74d0f8a14ba09beb312c6664c68cd10594a31827 [false] [Pipeline] sh [2023-05-02T18:03:27.936Z] + git log --format=format:%s -1 74d0f8a14ba09beb312c6664c68cd10594a31827 [Pipeline] echo [2023-05-02T18:03:27.975Z] ========================================================= [2023-05-02T18:03:27.975Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-02T18:03:27.975Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T18:03:28.392Z] + git log --format=format:%s -1 74d0f8a14ba09beb312c6664c68cd10594a31827 [Pipeline] echo [2023-05-02T18:03:28.424Z] [semverPrep] GIT_COMMIT: 74d0f8a14ba09beb312c6664c68cd10594a31827, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-05-02T18:03:28.451Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-02T18:03:28.830Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-02T18:03:28.830Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-02T18:03:28.830Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-02T18:03:28.830Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-02T18:03:28.830Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-02T18:03:28.830Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-02T18:03:28.830Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:03:29.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T18:03:29.278Z] [2023-05-02T18:03:29.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:03:29.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T18:03:30.597Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-02T18:03:30.597Z] b85a868b505f: Pulling fs layer [2023-05-02T18:03:30.597Z] e2be974225ed: Pulling fs layer [2023-05-02T18:03:30.597Z] 339a4e72a1f5: Pulling fs layer [2023-05-02T18:03:30.597Z] 988bab9f4d93: Pulling fs layer [2023-05-02T18:03:30.597Z] 1469e6f7b9e6: Pulling fs layer [2023-05-02T18:03:30.597Z] eaf3925da568: Pulling fs layer [2023-05-02T18:03:30.597Z] bab4dde63d76: Pulling fs layer [2023-05-02T18:03:30.597Z] bde34c3a00c8: Pulling fs layer [2023-05-02T18:03:30.597Z] b352a97aabf1: Pulling fs layer [2023-05-02T18:03:30.597Z] 4872d77fe225: Pulling fs layer [2023-05-02T18:03:30.597Z] 5851b861e8e6: Pulling fs layer [2023-05-02T18:03:30.597Z] eaf3925da568: Waiting [2023-05-02T18:03:30.597Z] 988bab9f4d93: Waiting [2023-05-02T18:03:30.597Z] bab4dde63d76: Waiting [2023-05-02T18:03:30.597Z] b352a97aabf1: Waiting [2023-05-02T18:03:30.597Z] 4872d77fe225: Waiting [2023-05-02T18:03:30.597Z] bde34c3a00c8: Waiting [2023-05-02T18:03:30.597Z] e2be974225ed: Verifying Checksum [2023-05-02T18:03:30.597Z] e2be974225ed: Download complete [2023-05-02T18:03:30.597Z] 988bab9f4d93: Verifying Checksum [2023-05-02T18:03:30.597Z] 988bab9f4d93: Download complete [2023-05-02T18:03:30.857Z] 1469e6f7b9e6: Verifying Checksum [2023-05-02T18:03:30.857Z] 1469e6f7b9e6: Download complete [2023-05-02T18:03:30.857Z] 339a4e72a1f5: Verifying Checksum [2023-05-02T18:03:30.857Z] 339a4e72a1f5: Download complete [2023-05-02T18:03:30.857Z] eaf3925da568: Verifying Checksum [2023-05-02T18:03:30.857Z] eaf3925da568: Download complete [2023-05-02T18:03:30.857Z] bde34c3a00c8: Verifying Checksum [2023-05-02T18:03:30.857Z] bde34c3a00c8: Download complete [2023-05-02T18:03:30.857Z] b352a97aabf1: Verifying Checksum [2023-05-02T18:03:30.857Z] b352a97aabf1: Download complete [2023-05-02T18:03:30.857Z] 4872d77fe225: Verifying Checksum [2023-05-02T18:03:30.857Z] 4872d77fe225: Download complete [2023-05-02T18:03:30.857Z] 5851b861e8e6: Verifying Checksum [2023-05-02T18:03:30.857Z] 5851b861e8e6: Download complete [2023-05-02T18:03:30.857Z] b85a868b505f: Download complete [2023-05-02T18:03:31.116Z] bab4dde63d76: Verifying Checksum [2023-05-02T18:03:31.116Z] bab4dde63d76: Download complete [2023-05-02T18:03:32.499Z] b85a868b505f: Pull complete [2023-05-02T18:03:33.088Z] e2be974225ed: Pull complete [2023-05-02T18:03:34.486Z] 339a4e72a1f5: Pull complete [2023-05-02T18:03:35.053Z] 988bab9f4d93: Pull complete [2023-05-02T18:03:35.330Z] 1469e6f7b9e6: Pull complete [2023-05-02T18:03:35.589Z] eaf3925da568: Pull complete [2023-05-02T18:03:37.506Z] bab4dde63d76: Pull complete [2023-05-02T18:03:37.506Z] bde34c3a00c8: Pull complete [2023-05-02T18:03:37.506Z] b352a97aabf1: Pull complete [2023-05-02T18:03:37.506Z] 4872d77fe225: Pull complete [2023-05-02T18:03:37.506Z] 5851b861e8e6: Pull complete [2023-05-02T18:03:37.506Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-02T18:03:37.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T18:03:37.506Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T18:03:37.759Z] prd-ubuntu20.04-docker-8c-8g-12400 does not seem to be running inside a container [2023-05-02T18:03:37.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-231 -v /w/workspace/foundry_device-usb-camera_PR-231:/w/workspace/foundry_device-usb-camera_PR-231:rw,z -v /w/workspace/foundry_device-usb-camera_PR-231@tmp:/w/workspace/foundry_device-usb-camera_PR-231@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-05-02T18:03:41.969Z] $ docker top 8a08d1ee9a12b62c2fd46bb328b2a1efc292e278bb8b9244a9430ecac2441ed3 -eo pid,comm [2023-05-02T18:03:42.017Z] 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-05-02T18:03:42.017Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-02T18:03:42.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-02T18:03:42.147Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-02T18:03:42.304Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-02T18:03:42.311Z] $ docker exec 8a08d1ee9a12b62c2fd46bb328b2a1efc292e278bb8b9244a9430ecac2441ed3 ssh-agent [2023-05-02T18:03:42.405Z] SSH_AUTH_SOCK=/tmp/ssh-zC3OQuVcwfTY/agent.31 [2023-05-02T18:03:42.405Z] SSH_AGENT_PID=37 [2023-05-02T18:03:42.412Z] Running ssh-add (command line suppressed) [2023-05-02T18:03:42.515Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-231@tmp/private_key_9394981783285808689.key (/w/workspace/foundry_device-usb-camera_PR-231@tmp/private_key_9394981783285808689.key) [2023-05-02T18:03:43.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-02T18:03:43.853Z] + git tag --points-at HEAD [Pipeline] } [2023-05-02T18:03:43.882Z] $ docker exec --env ******** --env ******** 8a08d1ee9a12b62c2fd46bb328b2a1efc292e278bb8b9244a9430ecac2441ed3 ssh-agent -k [2023-05-02T18:03:43.975Z] unset SSH_AUTH_SOCK; [2023-05-02T18:03:43.977Z] unset SSH_AGENT_PID; [2023-05-02T18:03:43.978Z] echo Agent pid 37 killed; [2023-05-02T18:03:43.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-02T18:03:44.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-02T18:03:44.079Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-02T18:03:44.190Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-02T18:03:44.196Z] $ docker exec 8a08d1ee9a12b62c2fd46bb328b2a1efc292e278bb8b9244a9430ecac2441ed3 ssh-agent [2023-05-02T18:03:44.322Z] SSH_AUTH_SOCK=/tmp/ssh-wy0Eqog2EVQQ/agent.69 [2023-05-02T18:03:44.322Z] SSH_AGENT_PID=75 [2023-05-02T18:03:44.328Z] Running ssh-add (command line suppressed) [2023-05-02T18:03:44.434Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-231@tmp/private_key_4457218368306374626.key (/w/workspace/foundry_device-usb-camera_PR-231@tmp/private_key_4457218368306374626.key) [2023-05-02T18:03:44.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-02T18:03:44.777Z] + git semver init [2023-05-02T18:03:45.037Z] 2023-05-02 18:03:44,969 [run_init] DEBUG init version:0.0.0 force:False [2023-05-02T18:03:45.037Z] 2023-05-02 18:03:44,970 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-231/.semver [2023-05-02T18:03:45.037Z] 2023-05-02 18:03:44,970 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-231/.semver [2023-05-02T18:03:45.037Z] 2023-05-02 18:03:44,970 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-231/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-231, universal_newlines=False, shell=None, istream=None) [2023-05-02T18:03:48.161Z] 2023-05-02 18:03:48,070 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-231/.git/info/exclude [2023-05-02T18:03:48.162Z] 2023-05-02 18:03:48,070 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-231/.semver/PR-231 with force:False [2023-05-02T18:03:48.162Z] 2023-05-02 18:03:48,071 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-231/.semver/PR-231 [2023-05-02T18:03:48.162Z] 2023-05-02 18:03:48,075 [execute] INFO git cat-file --batch-check [2023-05-02T18:03:48.162Z] 2023-05-02 18:03:48,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-231/.semver, universal_newlines=False, shell=None, istream=) [2023-05-02T18:03:48.162Z] 2023-05-02 18:03:48,081 [execute] INFO git cat-file --batch [2023-05-02T18:03:48.162Z] 2023-05-02 18:03:48,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-231/.semver, universal_newlines=False, shell=None, istream=) [2023-05-02T18:03:48.162Z] 2023-05-02 18:03:48,086 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-231/.semver/PR-231 [2023-05-02T18:03:48.162Z] 0.0.0 [Pipeline] } [2023-05-02T18:03:48.191Z] $ docker exec --env ******** --env ******** 8a08d1ee9a12b62c2fd46bb328b2a1efc292e278bb8b9244a9430ecac2441ed3 ssh-agent -k [2023-05-02T18:03:48.304Z] unset SSH_AUTH_SOCK; [2023-05-02T18:03:48.304Z] unset SSH_AGENT_PID; [2023-05-02T18:03:48.304Z] echo Agent pid 75 killed; [2023-05-02T18:03:48.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-02T18:03:48.826Z] + git semver [Pipeline] } [2023-05-02T18:03:49.126Z] $ docker stop --time=1 8a08d1ee9a12b62c2fd46bb328b2a1efc292e278bb8b9244a9430ecac2441ed3 [2023-05-02T18:03:50.405Z] $ docker rm -f --volumes 8a08d1ee9a12b62c2fd46bb328b2a1efc292e278bb8b9244a9430ecac2441ed3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T18:03:50.800Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-02T18:03:51.126Z] Stashed 1 file(s) [Pipeline] echo [2023-05-02T18:03:51.144Z] [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-05-02T18:03:51.857Z] provisioning config files... [2023-05-02T18:03:51.866Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-231@tmp/config9009706361447761607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:03:55.021Z] ---> docker-login.sh [2023-05-02T18:03:55.021Z] nexus3.edgexfoundry.org:10001 [2023-05-02T18:03:55.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:55.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:55.281Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:55.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:55.281Z] [2023-05-02T18:03:55.281Z] Login Succeeded [2023-05-02T18:03:55.281Z] nexus3.edgexfoundry.org:10002 [2023-05-02T18:03:55.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:55.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:55.281Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:55.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:55.281Z] [2023-05-02T18:03:55.281Z] Login Succeeded [2023-05-02T18:03:55.281Z] nexus3.edgexfoundry.org:10003 [2023-05-02T18:03:55.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:55.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:55.281Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:55.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:55.281Z] [2023-05-02T18:03:55.281Z] Login Succeeded [2023-05-02T18:03:55.281Z] nexus3.edgexfoundry.org:10004 [2023-05-02T18:03:55.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:55.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:55.542Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:55.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:55.542Z] [2023-05-02T18:03:55.542Z] Login Succeeded [2023-05-02T18:03:55.542Z] docker.io [2023-05-02T18:03:55.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:03:55.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:03:55.804Z] Configure a credential helper to remove this warning. See [2023-05-02T18:03:55.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:03:55.804Z] [2023-05-02T18:03:55.804Z] Login Succeeded [2023-05-02T18:03:55.804Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T18:03:55.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-02T18:03:56.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T18:03:56.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T18:03:56.096Z] ========================================================= [2023-05-02T18:03:56.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-02T18:03:56.096Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:03:56.563Z] + 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-05-02T18:03:56.563Z] Sending build context to Docker daemon 1.97MB [2023-05-02T18:03:56.563Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T18:03:56.563Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-02T18:03:56.822Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-02T18:03:56.822Z] f56be85fc22e: Pulling fs layer [2023-05-02T18:03:56.822Z] 85791d961cd3: Pulling fs layer [2023-05-02T18:03:56.822Z] d694b5ae8c79: Pulling fs layer [2023-05-02T18:03:56.822Z] 9f32a84ed3da: Pulling fs layer [2023-05-02T18:03:56.822Z] 4d19c01a9841: Pulling fs layer [2023-05-02T18:03:56.822Z] 9325e15d5711: Pulling fs layer [2023-05-02T18:03:56.822Z] 556b6ee489ea: Pulling fs layer [2023-05-02T18:03:56.822Z] c5a4b2cf53e6: Pulling fs layer [2023-05-02T18:03:56.822Z] 4d19c01a9841: Waiting [2023-05-02T18:03:56.822Z] 9325e15d5711: Waiting [2023-05-02T18:03:56.822Z] 556b6ee489ea: Waiting [2023-05-02T18:03:56.822Z] c5a4b2cf53e6: Waiting [2023-05-02T18:03:56.822Z] 9f32a84ed3da: Waiting [2023-05-02T18:03:56.822Z] 85791d961cd3: Verifying Checksum [2023-05-02T18:03:56.822Z] 85791d961cd3: Download complete [2023-05-02T18:03:56.822Z] 9f32a84ed3da: Verifying Checksum [2023-05-02T18:03:56.822Z] 9f32a84ed3da: Download complete [2023-05-02T18:03:56.822Z] f56be85fc22e: Verifying Checksum [2023-05-02T18:03:56.822Z] f56be85fc22e: Download complete [2023-05-02T18:03:56.822Z] 4d19c01a9841: Verifying Checksum [2023-05-02T18:03:56.822Z] 4d19c01a9841: Download complete [2023-05-02T18:03:57.083Z] 9325e15d5711: Download complete [2023-05-02T18:03:57.342Z] f56be85fc22e: Pull complete [2023-05-02T18:03:57.603Z] 85791d961cd3: Pull complete [2023-05-02T18:03:57.863Z] c5a4b2cf53e6: Verifying Checksum [2023-05-02T18:03:57.863Z] c5a4b2cf53e6: Download complete [2023-05-02T18:03:57.863Z] d694b5ae8c79: Verifying Checksum [2023-05-02T18:03:57.863Z] d694b5ae8c79: Download complete [2023-05-02T18:03:58.121Z] 556b6ee489ea: Verifying Checksum [2023-05-02T18:03:58.121Z] 556b6ee489ea: Download complete [2023-05-02T18:04:01.417Z] d694b5ae8c79: Pull complete [2023-05-02T18:04:01.417Z] 9f32a84ed3da: Pull complete [2023-05-02T18:04:01.417Z] 4d19c01a9841: Pull complete [2023-05-02T18:04:01.417Z] 9325e15d5711: Pull complete [2023-05-02T18:04:03.953Z] 556b6ee489ea: Pull complete [2023-05-02T18:04:04.889Z] c5a4b2cf53e6: Pull complete [2023-05-02T18:04:04.889Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-02T18:04:04.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-02T18:04:04.889Z] ---> c4be618373d6 [2023-05-02T18:04:04.889Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-02T18:04:06.648Z] Still waiting to schedule task [2023-05-02T18:04:06.649Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12391’ [2023-05-02T18:04:13.033Z] ---> Running in 187b88261619 [2023-05-02T18:04:13.033Z] Removing intermediate container 187b88261619 [2023-05-02T18:04:13.033Z] ---> f5cb80295db1 [2023-05-02T18:04:13.033Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T18:04:13.033Z] ---> Running in 34f63ecf59a3 [2023-05-02T18:04:13.033Z] Removing intermediate container 34f63ecf59a3 [2023-05-02T18:04:13.033Z] ---> c38c5379210e [2023-05-02T18:04:13.033Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-02T18:04:13.033Z] ---> Running in 12b378e92664 [2023-05-02T18:04:13.293Z] Removing intermediate container 12b378e92664 [2023-05-02T18:04:13.293Z] ---> bb422fd0ab5c [2023-05-02T18:04:13.293Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-02T18:04:13.551Z] ---> Running in b83f2d97436f [2023-05-02T18:04:13.810Z] Removing intermediate container b83f2d97436f [2023-05-02T18:04:13.810Z] ---> 7c5860040fe1 [2023-05-02T18:04:13.810Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T18:04:14.069Z] ---> Running in 3fc0e7909dff [2023-05-02T18:04:14.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T18:04:14.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T18:04:14.908Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-02T18:04:14.908Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-02T18:04:14.908Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-02T18:04:14.908Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-02T18:04:15.167Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-02T18:04:15.167Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-02T18:04:15.167Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-02T18:04:15.167Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-02T18:04:15.167Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-02T18:04:15.167Z] (10/14) Installing kmod-libs (30-r1) [2023-05-02T18:04:15.167Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-02T18:04:15.167Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-02T18:04:15.167Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-02T18:04:15.167Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-02T18:04:15.167Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T18:04:15.167Z] Executing eudev-3.2.11-r4.trigger [2023-05-02T18:04:15.167Z] OK: 272 MiB in 67 packages [2023-05-02T18:04:17.081Z] Removing intermediate container 3fc0e7909dff [2023-05-02T18:04:17.081Z] ---> 97fbfae08d2d [2023-05-02T18:04:17.081Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-02T18:04:17.081Z] ---> Running in b0ae4c108cd7 [2023-05-02T18:04:17.081Z] Removing intermediate container b0ae4c108cd7 [2023-05-02T18:04:17.081Z] ---> 2601043e834b [2023-05-02T18:04:17.081Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-02T18:04:17.081Z] ---> 318455967f37 [2023-05-02T18:04:17.081Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T18:04:17.081Z] ---> Running in 77e2213d8cfc [2023-05-02T18:05:24.821Z] Removing intermediate container 77e2213d8cfc [2023-05-02T18:05:24.821Z] ---> 8dd84ead700e [2023-05-02T18:05:24.822Z] Step 11/13 : COPY . . [2023-05-02T18:05:24.822Z] ---> b87b03047599 [2023-05-02T18:05:24.822Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-02T18:05:24.822Z] ---> Running in 25674feecb4c [2023-05-02T18:05:24.822Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T18:05:24.822Z] Dload Upload Total Spent Left Speed [2023-05-02T18:05:24.822Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6716 0 --:--:-- --:--:-- --:--:-- 6764 [2023-05-02T18:05:24.822Z] Removing intermediate container 25674feecb4c [2023-05-02T18:05:24.822Z] ---> a58048b460de [2023-05-02T18:05:24.822Z] Step 13/13 : RUN ${MAKE} [2023-05-02T18:05:24.822Z] ---> Running in e905f210e4ea [2023-05-02T18:05:24.822Z] noop [2023-05-02T18:05:24.822Z] Removing intermediate container e905f210e4ea [2023-05-02T18:05:24.822Z] ---> b975cc181346 [2023-05-02T18:05:24.822Z] Successfully built b975cc181346 [2023-05-02T18:05:24.822Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:05:25.297Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-02T18:05:25.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T18:05:25.476Z] prd-ubuntu20.04-docker-8c-8g-12400 does not seem to be running inside a container [2023-05-02T18:05:25.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-231 -v /w/workspace/foundry_device-usb-camera_PR-231:/w/workspace/foundry_device-usb-camera_PR-231:rw,z -v /w/workspace/foundry_device-usb-camera_PR-231@tmp:/w/workspace/foundry_device-usb-camera_PR-231@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-05-02T18:05:25.857Z] $ docker top e16c38a794a9d2d5f69d69dc5f5a422b20ab70d6e8218c6efb16efdc62b95a62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T18:05:26.258Z] + go version [2023-05-02T18:05:26.258Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-02T18:05:26.295Z] $ docker stop --time=1 e16c38a794a9d2d5f69d69dc5f5a422b20ab70d6e8218c6efb16efdc62b95a62 [2023-05-02T18:05:27.604Z] $ docker rm -f --volumes e16c38a794a9d2d5f69d69dc5f5a422b20ab70d6e8218c6efb16efdc62b95a62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:05:28.337Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-02T18:05:28.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T18:05:28.488Z] prd-ubuntu20.04-docker-8c-8g-12400 does not seem to be running inside a container [2023-05-02T18:05:28.525Z] $ 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-231 -v /w/workspace/foundry_device-usb-camera_PR-231:/w/workspace/foundry_device-usb-camera_PR-231:rw,z -v /w/workspace/foundry_device-usb-camera_PR-231@tmp:/w/workspace/foundry_device-usb-camera_PR-231@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-05-02T18:05:28.878Z] $ docker top 99e317fc3105d5c801f1281e8c1bc3c7a7e795e26294cfbd52dcbce6b54d7b32 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T18:05:29.274Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-231 [Pipeline] fileExists [Pipeline] sh [2023-05-02T18:05:29.731Z] + make test [2023-05-02T18:05:29.731Z] go test ./... -coverprofile=coverage.out ./... [2023-05-02T18:05:35.146Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-02T18:05:45.119Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-02T18:05:45.686Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 2.0% of statements [2023-05-02T18:05:53.821Z] go vet ./... [2023-05-02T18:05:57.182Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-02T18:05:57.182Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-02T18:05:57.182Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-02T18:05:57.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-02T18:05:57.251Z] $ docker stop --time=1 99e317fc3105d5c801f1281e8c1bc3c7a7e795e26294cfbd52dcbce6b54d7b32 [2023-05-02T18:06:02.062Z] $ docker rm -f --volumes 99e317fc3105d5c801f1281e8c1bc3c7a7e795e26294cfbd52dcbce6b54d7b32 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T18:06:02.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-02T18:06:02.773Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-02T18:06:03.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-02T18:06:03.831Z] + ls -al . [2023-05-02T18:06:03.831Z] total 192 [2023-05-02T18:06:03.831Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 18:05 . [2023-05-02T18:06:03.831Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 18:03 .. [2023-05-02T18:06:03.831Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 18:03 .git [2023-05-02T18:06:03.831Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 18:03 .github [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 414 May 2 18:03 .gitignore [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 42 May 2 18:03 .golangci.yml [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 77 May 2 18:03 .hadolint.yml [2023-05-02T18:06:03.831Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 18:03 .semver [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 2 18:03 Attribution.txt [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 2 18:03 CHANGELOG.md [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 2 18:03 Dockerfile [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 678 May 2 18:03 GOVERNANCE.md [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 659 May 2 18:03 Jenkinsfile [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 2 18:03 LICENSE [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 2 18:03 Makefile [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 622 May 2 18:03 OWNERS.md [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 2 18:03 README.md [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 18:03 VERSION [2023-05-02T18:06:03.831Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 18:03 bin [2023-05-02T18:06:03.831Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 18:03 cmd [2023-05-02T18:06:03.831Z] -rw-r--r-- 1 jenkins jenkins 28693 May 2 18:05 coverage.out [2023-05-02T18:06:03.831Z] -rwxrwxr-x 1 jenkins jenkins 140 May 2 18:03 docker-entrypoint.sh [2023-05-02T18:06:03.831Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 18:03 docs [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 2 18:03 go.mod [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 2 18:03 go.sum [2023-05-02T18:06:03.831Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 18:03 internal [2023-05-02T18:06:03.831Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 18:03 snap [2023-05-02T18:06:03.831Z] -rw-rw-r-- 1 jenkins jenkins 231 May 2 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:06:04.272Z] + 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=74d0f8a14ba09beb312c6664c68cd10594a31827 --label arch=amd64 --label version=0.0.0 . [2023-05-02T18:06:04.272Z] Sending build context to Docker daemon 2MB [2023-05-02T18:06:04.272Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T18:06:04.272Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-02T18:06:04.272Z] ---> b975cc181346 [2023-05-02T18:06:04.272Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-02T18:06:04.533Z] ---> Running in 386d09f6be8e [2023-05-02T18:06:04.533Z] Removing intermediate container 386d09f6be8e [2023-05-02T18:06:04.533Z] ---> 9ad881c58430 [2023-05-02T18:06:04.533Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T18:06:04.533Z] ---> Running in a7ca1da8e109 [2023-05-02T18:06:05.102Z] Removing intermediate container a7ca1da8e109 [2023-05-02T18:06:05.102Z] ---> 4e87fdff2c85 [2023-05-02T18:06:05.102Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-02T18:06:05.102Z] ---> Running in a86612e60c67 [2023-05-02T18:06:05.102Z] Removing intermediate container a86612e60c67 [2023-05-02T18:06:05.102Z] ---> 79af4d6b522a [2023-05-02T18:06:05.102Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-02T18:06:05.102Z] ---> Running in d38307e4e518 [2023-05-02T18:06:05.102Z] Removing intermediate container d38307e4e518 [2023-05-02T18:06:05.102Z] ---> 6456e66352a9 [2023-05-02T18:06:05.102Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T18:06:05.102Z] ---> Running in 7a8903aec196 [2023-05-02T18:06:05.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T18:06:05.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T18:06:05.893Z] OK: 272 MiB in 67 packages [2023-05-02T18:06:06.152Z] Removing intermediate container 7a8903aec196 [2023-05-02T18:06:06.152Z] ---> 3bfec7e53e17 [2023-05-02T18:06:06.152Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-02T18:06:06.152Z] ---> Running in d6f86a7239ff [2023-05-02T18:06:06.152Z] Removing intermediate container d6f86a7239ff [2023-05-02T18:06:06.152Z] ---> b0173e5f73a9 [2023-05-02T18:06:06.152Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-02T18:06:06.421Z] ---> fe24efdba283 [2023-05-02T18:06:06.421Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T18:06:06.421Z] ---> Running in b244665437a2 [2023-05-02T18:06:06.988Z] Removing intermediate container b244665437a2 [2023-05-02T18:06:06.988Z] ---> 3d7e4b4e286c [2023-05-02T18:06:06.988Z] Step 11/35 : COPY . . [2023-05-02T18:06:07.248Z] ---> 9172fce147af [2023-05-02T18:06:07.248Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-02T18:06:07.248Z] ---> Running in 55607ca8cf51 [2023-05-02T18:06:07.817Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T18:06:07.817Z] Dload Upload Total Spent Left Speed [2023-05-02T18:06:07.817Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14547 0 --:--:-- --:--:-- --:--:-- 14750 [2023-05-02T18:06:08.076Z] Removing intermediate container 55607ca8cf51 [2023-05-02T18:06:08.076Z] ---> b755c6705a6a [2023-05-02T18:06:08.076Z] Step 13/35 : RUN ${MAKE} [2023-05-02T18:06:08.076Z] ---> Running in d95e80b5b76e [2023-05-02T18:06:08.334Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-02T18:06:30.266Z] Removing intermediate container d95e80b5b76e [2023-05-02T18:06:30.266Z] ---> fdab40488696 [2023-05-02T18:06:30.266Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-02T18:06:30.266Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-02T18:06:30.266Z] 4acc49c71d14: Pulling fs layer [2023-05-02T18:06:30.266Z] 4acc49c71d14: Download complete [2023-05-02T18:06:30.266Z] 4acc49c71d14: Pull complete [2023-05-02T18:06:30.525Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-02T18:06:30.525Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-02T18:06:30.525Z] ---> 01a2bd3e5fff [2023-05-02T18:06:30.525Z] Step 15/35 : FROM alpine:3.17 [2023-05-02T18:06:30.784Z] 3.17: Pulling from library/alpine [2023-05-02T18:06:30.784Z] f56be85fc22e: Already exists [2023-05-02T18:06:31.057Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-02T18:06:31.057Z] Status: Downloaded newer image for alpine:3.17 [2023-05-02T18:06:31.057Z] ---> 9ed4aefc74f6 [2023-05-02T18:06:31.057Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-02T18:06:31.316Z] ---> Running in 1a8afcb71308 [2023-05-02T18:06:31.317Z] Removing intermediate container 1a8afcb71308 [2023-05-02T18:06:31.317Z] ---> 1f1001a9c917 [2023-05-02T18:06:31.317Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-02T18:06:31.317Z] ---> Running in f826350bf624 [2023-05-02T18:06:31.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T18:06:31.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T18:06:31.836Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-02T18:06:31.836Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-02T18:06:31.836Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-02T18:06:32.097Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-02T18:06:32.097Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-02T18:06:32.097Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-02T18:06:32.097Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-02T18:06:32.097Z] (8/86) Installing libxcb (1.15-r0) [2023-05-02T18:06:32.097Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-02T18:06:32.097Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-02T18:06:32.097Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-02T18:06:32.097Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-02T18:06:32.097Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-02T18:06:32.097Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-02T18:06:32.097Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-02T18:06:32.097Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-02T18:06:32.097Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-02T18:06:32.097Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-02T18:06:32.097Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-02T18:06:32.097Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-02T18:06:32.358Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-02T18:06:32.358Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-02T18:06:32.358Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-02T18:06:32.358Z] (24/86) Installing glib (2.74.6-r0) [2023-05-02T18:06:32.358Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-02T18:06:32.358Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-02T18:06:32.358Z] (27/86) Installing libass (0.16.0-r1) [2023-05-02T18:06:32.358Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-02T18:06:32.358Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-02T18:06:32.358Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-02T18:06:32.358Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-02T18:06:32.358Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-02T18:06:32.358Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-02T18:06:32.358Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-02T18:06:32.358Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-02T18:06:32.358Z] (36/86) Installing libunistring (1.1-r0) [2023-05-02T18:06:32.358Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-02T18:06:32.358Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-02T18:06:32.358Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-02T18:06:32.358Z] (40/86) Installing lame (3.100-r2) [2023-05-02T18:06:32.358Z] (41/86) Installing opus (1.3.1-r1) [2023-05-02T18:06:32.358Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-02T18:06:32.618Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-02T18:06:32.618Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-02T18:06:32.618Z] (45/86) Installing orc (0.4.33-r0) [2023-05-02T18:06:32.618Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-02T18:06:32.618Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-02T18:06:32.618Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-02T18:06:32.618Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-02T18:06:32.618Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-02T18:06:32.618Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-02T18:06:32.618Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-02T18:06:32.618Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-02T18:06:32.618Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-02T18:06:32.618Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-02T18:06:32.618Z] (56/86) Installing libpulse (16.1-r6) [2023-05-02T18:06:32.618Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-02T18:06:32.618Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-02T18:06:32.878Z] (59/86) Installing librist (0.2.7-r0) [2023-05-02T18:06:32.878Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-02T18:06:32.878Z] (61/86) Installing libssh (0.10.4-r0) [2023-05-02T18:06:32.878Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-02T18:06:32.878Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-02T18:06:32.878Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-02T18:06:32.878Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-02T18:06:32.878Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-02T18:06:32.878Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-02T18:06:32.878Z] (68/86) Installing libva (2.16.0-r0) [2023-05-02T18:06:32.878Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-02T18:06:32.878Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-02T18:06:32.878Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-02T18:06:32.878Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-02T18:06:32.878Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-02T18:06:32.878Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-02T18:06:32.878Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-02T18:06:32.878Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-02T18:06:32.878Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-02T18:06:33.139Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-02T18:06:33.139Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-02T18:06:33.139Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-02T18:06:33.139Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-02T18:06:33.139Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-02T18:06:33.139Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-02T18:06:33.139Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-02T18:06:33.139Z] (85/86) Installing kmod-libs (30-r1) [2023-05-02T18:06:33.139Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-02T18:06:33.139Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T18:06:33.139Z] Executing eudev-3.2.11-r4.trigger [2023-05-02T18:06:33.139Z] OK: 112 MiB in 101 packages [2023-05-02T18:06:37.831Z] Removing intermediate container f826350bf624 [2023-05-02T18:06:37.831Z] ---> 05fe5cb90fb4 [2023-05-02T18:06:37.831Z] Step 18/35 : WORKDIR / [2023-05-02T18:06:37.831Z] ---> Running in 22fd018fd260 [2023-05-02T18:06:38.090Z] Removing intermediate container 22fd018fd260 [2023-05-02T18:06:38.090Z] ---> 0f22062dd36f [2023-05-02T18:06:38.090Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-02T18:06:39.030Z] ---> 6fd4699d3dd0 [2023-05-02T18:06:39.030Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-02T18:06:39.030Z] ---> d544337d72ea [2023-05-02T18:06:39.030Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-02T18:06:39.292Z] ---> a93f98a559e8 [2023-05-02T18:06:39.292Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-02T18:06:39.667Z] ---> 6a9b330fc35e [2023-05-02T18:06:39.667Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-02T18:06:39.667Z] ---> b91928f6d794 [2023-05-02T18:06:39.667Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-02T18:06:39.928Z] ---> 737f5e6afcbc [2023-05-02T18:06:39.928Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-02T18:06:40.872Z] ---> ac471204fdba [2023-05-02T18:06:40.872Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-02T18:06:41.135Z] ---> Running in 948a6b021e66 [2023-05-02T18:06:41.703Z] Removing intermediate container 948a6b021e66 [2023-05-02T18:06:41.703Z] ---> e044ba5fc9d9 [2023-05-02T18:06:41.703Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-02T18:06:41.703Z] ---> Running in 917871d81f08 [2023-05-02T18:06:42.272Z] Removing intermediate container 917871d81f08 [2023-05-02T18:06:42.272Z] ---> 4ee5966a8a11 [2023-05-02T18:06:42.272Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-02T18:06:42.272Z] ---> Running in ca243d60e137 [2023-05-02T18:06:43.227Z] Removing intermediate container ca243d60e137 [2023-05-02T18:06:43.227Z] ---> be48665f95c4 [2023-05-02T18:06:43.227Z] Step 29/35 : EXPOSE 59983 [2023-05-02T18:06:43.227Z] ---> Running in a67e4983330b [2023-05-02T18:06:43.227Z] Removing intermediate container a67e4983330b [2023-05-02T18:06:43.227Z] ---> 70a6a09adaf9 [2023-05-02T18:06:43.227Z] Step 30/35 : EXPOSE 8554 [2023-05-02T18:06:43.227Z] ---> Running in 047511e7f773 [2023-05-02T18:06:43.227Z] Removing intermediate container 047511e7f773 [2023-05-02T18:06:43.227Z] ---> 0e82c54ed6f1 [2023-05-02T18:06:43.227Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-02T18:06:43.227Z] ---> Running in 9c5d58fe1075 [2023-05-02T18:06:43.487Z] Removing intermediate container 9c5d58fe1075 [2023-05-02T18:06:43.487Z] ---> 3d848188e084 [2023-05-02T18:06:43.487Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-02T18:06:43.487Z] ---> Running in c0f65d6f1d71 [2023-05-02T18:06:43.746Z] Removing intermediate container c0f65d6f1d71 [2023-05-02T18:06:43.746Z] ---> 8b57115b0fac [2023-05-02T18:06:43.746Z] Step 33/35 : LABEL arch=amd64 [2023-05-02T18:06:43.746Z] ---> Running in b5101d0fde27 [2023-05-02T18:06:43.746Z] Removing intermediate container b5101d0fde27 [2023-05-02T18:06:43.746Z] ---> 11eb69e1defd [2023-05-02T18:06:43.746Z] Step 34/35 : LABEL git_sha=74d0f8a14ba09beb312c6664c68cd10594a31827 [2023-05-02T18:06:43.746Z] ---> Running in c4605f9e22f7 [2023-05-02T18:06:43.746Z] Removing intermediate container c4605f9e22f7 [2023-05-02T18:06:43.746Z] ---> 420d3ddefe84 [2023-05-02T18:06:43.746Z] Step 35/35 : LABEL version=0.0.0 [2023-05-02T18:06:43.746Z] ---> Running in c576eb4b9c20 [2023-05-02T18:06:44.005Z] Removing intermediate container c576eb4b9c20 [2023-05-02T18:06:44.005Z] ---> f21c4b47aac5 [2023-05-02T18:06:44.005Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-02T18:06:44.005Z] Successfully built f21c4b47aac5 [2023-05-02T18:06:44.005Z] 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-05-02T18:06:44.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T18:06:44.920Z] [2023-05-02T18:06:44.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:06:45.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T18:06:45.554Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-02T18:06:45.554Z] 5eb5b503b376: Pulling fs layer [2023-05-02T18:06:45.554Z] 5c69ac0246d0: Pulling fs layer [2023-05-02T18:06:45.554Z] ec43610c2a17: Pulling fs layer [2023-05-02T18:06:45.554Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-02T18:06:45.554Z] 33b1e0a273af: Pulling fs layer [2023-05-02T18:06:45.554Z] 5d3b04190fa2: Pulling fs layer [2023-05-02T18:06:45.554Z] 2f39f015ded8: Pulling fs layer [2023-05-02T18:06:45.554Z] 33b1e0a273af: Waiting [2023-05-02T18:06:45.554Z] 5d3b04190fa2: Waiting [2023-05-02T18:06:45.554Z] 2f39f015ded8: Waiting [2023-05-02T18:06:45.554Z] 3a2ae6a8a46f: Waiting [2023-05-02T18:06:45.554Z] 5c69ac0246d0: Verifying Checksum [2023-05-02T18:06:45.554Z] 5c69ac0246d0: Download complete [2023-05-02T18:06:45.554Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-02T18:06:45.554Z] 3a2ae6a8a46f: Download complete [2023-05-02T18:06:45.554Z] ec43610c2a17: Verifying Checksum [2023-05-02T18:06:45.554Z] ec43610c2a17: Download complete [2023-05-02T18:06:45.554Z] 5d3b04190fa2: Verifying Checksum [2023-05-02T18:06:45.554Z] 5d3b04190fa2: Download complete [2023-05-02T18:06:45.817Z] 33b1e0a273af: Verifying Checksum [2023-05-02T18:06:45.817Z] 33b1e0a273af: Download complete [2023-05-02T18:06:45.817Z] 5eb5b503b376: Verifying Checksum [2023-05-02T18:06:45.817Z] 5eb5b503b376: Download complete [2023-05-02T18:06:47.195Z] 2f39f015ded8: Download complete [2023-05-02T18:06:47.195Z] 5eb5b503b376: Pull complete [2023-05-02T18:06:47.195Z] 5c69ac0246d0: Pull complete [2023-05-02T18:06:47.762Z] ec43610c2a17: Pull complete [2023-05-02T18:06:47.762Z] 3a2ae6a8a46f: Pull complete [2023-05-02T18:06:47.762Z] 33b1e0a273af: Pull complete [2023-05-02T18:06:48.020Z] 5d3b04190fa2: Pull complete [2023-05-02T18:06:53.291Z] 2f39f015ded8: Pull complete [2023-05-02T18:06:53.860Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-02T18:06:54.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T18:06:54.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T18:06:54.356Z] prd-ubuntu20.04-docker-8c-8g-12400 does not seem to be running inside a container [2023-05-02T18:06:54.392Z] $ 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-231 -v /w/workspace/foundry_device-usb-camera_PR-231:/w/workspace/foundry_device-usb-camera_PR-231:rw,z -v /w/workspace/foundry_device-usb-camera_PR-231@tmp:/w/workspace/foundry_device-usb-camera_PR-231@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-05-02T18:06:59.881Z] $ docker top d7291bb0079df272543e7c5787fce51f4abee9285494574d3f9afe0768c92526 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:07:00.328Z] ---> job-cost.sh [2023-05-02T18:07:00.328Z] lf-activate-venv: SKIPPING [2023-05-02T18:07:00.328Z] INFO: No Stack... [2023-05-02T18:07:00.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-02T18:07:01.157Z] INFO: Archiving Costs [Pipeline] sh [2023-05-02T18:07:01.473Z] + cat /w/workspace/foundry_device-usb-camera_PR-231/archives/cost.csv [2023-05-02T18:07:01.474Z] + cut -d, -f6 [Pipeline] lock [2023-05-02T18:07:01.514Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-231-1-stack-cost] [2023-05-02T18:07:01.529Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-231-1-stack-cost] did not exist. Created. [2023-05-02T18:07:01.529Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-02T18:07:01.924Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-02T18:07:01.974Z] Stashed 1 file(s) [Pipeline] } [2023-05-02T18:07:02.012Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-231-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-02T18:07:02.084Z] $ docker stop --time=1 d7291bb0079df272543e7c5787fce51f4abee9285494574d3f9afe0768c92526 [2023-05-02T18:07:03.225Z] $ docker rm -f --volumes d7291bb0079df272543e7c5787fce51f4abee9285494574d3f9afe0768c92526 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-02T18:07:12.685Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12408 in /w/workspace/foundry_device-usb-camera_PR-231 [Pipeline] { [Pipeline] ws [2023-05-02T18:07:12.738Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-02T18:07:12.819Z] Selected Git installation does not exist. Using Default [2023-05-02T18:07:12.819Z] The recommended git tool is: NONE [2023-05-02T18:07:19.906Z] using credential edgex-jenkins-ssh [2023-05-02T18:07:19.928Z] Cloning the remote Git repository [2023-05-02T18:07:19.995Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-02T18:07:20.116Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-02T18:07:20.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-02T18:07:20.299Z] > git --version # timeout=10 [2023-05-02T18:07:20.327Z] > git --version # 'git version 2.25.1' [2023-05-02T18:07:20.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T18:07:20.545Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-02T18:07:21.351Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-02T18:07:21.393Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-02T18:07:22.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-02T18:07:22.952Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-02T18:07:22.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T18:07:22.973Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-02T18:07:23.508Z] Merging remotes/origin/main commit c99ddce2530f0bca898d9428dd15bfa81bd19b45 into PR head commit 74d0f8a14ba09beb312c6664c68cd10594a31827 [2023-05-02T18:07:23.873Z] Merge succeeded, producing 74d0f8a14ba09beb312c6664c68cd10594a31827 [2023-05-02T18:07:23.873Z] Checking out Revision 74d0f8a14ba09beb312c6664c68cd10594a31827 (PR-231) [2023-05-02T18:07:24.644Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-05-02T18:07:23.536Z] > git config core.sparsecheckout # timeout=10 [2023-05-02T18:07:23.645Z] > git checkout -f 74d0f8a14ba09beb312c6664c68cd10594a31827 # timeout=10 [2023-05-02T18:07:23.760Z] > git remote # timeout=10 [2023-05-02T18:07:23.783Z] > git config --get remote.origin.url # timeout=10 [2023-05-02T18:07:23.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T18:07:23.821Z] > git merge c99ddce2530f0bca898d9428dd15bfa81bd19b45 # timeout=10 [2023-05-02T18:07:23.855Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-02T18:07:23.887Z] > git config core.sparsecheckout # timeout=10 [2023-05-02T18:07:23.906Z] > git checkout -f 74d0f8a14ba09beb312c6664c68cd10594a31827 # timeout=10 [2023-05-02T18:07:24.729Z] > git --version # timeout=10 [2023-05-02T18:07:24.744Z] > git --version # 'git version 2.25.1' [2023-05-02T18:07:24.774Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T18:07:26.050Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-02T18:07:26.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T18:07:26.050Z] Dload Upload Total Spent Left Speed [2023-05-02T18:07:26.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-05-02T18:07:26.774Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-02T18:07:27.150Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-02T18:07:27.150Z] + sudo tee /etc/docker/daemon.new [2023-05-02T18:07:27.150Z] { [2023-05-02T18:07:27.150Z] "registry-mirrors": [ [2023-05-02T18:07:27.150Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-02T18:07:27.150Z] ], [2023-05-02T18:07:27.150Z] "bip": "10.250.0.254/24", [2023-05-02T18:07:27.150Z] "hosts": [ [2023-05-02T18:07:27.150Z] "tcp://0.0.0.0:5555", [2023-05-02T18:07:27.150Z] "unix:///var/run/docker.sock" [2023-05-02T18:07:27.150Z] ], [2023-05-02T18:07:27.150Z] "mtu": 1458, [2023-05-02T18:07:27.150Z] "selinux-enabled": true, [2023-05-02T18:07:27.150Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-02T18:07:27.150Z] } [Pipeline] sh [2023-05-02T18:07:27.534Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-02T18:07:27.928Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T18:07:46.351Z] provisioning config files... [2023-05-02T18:07:46.385Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config9093691663664279749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:07:46.790Z] ---> docker-login.sh [2023-05-02T18:07:46.791Z] nexus3.edgexfoundry.org:10001 [2023-05-02T18:07:47.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:07:47.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:07:47.383Z] Configure a credential helper to remove this warning. See [2023-05-02T18:07:47.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:07:47.383Z] [2023-05-02T18:07:47.383Z] Login Succeeded [2023-05-02T18:07:47.383Z] nexus3.edgexfoundry.org:10002 [2023-05-02T18:07:47.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:07:47.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:07:47.923Z] Configure a credential helper to remove this warning. See [2023-05-02T18:07:47.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:07:47.923Z] [2023-05-02T18:07:47.923Z] Login Succeeded [2023-05-02T18:07:47.923Z] nexus3.edgexfoundry.org:10003 [2023-05-02T18:07:48.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:07:48.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:07:48.194Z] Configure a credential helper to remove this warning. See [2023-05-02T18:07:48.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:07:48.194Z] [2023-05-02T18:07:48.194Z] Login Succeeded [2023-05-02T18:07:48.194Z] nexus3.edgexfoundry.org:10004 [2023-05-02T18:07:48.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:07:48.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:07:48.744Z] Configure a credential helper to remove this warning. See [2023-05-02T18:07:48.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:07:48.744Z] [2023-05-02T18:07:48.744Z] Login Succeeded [2023-05-02T18:07:48.744Z] docker.io [2023-05-02T18:07:49.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T18:07:49.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T18:07:49.284Z] Configure a credential helper to remove this warning. See [2023-05-02T18:07:49.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T18:07:49.284Z] [2023-05-02T18:07:49.284Z] Login Succeeded [2023-05-02T18:07:49.284Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T18:07:49.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-02T18:07:49.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T18:07:49.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T18:07:49.840Z] ========================================================= [2023-05-02T18:07:49.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-02T18:07:49.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:07:50.338Z] + 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-05-02T18:07:50.612Z] Sending build context to Docker daemon 1.253MB [2023-05-02T18:07:50.612Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T18:07:50.612Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-02T18:07:50.892Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-02T18:07:50.892Z] c41833b44d91: Pulling fs layer [2023-05-02T18:07:50.892Z] ed15518f5707: Pulling fs layer [2023-05-02T18:07:50.892Z] feae8fd75edb: Pulling fs layer [2023-05-02T18:07:50.892Z] 242c74f7c9fa: Pulling fs layer [2023-05-02T18:07:50.892Z] 3cdef696dda3: Pulling fs layer [2023-05-02T18:07:50.892Z] 2ced38df9373: Pulling fs layer [2023-05-02T18:07:50.892Z] 58f1dce35555: Pulling fs layer [2023-05-02T18:07:50.892Z] 242c74f7c9fa: Waiting [2023-05-02T18:07:50.892Z] 3cdef696dda3: Waiting [2023-05-02T18:07:50.892Z] 2ced38df9373: Waiting [2023-05-02T18:07:50.892Z] ed15518f5707: Verifying Checksum [2023-05-02T18:07:50.892Z] ed15518f5707: Download complete [2023-05-02T18:07:51.170Z] 242c74f7c9fa: Verifying Checksum [2023-05-02T18:07:51.170Z] 242c74f7c9fa: Download complete [2023-05-02T18:07:51.170Z] c41833b44d91: Verifying Checksum [2023-05-02T18:07:51.170Z] c41833b44d91: Download complete [2023-05-02T18:07:51.170Z] 3cdef696dda3: Verifying Checksum [2023-05-02T18:07:51.170Z] 3cdef696dda3: Download complete [2023-05-02T18:07:52.148Z] c41833b44d91: Pull complete [2023-05-02T18:07:52.741Z] 58f1dce35555: Verifying Checksum [2023-05-02T18:07:52.741Z] 58f1dce35555: Download complete [2023-05-02T18:07:53.013Z] ed15518f5707: Pull complete [2023-05-02T18:07:53.997Z] feae8fd75edb: Download complete [2023-05-02T18:07:53.997Z] 2ced38df9373: Verifying Checksum [2023-05-02T18:07:53.997Z] 2ced38df9373: Download complete [2023-05-02T18:08:06.388Z] feae8fd75edb: Pull complete [2023-05-02T18:08:06.388Z] 242c74f7c9fa: Pull complete [2023-05-02T18:08:06.388Z] 3cdef696dda3: Pull complete [2023-05-02T18:08:14.667Z] 2ced38df9373: Pull complete [2023-05-02T18:08:16.096Z] 58f1dce35555: Pull complete [2023-05-02T18:08:16.370Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-02T18:08:16.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-02T18:08:16.370Z] ---> fadd8f120f05 [2023-05-02T18:08:16.370Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-02T18:08:18.351Z] ---> Running in 13fa97b66f81 [2023-05-02T18:08:18.943Z] Removing intermediate container 13fa97b66f81 [2023-05-02T18:08:18.943Z] ---> 07ddb22e5232 [2023-05-02T18:08:18.943Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T18:08:18.943Z] ---> Running in 60935ec00b2b [2023-05-02T18:08:19.220Z] Removing intermediate container 60935ec00b2b [2023-05-02T18:08:19.220Z] ---> 98f741c37c83 [2023-05-02T18:08:19.220Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-02T18:08:19.497Z] ---> Running in 9707232cdabe [2023-05-02T18:08:19.771Z] Removing intermediate container 9707232cdabe [2023-05-02T18:08:19.771Z] ---> 1fc48d6d9a7b [2023-05-02T18:08:19.771Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-02T18:08:19.771Z] ---> Running in dbe0cade5620 [2023-05-02T18:08:20.371Z] Removing intermediate container dbe0cade5620 [2023-05-02T18:08:20.371Z] ---> c8a74470efa6 [2023-05-02T18:08:20.371Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T18:08:20.371Z] ---> Running in 12ab424bdadb [2023-05-02T18:08:21.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T18:08:22.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T18:08:23.822Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-02T18:08:23.822Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-02T18:08:23.822Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-02T18:08:23.822Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-02T18:08:23.822Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-02T18:08:23.822Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-02T18:08:23.822Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-02T18:08:23.822Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-02T18:08:23.822Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-02T18:08:23.822Z] (10/14) Installing kmod-libs (30-r1) [2023-05-02T18:08:23.822Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-02T18:08:23.822Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-02T18:08:23.822Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-02T18:08:24.096Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-02T18:08:24.096Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T18:08:24.096Z] Executing eudev-3.2.11-r4.trigger [2023-05-02T18:08:24.096Z] OK: 271 MiB in 67 packages [2023-05-02T18:08:25.529Z] Removing intermediate container 12ab424bdadb [2023-05-02T18:08:25.529Z] ---> 96ad817c5132 [2023-05-02T18:08:25.529Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-02T18:08:25.529Z] ---> Running in f25536c44b6d [2023-05-02T18:08:25.800Z] Removing intermediate container f25536c44b6d [2023-05-02T18:08:25.800Z] ---> a01ec6d9e47a [2023-05-02T18:08:25.800Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-02T18:08:26.394Z] ---> c92c0364493f [2023-05-02T18:08:26.394Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T18:08:26.676Z] ---> Running in 45982ecc34db [2023-05-02T18:09:48.370Z] Removing intermediate container 45982ecc34db [2023-05-02T18:09:48.370Z] ---> 29cd1d0c94f0 [2023-05-02T18:09:48.370Z] Step 11/13 : COPY . . [2023-05-02T18:09:48.370Z] ---> 2e1824090d31 [2023-05-02T18:09:48.370Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-02T18:09:48.370Z] ---> Running in b48dcfb4c7fa [2023-05-02T18:09:48.370Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-05-02T18:09:48.370Z] Dload Upload Total Spent Left Speed [2023-05-02T18:09:48.370Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 3021 0 --:--:-- --:--:-- --:--:-- 3025 [2023-05-02T18:09:48.962Z] Removing intermediate container b48dcfb4c7fa [2023-05-02T18:09:48.962Z] ---> 5ef1c8cf85ec [2023-05-02T18:09:48.962Z] Step 13/13 : RUN ${MAKE} [2023-05-02T18:09:49.232Z] ---> Running in c792fa7033a1 [2023-05-02T18:09:50.219Z] noop [2023-05-02T18:09:50.809Z] Removing intermediate container c792fa7033a1 [2023-05-02T18:09:50.809Z] ---> 48b3f57ff3b3 [2023-05-02T18:09:50.809Z] Successfully built 48b3f57ff3b3 [2023-05-02T18:09:50.809Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:09:51.310Z] + docker inspect -f . ci-base-image-arm64 [2023-05-02T18:09:51.310Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T18:09:51.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-12408 does not seem to be running inside a container [2023-05-02T18:09:51.731Z] $ 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-05-02T18:09:53.063Z] $ docker top 44c79635c8e6bb7af0ff1f77808182a7377e725e12ea0f51ee603f2999912a95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T18:09:54.623Z] + go version [2023-05-02T18:09:54.623Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-02T18:09:54.666Z] $ docker stop --time=1 44c79635c8e6bb7af0ff1f77808182a7377e725e12ea0f51ee603f2999912a95 [2023-05-02T18:09:56.377Z] $ docker rm -f --volumes 44c79635c8e6bb7af0ff1f77808182a7377e725e12ea0f51ee603f2999912a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:09:57.285Z] + docker inspect -f . ci-base-image-arm64 [2023-05-02T18:09:57.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T18:09:57.566Z] prd-ubuntu20.04-docker-arm64-4c-16g-12408 does not seem to be running inside a container [2023-05-02T18:09:57.641Z] $ 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-05-02T18:09:58.945Z] $ docker top e854cbd47e0354715b0e8c47cd6c63257f0441876fac2307053101d1297e1ca8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T18:09:59.873Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-02T18:10:00.661Z] + make test [2023-05-02T18:10:00.661Z] go test ./... -coverprofile=coverage.out ./... [2023-05-02T18:10:39.578Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-02T18:13:01.402Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-02T18:13:03.353Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.067s coverage: 2.0% of statements [2023-05-02T18:13:03.622Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-02T18:13:03.622Z] go vet ./... [2023-05-02T18:13:35.902Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-02T18:13:35.902Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-02T18:13:35.902Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-02T18:13:35.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-02T18:13:35.975Z] $ docker stop --time=1 e854cbd47e0354715b0e8c47cd6c63257f0441876fac2307053101d1297e1ca8 [2023-05-02T18:13:37.898Z] $ docker rm -f --volumes e854cbd47e0354715b0e8c47cd6c63257f0441876fac2307053101d1297e1ca8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T18:13:39.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-02T18:13:39.238Z] Warning: overwriting stash ‘coverage-report’ [2023-05-02T18:13:39.803Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T18:13:40.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-02T18:13:40.766Z] + ls -al . [2023-05-02T18:13:40.766Z] total 188 [2023-05-02T18:13:40.766Z] drwxrwxr-x 9 jenkins jenkins 4096 May 2 18:10 . [2023-05-02T18:13:40.766Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 18:07 .. [2023-05-02T18:13:40.766Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 18:07 .git [2023-05-02T18:13:40.766Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 18:07 .github [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 414 May 2 18:07 .gitignore [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 42 May 2 18:07 .golangci.yml [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 77 May 2 18:07 .hadolint.yml [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 2 18:07 Attribution.txt [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 2 18:07 CHANGELOG.md [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 2 18:07 Dockerfile [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 678 May 2 18:07 GOVERNANCE.md [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 659 May 2 18:07 Jenkinsfile [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 2 18:07 LICENSE [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 2 18:07 Makefile [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 622 May 2 18:07 OWNERS.md [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 2 18:07 README.md [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 18:03 VERSION [2023-05-02T18:13:40.766Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 18:07 bin [2023-05-02T18:13:40.766Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 18:07 cmd [2023-05-02T18:13:40.766Z] -rw-r--r-- 1 jenkins jenkins 28693 May 2 18:13 coverage.out [2023-05-02T18:13:40.766Z] -rwxrwxr-x 1 jenkins jenkins 140 May 2 18:07 docker-entrypoint.sh [2023-05-02T18:13:40.766Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 18:07 docs [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 2 18:07 go.mod [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 2 18:07 go.sum [2023-05-02T18:13:40.766Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 18:07 internal [2023-05-02T18:13:40.766Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 18:07 snap [2023-05-02T18:13:40.766Z] -rw-rw-r-- 1 jenkins jenkins 231 May 2 18:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:13:41.202Z] + 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=74d0f8a14ba09beb312c6664c68cd10594a31827 --label arch=arm64 --label version=0.0.0 . [2023-05-02T18:13:41.473Z] Sending build context to Docker daemon 1.283MB [2023-05-02T18:13:41.473Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T18:13:41.473Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-02T18:13:41.473Z] ---> 48b3f57ff3b3 [2023-05-02T18:13:41.473Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-02T18:13:41.743Z] ---> Running in af690cfe8e48 [2023-05-02T18:13:42.015Z] Removing intermediate container af690cfe8e48 [2023-05-02T18:13:42.015Z] ---> 94b8cbb5a2e4 [2023-05-02T18:13:42.015Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T18:13:42.015Z] ---> Running in ce2a98a3bce4 [2023-05-02T18:13:42.619Z] Removing intermediate container ce2a98a3bce4 [2023-05-02T18:13:42.619Z] ---> bc9f3d838795 [2023-05-02T18:13:42.619Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-02T18:13:42.619Z] ---> Running in 08d799ec2608 [2023-05-02T18:13:42.896Z] Removing intermediate container 08d799ec2608 [2023-05-02T18:13:42.896Z] ---> ea5fe5f97105 [2023-05-02T18:13:42.896Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-02T18:13:42.896Z] ---> Running in 8984fb5f8242 [2023-05-02T18:13:43.167Z] Removing intermediate container 8984fb5f8242 [2023-05-02T18:13:43.167Z] ---> f39fb9cd7848 [2023-05-02T18:13:43.167Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T18:13:43.437Z] ---> Running in a75a4d4d7b9e [2023-05-02T18:13:44.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T18:13:45.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T18:13:46.345Z] OK: 271 MiB in 67 packages [2023-05-02T18:13:47.322Z] Removing intermediate container a75a4d4d7b9e [2023-05-02T18:13:47.322Z] ---> 19419faf2f94 [2023-05-02T18:13:47.322Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-02T18:13:47.322Z] ---> Running in ac25ce92cbb1 [2023-05-02T18:13:47.912Z] Removing intermediate container ac25ce92cbb1 [2023-05-02T18:13:47.912Z] ---> ddecb317a5a2 [2023-05-02T18:13:47.912Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-02T18:13:48.501Z] ---> 6a5d9fcf9e33 [2023-05-02T18:13:48.501Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T18:13:48.501Z] ---> Running in 1770cd9db10c [2023-05-02T18:13:51.107Z] Removing intermediate container 1770cd9db10c [2023-05-02T18:13:51.107Z] ---> db9ff735d996 [2023-05-02T18:13:51.107Z] Step 11/35 : COPY . . [2023-05-02T18:13:52.078Z] ---> e67cbb4ca547 [2023-05-02T18:13:52.078Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-02T18:13:52.348Z] ---> Running in b9e9e2607ea7 [2023-05-02T18:13:53.321Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T18:13:53.321Z] Dload Upload Total Spent Left Speed [2023-05-02T18:13:53.912Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2406 0 --:--:-- --:--:-- --:--:-- 2413 [2023-05-02T18:13:54.505Z] Removing intermediate container b9e9e2607ea7 [2023-05-02T18:13:54.505Z] ---> 94960e1675ad [2023-05-02T18:13:54.505Z] Step 13/35 : RUN ${MAKE} [2023-05-02T18:13:54.505Z] ---> Running in 0ac5a1a77ff0 [2023-05-02T18:13:55.477Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-02T18:16:48.233Z] Removing intermediate container 0ac5a1a77ff0 [2023-05-02T18:16:48.233Z] ---> 3acf657dea65 [2023-05-02T18:16:48.233Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-02T18:16:48.233Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-02T18:16:48.233Z] 8766b47fe142: Pulling fs layer [2023-05-02T18:16:48.233Z] 8766b47fe142: Download complete [2023-05-02T18:16:48.233Z] 8766b47fe142: Pull complete [2023-05-02T18:16:48.233Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-02T18:16:48.233Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-02T18:16:48.233Z] ---> 69d40e2cb93c [2023-05-02T18:16:48.233Z] Step 15/35 : FROM alpine:3.17 [2023-05-02T18:16:48.233Z] 3.17: Pulling from library/alpine [2023-05-02T18:16:48.233Z] c41833b44d91: Already exists [2023-05-02T18:16:48.233Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-02T18:16:48.233Z] Status: Downloaded newer image for alpine:3.17 [2023-05-02T18:16:48.233Z] ---> 51e60588ff2c [2023-05-02T18:16:48.233Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-02T18:16:48.233Z] ---> Running in 688b6832d91d [2023-05-02T18:16:48.233Z] Removing intermediate container 688b6832d91d [2023-05-02T18:16:48.233Z] ---> 4c5e41f99165 [2023-05-02T18:16:48.233Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-02T18:16:48.233Z] ---> Running in 54b62166229a [2023-05-02T18:16:48.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T18:16:48.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T18:16:48.233Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-02T18:16:48.233Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-02T18:16:48.233Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-02T18:16:48.233Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-02T18:16:48.233Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-02T18:16:48.233Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-02T18:16:48.233Z] (7/83) Installing libxcb (1.15-r0) [2023-05-02T18:16:48.233Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-02T18:16:48.233Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-02T18:16:48.233Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-02T18:16:48.233Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-02T18:16:48.233Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-02T18:16:48.233Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-02T18:16:48.233Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-02T18:16:48.233Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-02T18:16:48.233Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-02T18:16:48.233Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-02T18:16:48.511Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-02T18:16:48.511Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-02T18:16:48.511Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-02T18:16:48.511Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-02T18:16:48.511Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-02T18:16:48.511Z] (23/83) Installing glib (2.74.6-r0) [2023-05-02T18:16:48.511Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-02T18:16:48.511Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-02T18:16:48.511Z] (26/83) Installing libass (0.16.0-r1) [2023-05-02T18:16:48.511Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-02T18:16:48.785Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-02T18:16:48.785Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-02T18:16:48.785Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-02T18:16:48.785Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-02T18:16:48.785Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-02T18:16:48.785Z] (33/83) Installing libunistring (1.1-r0) [2023-05-02T18:16:48.785Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-02T18:16:48.785Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-02T18:16:48.785Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-02T18:16:49.056Z] (37/83) Installing lame (3.100-r2) [2023-05-02T18:16:49.056Z] (38/83) Installing opus (1.3.1-r1) [2023-05-02T18:16:49.056Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-02T18:16:49.056Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-02T18:16:49.056Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-02T18:16:49.056Z] (42/83) Installing orc (0.4.33-r0) [2023-05-02T18:16:49.056Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-02T18:16:49.056Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-02T18:16:49.056Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-02T18:16:49.056Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-02T18:16:49.056Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-02T18:16:49.056Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-02T18:16:49.056Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-02T18:16:49.056Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-02T18:16:49.325Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-02T18:16:49.326Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-02T18:16:49.326Z] (53/83) Installing libpulse (16.1-r6) [2023-05-02T18:16:49.326Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-02T18:16:49.326Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-02T18:16:49.326Z] (56/83) Installing librist (0.2.7-r0) [2023-05-02T18:16:49.326Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-02T18:16:49.326Z] (58/83) Installing libssh (0.10.4-r0) [2023-05-02T18:16:49.326Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-02T18:16:49.326Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-02T18:16:49.326Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-02T18:16:49.326Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-02T18:16:49.326Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-02T18:16:49.326Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-02T18:16:49.326Z] (65/83) Installing libva (2.16.0-r0) [2023-05-02T18:16:49.594Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-02T18:16:49.594Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-02T18:16:49.594Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-02T18:16:49.594Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-02T18:16:49.594Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-02T18:16:49.594Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-02T18:16:49.594Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-02T18:16:49.863Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-02T18:16:49.863Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-02T18:16:49.863Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-02T18:16:49.863Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-02T18:16:50.132Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-02T18:16:50.401Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-02T18:16:50.401Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-02T18:16:50.401Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-02T18:16:50.401Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-02T18:16:50.401Z] (82/83) Installing kmod-libs (30-r1) [2023-05-02T18:16:50.401Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-02T18:16:50.401Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T18:16:50.401Z] Executing eudev-3.2.11-r4.trigger [2023-05-02T18:16:50.401Z] OK: 86 MiB in 98 packages [2023-05-02T18:16:53.754Z] Removing intermediate container 54b62166229a [2023-05-02T18:16:53.754Z] ---> 0cd55f522865 [2023-05-02T18:16:53.754Z] Step 18/35 : WORKDIR / [2023-05-02T18:16:54.028Z] ---> Running in db556afac9a9 [2023-05-02T18:16:54.298Z] Removing intermediate container db556afac9a9 [2023-05-02T18:16:54.298Z] ---> f8ff554499da [2023-05-02T18:16:54.298Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-02T18:16:57.672Z] ---> cf310da5f274 [2023-05-02T18:16:57.672Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-02T18:16:58.263Z] ---> 82aef6837f0b [2023-05-02T18:16:58.263Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-02T18:16:58.533Z] ---> 8593722cf6ab [2023-05-02T18:16:58.533Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-02T18:16:59.122Z] ---> 635f4fda826b [2023-05-02T18:16:59.122Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-02T18:16:59.710Z] ---> 739c06f6ce40 [2023-05-02T18:16:59.710Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-02T18:17:00.296Z] ---> 171bc2b2cdc2 [2023-05-02T18:17:00.296Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-02T18:17:01.713Z] ---> 84becd8a4d44 [2023-05-02T18:17:01.713Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-02T18:17:01.713Z] ---> Running in e2399dc1d803 [2023-05-02T18:17:03.666Z] Removing intermediate container e2399dc1d803 [2023-05-02T18:17:03.666Z] ---> 856ab9f39bbd [2023-05-02T18:17:03.666Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-02T18:17:03.666Z] ---> Running in 4f6cd79ac5b6 [2023-05-02T18:17:05.107Z] Removing intermediate container 4f6cd79ac5b6 [2023-05-02T18:17:05.107Z] ---> f7af0fa43def [2023-05-02T18:17:05.107Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-02T18:17:05.107Z] ---> Running in eca425598ec5 [2023-05-02T18:17:07.068Z] Removing intermediate container eca425598ec5 [2023-05-02T18:17:07.068Z] ---> 9f04d6b1014a [2023-05-02T18:17:07.068Z] Step 29/35 : EXPOSE 59983 [2023-05-02T18:17:07.068Z] ---> Running in a9080cb2b032 [2023-05-02T18:17:07.339Z] Removing intermediate container a9080cb2b032 [2023-05-02T18:17:07.339Z] ---> 00ac2af7ecbc [2023-05-02T18:17:07.339Z] Step 30/35 : EXPOSE 8554 [2023-05-02T18:17:07.339Z] ---> Running in d43fd07eecc9 [2023-05-02T18:17:07.611Z] Removing intermediate container d43fd07eecc9 [2023-05-02T18:17:07.611Z] ---> eef385a32efd [2023-05-02T18:17:07.611Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-02T18:17:07.883Z] ---> Running in 8afa914fde7c [2023-05-02T18:17:08.151Z] Removing intermediate container 8afa914fde7c [2023-05-02T18:17:08.151Z] ---> 004d1c2a4b60 [2023-05-02T18:17:08.151Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-02T18:17:08.151Z] ---> Running in b42f275290fa [2023-05-02T18:17:08.423Z] Removing intermediate container b42f275290fa [2023-05-02T18:17:08.423Z] ---> 994246c7b311 [2023-05-02T18:17:08.423Z] Step 33/35 : LABEL arch=arm64 [2023-05-02T18:17:08.693Z] ---> Running in addc62e70835 [2023-05-02T18:17:08.963Z] Removing intermediate container addc62e70835 [2023-05-02T18:17:08.963Z] ---> 5b2a3a6c5c48 [2023-05-02T18:17:08.963Z] Step 34/35 : LABEL git_sha=74d0f8a14ba09beb312c6664c68cd10594a31827 [2023-05-02T18:17:08.963Z] ---> Running in 13d6cb2fb0f3 [2023-05-02T18:17:09.238Z] Removing intermediate container 13d6cb2fb0f3 [2023-05-02T18:17:09.238Z] ---> 8362127bb18a [2023-05-02T18:17:09.238Z] Step 35/35 : LABEL version=0.0.0 [2023-05-02T18:17:09.514Z] ---> Running in fb0ed2f644c3 [2023-05-02T18:17:09.784Z] Removing intermediate container fb0ed2f644c3 [2023-05-02T18:17:09.784Z] ---> ac7dee675aa8 [2023-05-02T18:17:09.784Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-02T18:17:09.784Z] Successfully built ac7dee675aa8 [2023-05-02T18:17:09.784Z] 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-05-02T18:17:10.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T18:17:10.666Z] [2023-05-02T18:17:10.666Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:17:11.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T18:17:11.080Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-02T18:17:11.080Z] 8998bd30e6a1: Pulling fs layer [2023-05-02T18:17:11.080Z] 04944245beec: Pulling fs layer [2023-05-02T18:17:11.080Z] 699f458cf7ca: Pulling fs layer [2023-05-02T18:17:11.080Z] 765212b225bb: Pulling fs layer [2023-05-02T18:17:11.080Z] f23df028b6ca: Pulling fs layer [2023-05-02T18:17:11.080Z] d65c8cfc05b1: Pulling fs layer [2023-05-02T18:17:11.080Z] 2437ff75d9bd: Pulling fs layer [2023-05-02T18:17:11.080Z] 765212b225bb: Waiting [2023-05-02T18:17:11.080Z] f23df028b6ca: Waiting [2023-05-02T18:17:11.080Z] d65c8cfc05b1: Waiting [2023-05-02T18:17:11.080Z] 2437ff75d9bd: Waiting [2023-05-02T18:17:11.350Z] 04944245beec: Verifying Checksum [2023-05-02T18:17:11.350Z] 04944245beec: Download complete [2023-05-02T18:17:11.350Z] 765212b225bb: Verifying Checksum [2023-05-02T18:17:11.350Z] 765212b225bb: Download complete [2023-05-02T18:17:11.350Z] f23df028b6ca: Verifying Checksum [2023-05-02T18:17:11.350Z] f23df028b6ca: Download complete [2023-05-02T18:17:11.350Z] d65c8cfc05b1: Verifying Checksum [2023-05-02T18:17:11.350Z] d65c8cfc05b1: Download complete [2023-05-02T18:17:11.621Z] 699f458cf7ca: Verifying Checksum [2023-05-02T18:17:11.621Z] 699f458cf7ca: Download complete [2023-05-02T18:17:11.890Z] 8998bd30e6a1: Verifying Checksum [2023-05-02T18:17:11.890Z] 8998bd30e6a1: Download complete [2023-05-02T18:17:14.498Z] 2437ff75d9bd: Verifying Checksum [2023-05-02T18:17:14.498Z] 2437ff75d9bd: Download complete [2023-05-02T18:17:15.915Z] 8998bd30e6a1: Pull complete [2023-05-02T18:17:16.501Z] 04944245beec: Pull complete [2023-05-02T18:17:17.913Z] 699f458cf7ca: Pull complete [2023-05-02T18:17:17.913Z] 765212b225bb: Pull complete [2023-05-02T18:17:18.891Z] f23df028b6ca: Pull complete [2023-05-02T18:17:19.159Z] d65c8cfc05b1: Pull complete [2023-05-02T18:17:34.175Z] 2437ff75d9bd: Pull complete [2023-05-02T18:17:34.175Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-02T18:17:34.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T18:17:34.175Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T18:17:34.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-12408 does not seem to be running inside a container [2023-05-02T18:17:34.633Z] $ 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-05-02T18:17:37.514Z] $ docker top a7fff634fc71b16bc22ed4919fbdceaeb6a0f72e8be0ed7e5d417c56dc97a663 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:17:38.437Z] ---> job-cost.sh [2023-05-02T18:17:38.437Z] lf-activate-venv: SKIPPING [2023-05-02T18:17:38.437Z] INFO: No Stack... [2023-05-02T18:17:39.019Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-02T18:17:39.604Z] INFO: Archiving Costs [Pipeline] sh [2023-05-02T18:17:40.266Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-05-02T18:17:40.266Z] + cut -d, -f6 [Pipeline] lock [2023-05-02T18:17:40.359Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-231-1-stack-cost] [2023-05-02T18:17:40.364Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-231-1-stack-cost] did not exist. Created. [2023-05-02T18:17:40.364Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-02T18:17:41.128Z] /w/workspace/device-usb-camera/1@tmp/durable-83ac4b16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-02T18:17:41.818Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-02T18:17:41.859Z] Warning: overwriting stash ‘stack-cost’ [2023-05-02T18:17:41.921Z] Stashed 1 file(s) [Pipeline] } [2023-05-02T18:17:41.938Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-231-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-02T18:17:42.040Z] $ docker stop --time=1 a7fff634fc71b16bc22ed4919fbdceaeb6a0f72e8be0ed7e5d417c56dc97a663 [2023-05-02T18:17:43.595Z] $ docker rm -f --volumes a7fff634fc71b16bc22ed4919fbdceaeb6a0f72e8be0ed7e5d417c56dc97a663 [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-05-02T18:17:44.675Z] provisioning config files... [2023-05-02T18:17:44.685Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-231@tmp/config8333231726628540280tmp [Pipeline] { [Pipeline] sh [2023-05-02T18:17:45.038Z] + set +x [2023-05-02T18:17:45.038Z] + curl -s https://codecov.io/bash [2023-05-02T18:17:45.038Z] + bash -s -- [2023-05-02T18:17:45.038Z] [2023-05-02T18:17:45.038Z] _____ _ [2023-05-02T18:17:45.038Z] / ____| | | [2023-05-02T18:17:45.038Z] | | ___ __| | ___ ___ _____ __ [2023-05-02T18:17:45.038Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-02T18:17:45.038Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-02T18:17:45.038Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-02T18:17:45.038Z] Bash-1.0.6 [2023-05-02T18:17:45.038Z] [2023-05-02T18:17:45.038Z] [2023-05-02T18:17:45.038Z] ==> git version 2.25.1 found [2023-05-02T18:17:45.038Z] ==> 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-05-02T18:17:45.038Z] Release-Date: 2020-01-08 [2023-05-02T18:17:45.038Z] 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-05-02T18:17:45.038Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-02T18:17:45.038Z] ==> Jenkins CI detected. [2023-05-02T18:17:45.038Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-231 [2023-05-02T18:17:45.038Z] project root: . [2023-05-02T18:17:45.038Z] --> token set from env [2023-05-02T18:17:45.038Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-02T18:17:45.038Z] ==> Running gcov in . (disable via -X gcov) [2023-05-02T18:17:45.038Z] ==> Python coveragepy not found [2023-05-02T18:17:45.038Z] ==> Searching for coverage reports in: [2023-05-02T18:17:45.038Z] + . [2023-05-02T18:17:45.038Z] -> Found 1 reports [2023-05-02T18:17:45.038Z] ==> Detecting git/mercurial file structure [2023-05-02T18:17:45.299Z] ==> Reading reports [2023-05-02T18:17:45.299Z] + ./coverage.out bytes=28693 [2023-05-02T18:17:45.299Z] ==> Appending adjustments [2023-05-02T18:17:45.299Z] https://docs.codecov.io/docs/fixing-reports [2023-05-02T18:17:45.299Z] + Found adjustments [2023-05-02T18:17:45.299Z] ==> Gzipping contents [2023-05-02T18:17:45.299Z] 4.0K /tmp/codecov.qoPtaD.gz [2023-05-02T18:17:45.299Z] ==> Uploading reports [2023-05-02T18:17:45.299Z] url: https://codecov.io [2023-05-02T18:17:45.299Z] query: branch=PR-231&commit=74d0f8a14ba09beb312c6664c68cd10594a31827&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=231&job=&cmd_args= [2023-05-02T18:17:45.299Z] -> Pinging Codecov [2023-05-02T18:17:45.299Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-231&commit=74d0f8a14ba09beb312c6664c68cd10594a31827&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=231&job=&cmd_args= [2023-05-02T18:17:45.558Z] -> Uploading to [2023-05-02T18:17:45.558Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-02/73D8F5FF140700D3E01443B452E23636/74d0f8a14ba09beb312c6664c68cd10594a31827/90d1fdab-5d59-4c1a-9d46-b9d81fa638dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T181745Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db1d34a67880a12f63a9d8b5b2ff577f58a72303597cd4d315634de7d7a43252 [2023-05-02T18:17:45.558Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T18:17:45.558Z] Dload Upload Total Spent Left Speed [2023-05-02T18:17:45.817Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 17157 --:--:-- --:--:-- --:--:-- 17232 [2023-05-02T18:17:45.817Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/74d0f8a14ba09beb312c6664c68cd10594a31827 [Pipeline] } [2023-05-02T18:17:45.848Z] 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-05-02T18:17:47.989Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-231/archives ] [2023-05-02T18:17:47.989Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-231/archives [2023-05-02T18:17:47.989Z] total 16 [2023-05-02T18:17:47.989Z] drwxr-xr-x 3 root root 4096 May 2 18:07 . [2023-05-02T18:17:47.989Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 18:07 .. [2023-05-02T18:17:47.989Z] drwxr-xr-x 2 root root 4096 May 2 18:07 cost [2023-05-02T18:17:47.989Z] -rw-r--r-- 1 root root 89 May 2 18:07 cost.csv [2023-05-02T18:17:47.989Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-231/archives [2023-05-02T18:17:47.989Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-231/archives [2023-05-02T18:17:47.989Z] total 16 [2023-05-02T18:17:47.989Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 18:07 . [2023-05-02T18:17:47.989Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 18:07 .. [2023-05-02T18:17:47.989Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 18:07 cost [2023-05-02T18:17:47.989Z] -rw-r--r-- 1 jenkins jenkins 89 May 2 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:17:48.327Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:17:49.221Z] ---> package-listing.sh [2023-05-02T18:17:49.221Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-02T18:17:49.221Z] ++ facter osfamily [2023-05-02T18:17:49.481Z] + OS_FAMILY=debian [2023-05-02T18:17:49.481Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-231 [2023-05-02T18:17:49.481Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-02T18:17:49.481Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-02T18:17:49.481Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-02T18:17:49.481Z] + PACKAGES=/tmp/packages_start.txt [2023-05-02T18:17:49.481Z] + '[' /w/workspace/foundry_device-usb-camera_PR-231 ']' [2023-05-02T18:17:49.481Z] + PACKAGES=/tmp/packages_end.txt [2023-05-02T18:17:49.481Z] + case "${OS_FAMILY}" in [2023-05-02T18:17:49.481Z] + dpkg -l [2023-05-02T18:17:49.481Z] + grep '^ii' [2023-05-02T18:17:49.481Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-02T18:17:49.481Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-02T18:17:49.481Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-02T18:17:49.481Z] + '[' /w/workspace/foundry_device-usb-camera_PR-231 ']' [2023-05-02T18:17:49.481Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-231/archives/ [2023-05-02T18:17:49.481Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-231/archives/ [Pipeline] echo [2023-05-02T18:17:49.520Z] 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-231/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-02T18:17:49.822Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T18:17:50.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T18:17:50.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T18:17:50.621Z] prd-ubuntu20.04-docker-8c-8g-12400 does not seem to be running inside a container [2023-05-02T18:17:50.655Z] $ 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-231/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-231 -v /w/workspace/foundry_device-usb-camera_PR-231:/w/workspace/foundry_device-usb-camera_PR-231:rw,z -v /w/workspace/foundry_device-usb-camera_PR-231@tmp:/w/workspace/foundry_device-usb-camera_PR-231@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-05-02T18:17:51.507Z] $ docker top ccc17b8bd12519582c3fa9a08e49ab8c4816b28967e5a279d6963eed30a74b6d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T18:17:51.929Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-02T18:17:52.275Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-02T18:17:52.598Z] + ls /var/log/sa-host [2023-05-02T18:17:52.598Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T18:17:52.752Z] provisioning config files... [2023-05-02T18:17:52.762Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-231@tmp/config16908584846875482376tmp [Pipeline] { [Pipeline] echo [2023-05-02T18:17:52.821Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:17:53.164Z] ---> create-netrc.sh [Pipeline] } [2023-05-02T18:17:53.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:17:53.868Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-02T18:17:53.903Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:17:54.225Z] ---> sudo-logs.sh [2023-05-02T18:17:54.225Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-02T18:17:54.314Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:17:54.634Z] ---> job-cost.sh [2023-05-02T18:17:54.634Z] lf-activate-venv: SKIPPING [2023-05-02T18:17:54.634Z] DEBUG: total: 0.2199999988079071 [2023-05-02T18:17:54.634Z] INFO: Retrieving Stack Cost... [2023-05-02T18:17:55.202Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-02T18:17:55.461Z] INFO: Archiving Costs [Pipeline] echo [2023-05-02T18:17:55.505Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T18:17:55.827Z] ---> logs-deploy.sh [2023-05-02T18:17:55.827Z] lf-activate-venv: SKIPPING [2023-05-02T18:17:55.827Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-231/1 [2023-05-02T18:17:55.827Z] INFO: archiving workspace using pattern(s): [2023-05-02T18:17:56.781Z] Archives upload complete. [2023-05-02T18:17:56.781Z] INFO: archiving logs to Nexus