Pull request #249 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 237f80add07b9a5a721b48a5043d1d26a8b4dda4+3541083dc0aa512bb01a466ff2ab5369f3e38532 (b3f2b4f7b2a2032effdd3cebde7bec72f8917bee) 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-ssh15454446420445070218.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11254186107806996576.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-249/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-249/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9218310827633846533.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-249/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9914962334312314586.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh12038416488932926622.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-249/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-249/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7512488392265168728.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15763 in /w/workspace/foundry_device-usb-camera_PR-249 [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-249 # 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/249/head:refs/remotes/origin/PR-249 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3541083dc0aa512bb01a466ff2ab5369f3e38532 into PR head commit 237f80add07b9a5a721b48a5043d1d26a8b4dda4 Merge succeeded, producing 237f80add07b9a5a721b48a5043d1d26a8b4dda4 Checking out Revision 237f80add07b9a5a721b48a5043d1d26a8b4dda4 (PR-249) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > git config core.sparsecheckout # timeout=10 > git checkout -f 237f80add07b9a5a721b48a5043d1d26a8b4dda4 # 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 3541083dc0aa512bb01a466ff2ab5369f3e38532 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 237f80add07b9a5a721b48a5043d1d26a8b4dda4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T18:04:28.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T18:04:28.883Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T18:04:28.979Z] ========================================================= [2023-05-16T18:04:28.979Z] EdgeX Global Pipelines Version Info [2023-05-16T18:04:28.979Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:04:29.732Z] ------------------- [2023-05-16T18:04:29.732Z] stable info: [2023-05-16T18:04:29.732Z] ------------------- [2023-05-16T18:04:29.732Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T18:04:29.732Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T18:04:29.732Z] Message: update stable to v1.0.249 [2023-05-16T18:04:30.304Z] ------------------- [2023-05-16T18:04:30.304Z] experimental info: [2023-05-16T18:04:30.304Z] ------------------- [2023-05-16T18:04:30.304Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T18:04:30.304Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T18:04:30.304Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T18:04:30.618Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-16T18:04:30.665Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-16T18:04:30.718Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T18:04:30.764Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T18:04:30.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T18:04:30.866Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T18:04:30.914Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T18:04:30.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T18:04:31.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T18:04:31.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T18:04:31.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T18:04:31.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-16T18:04:31.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T18:04:31.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T18:04:31.307Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T18:04:31.390Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T18:04:31.444Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T18:04:31.496Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T18:04:31.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T18:04:31.616Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T18:04:31.666Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T18:04:31.716Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T18:04:31.771Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T18:04:31.823Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T18:04:31.870Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T18:04:31.915Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T18:04:31.961Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T18:04:32.000Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-249 [Pipeline] echo [2023-05-16T18:04:32.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-249 [Pipeline] echo [2023-05-16T18:04:32.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-249 [Pipeline] echo [2023-05-16T18:04:32.134Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 237f80add07b9a5a721b48a5043d1d26a8b4dda4 [Pipeline] echo [2023-05-16T18:04:32.185Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 237f80a [Pipeline] echo [2023-05-16T18:04:32.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T18:04:32.383Z] provisioning config files... [2023-05-16T18:04:32.406Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-249@tmp/config9990359243185582796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:04:32.782Z] ---> docker-login.sh [2023-05-16T18:04:32.782Z] nexus3.edgexfoundry.org:10001 [2023-05-16T18:04:33.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:33.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:33.460Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:33.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:33.460Z] [2023-05-16T18:04:33.460Z] Login Succeeded [2023-05-16T18:04:33.460Z] nexus3.edgexfoundry.org:10002 [2023-05-16T18:04:33.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:33.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:33.721Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:33.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:33.721Z] [2023-05-16T18:04:33.721Z] Login Succeeded [2023-05-16T18:04:33.721Z] nexus3.edgexfoundry.org:10003 [2023-05-16T18:04:33.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:33.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:33.982Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:33.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:33.982Z] [2023-05-16T18:04:33.982Z] Login Succeeded [2023-05-16T18:04:33.982Z] nexus3.edgexfoundry.org:10004 [2023-05-16T18:04:33.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:33.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:33.982Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:33.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:33.982Z] [2023-05-16T18:04:33.982Z] Login Succeeded [2023-05-16T18:04:33.982Z] docker.io [2023-05-16T18:04:33.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:34.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:34.254Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:34.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:34.254Z] [2023-05-16T18:04:34.254Z] Login Succeeded [2023-05-16T18:04:34.254Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T18:04:34.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T18:04:34.956Z] + git rev-list -1 --merges 237f80add07b9a5a721b48a5043d1d26a8b4dda4~1..237f80add07b9a5a721b48a5043d1d26a8b4dda4 [Pipeline] echo [2023-05-16T18:04:35.028Z] -----------> git rev-list -1 --merges 237f80add07b9a5a721b48a5043d1d26a8b4dda4~1..237f80add07b9a5a721b48a5043d1d26a8b4dda4 237f80add07b9a5a721b48a5043d1d26a8b4dda4 [false] [Pipeline] sh [2023-05-16T18:04:35.340Z] + git log --format=format:%s -1 237f80add07b9a5a721b48a5043d1d26a8b4dda4 [Pipeline] echo [2023-05-16T18:04:35.378Z] ========================================================= [2023-05-16T18:04:35.378Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T18:04:35.378Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T18:04:35.845Z] + git log --format=format:%s -1 237f80add07b9a5a721b48a5043d1d26a8b4dda4 [Pipeline] echo [2023-05-16T18:04:35.879Z] [semverPrep] GIT_COMMIT: 237f80add07b9a5a721b48a5043d1d26a8b4dda4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-16T18:04:35.910Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T18:04:36.450Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T18:04:36.450Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T18:04:36.450Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T18:04:36.450Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T18:04:36.450Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T18:04:36.450Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T18:04:36.450Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:04:37.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T18:04:37.012Z] [2023-05-16T18:04:37.012Z] 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-16T18:04:37.401Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T18:04:37.401Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T18:04:37.401Z] b85a868b505f: Pulling fs layer [2023-05-16T18:04:37.401Z] e2be974225ed: Pulling fs layer [2023-05-16T18:04:37.401Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T18:04:37.401Z] 988bab9f4d93: Pulling fs layer [2023-05-16T18:04:37.401Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T18:04:37.401Z] eaf3925da568: Pulling fs layer [2023-05-16T18:04:37.401Z] bab4dde63d76: Pulling fs layer [2023-05-16T18:04:37.401Z] bde34c3a00c8: Pulling fs layer [2023-05-16T18:04:37.401Z] b352a97aabf1: Pulling fs layer [2023-05-16T18:04:37.401Z] 4872d77fe225: Pulling fs layer [2023-05-16T18:04:37.401Z] 5851b861e8e6: Pulling fs layer [2023-05-16T18:04:37.401Z] 988bab9f4d93: Waiting [2023-05-16T18:04:37.401Z] bde34c3a00c8: Waiting [2023-05-16T18:04:37.401Z] 1469e6f7b9e6: Waiting [2023-05-16T18:04:37.401Z] b352a97aabf1: Waiting [2023-05-16T18:04:37.401Z] 4872d77fe225: Waiting [2023-05-16T18:04:37.401Z] eaf3925da568: Waiting [2023-05-16T18:04:37.401Z] 5851b861e8e6: Waiting [2023-05-16T18:04:37.401Z] e2be974225ed: Verifying Checksum [2023-05-16T18:04:37.401Z] e2be974225ed: Download complete [2023-05-16T18:04:37.401Z] 988bab9f4d93: Verifying Checksum [2023-05-16T18:04:37.401Z] 988bab9f4d93: Download complete [2023-05-16T18:04:37.401Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T18:04:37.401Z] 1469e6f7b9e6: Download complete [2023-05-16T18:04:37.401Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T18:04:37.401Z] 339a4e72a1f5: Download complete [2023-05-16T18:04:37.401Z] eaf3925da568: Verifying Checksum [2023-05-16T18:04:37.401Z] eaf3925da568: Download complete [2023-05-16T18:04:37.663Z] bde34c3a00c8: Download complete [2023-05-16T18:04:37.663Z] b352a97aabf1: Verifying Checksum [2023-05-16T18:04:37.663Z] b352a97aabf1: Download complete [2023-05-16T18:04:37.663Z] 4872d77fe225: Download complete [2023-05-16T18:04:37.663Z] 5851b861e8e6: Verifying Checksum [2023-05-16T18:04:37.663Z] 5851b861e8e6: Download complete [2023-05-16T18:04:37.663Z] b85a868b505f: Download complete [2023-05-16T18:04:37.922Z] bab4dde63d76: Verifying Checksum [2023-05-16T18:04:37.922Z] bab4dde63d76: Download complete [2023-05-16T18:04:38.862Z] b85a868b505f: Pull complete [2023-05-16T18:04:39.124Z] e2be974225ed: Pull complete [2023-05-16T18:04:39.384Z] 339a4e72a1f5: Pull complete [2023-05-16T18:04:39.645Z] 988bab9f4d93: Pull complete [2023-05-16T18:04:39.905Z] 1469e6f7b9e6: Pull complete [2023-05-16T18:04:39.905Z] eaf3925da568: Pull complete [2023-05-16T18:04:41.816Z] bab4dde63d76: Pull complete [2023-05-16T18:04:41.816Z] bde34c3a00c8: Pull complete [2023-05-16T18:04:41.816Z] b352a97aabf1: Pull complete [2023-05-16T18:04:41.816Z] 4872d77fe225: Pull complete [2023-05-16T18:04:41.816Z] 5851b861e8e6: Pull complete [2023-05-16T18:04:41.816Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T18:04:41.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T18:04:41.816Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T18:04:42.054Z] prd-ubuntu20.04-docker-8c-8g-15763 does not seem to be running inside a container [2023-05-16T18:04:42.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-249 -v /w/workspace/foundry_device-usb-camera_PR-249:/w/workspace/foundry_device-usb-camera_PR-249:rw,z -v /w/workspace/foundry_device-usb-camera_PR-249@tmp:/w/workspace/foundry_device-usb-camera_PR-249@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-16T18:04:45.667Z] $ docker top c070265c619bb54e9be0d978bf8d0b5261e57f08b8ac38673167baa5d55d9122 -eo pid,comm [2023-05-16T18:04:45.727Z] 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-16T18:04:45.727Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T18:04:45.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T18:04:45.864Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T18:04:45.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T18:04:45.982Z] $ docker exec c070265c619bb54e9be0d978bf8d0b5261e57f08b8ac38673167baa5d55d9122 ssh-agent [2023-05-16T18:04:46.082Z] SSH_AUTH_SOCK=/tmp/ssh-2lqh5qy7Srey/agent.31 [2023-05-16T18:04:46.082Z] SSH_AGENT_PID=37 [2023-05-16T18:04:46.090Z] Running ssh-add (command line suppressed) [2023-05-16T18:04:46.189Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-249@tmp/private_key_3165246304537951025.key (/w/workspace/foundry_device-usb-camera_PR-249@tmp/private_key_3165246304537951025.key) [2023-05-16T18:04:46.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T18:04:46.554Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T18:04:46.581Z] $ docker exec --env ******** --env ******** c070265c619bb54e9be0d978bf8d0b5261e57f08b8ac38673167baa5d55d9122 ssh-agent -k [2023-05-16T18:04:46.681Z] unset SSH_AUTH_SOCK; [2023-05-16T18:04:46.682Z] unset SSH_AGENT_PID; [2023-05-16T18:04:46.682Z] echo Agent pid 37 killed; [2023-05-16T18:04:46.699Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T18:04:46.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T18:04:46.787Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T18:04:46.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T18:04:46.918Z] $ docker exec c070265c619bb54e9be0d978bf8d0b5261e57f08b8ac38673167baa5d55d9122 ssh-agent [2023-05-16T18:04:47.022Z] SSH_AUTH_SOCK=/tmp/ssh-hruBty9HyUmW/agent.69 [2023-05-16T18:04:47.022Z] SSH_AGENT_PID=75 [2023-05-16T18:04:47.027Z] Running ssh-add (command line suppressed) [2023-05-16T18:04:47.150Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-249@tmp/private_key_5730665891107907546.key (/w/workspace/foundry_device-usb-camera_PR-249@tmp/private_key_5730665891107907546.key) [2023-05-16T18:04:47.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T18:04:47.490Z] + git semver init [2023-05-16T18:04:47.749Z] 2023-05-16 18:04:47,681 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T18:04:47.749Z] 2023-05-16 18:04:47,682 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-249/.semver [2023-05-16T18:04:47.749Z] 2023-05-16 18:04:47,682 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-249/.semver [2023-05-16T18:04:47.749Z] 2023-05-16 18:04:47,682 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-249/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-249, universal_newlines=False, shell=None, istream=None) [2023-05-16T18:04:48.693Z] 2023-05-16 18:04:48,350 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-249/.git/info/exclude [2023-05-16T18:04:48.693Z] 2023-05-16 18:04:48,351 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-249/.semver/PR-249 with force:False [2023-05-16T18:04:48.693Z] 2023-05-16 18:04:48,351 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-249/.semver/PR-249 [2023-05-16T18:04:48.693Z] 2023-05-16 18:04:48,355 [execute] INFO git cat-file --batch-check [2023-05-16T18:04:48.693Z] 2023-05-16 18:04:48,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-249/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T18:04:48.693Z] 2023-05-16 18:04:48,362 [execute] INFO git cat-file --batch [2023-05-16T18:04:48.693Z] 2023-05-16 18:04:48,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-249/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T18:04:48.693Z] 2023-05-16 18:04:48,368 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-249/.semver/PR-249 [2023-05-16T18:04:48.693Z] 0.0.0 [Pipeline] } [2023-05-16T18:04:48.727Z] $ docker exec --env ******** --env ******** c070265c619bb54e9be0d978bf8d0b5261e57f08b8ac38673167baa5d55d9122 ssh-agent -k [2023-05-16T18:04:48.868Z] unset SSH_AUTH_SOCK; [2023-05-16T18:04:48.868Z] unset SSH_AGENT_PID; [2023-05-16T18:04:48.868Z] echo Agent pid 75 killed; [2023-05-16T18:04:48.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T18:04:49.308Z] + git semver [Pipeline] } [2023-05-16T18:04:49.596Z] $ docker stop --time=1 c070265c619bb54e9be0d978bf8d0b5261e57f08b8ac38673167baa5d55d9122 [2023-05-16T18:04:50.915Z] $ docker rm -f --volumes c070265c619bb54e9be0d978bf8d0b5261e57f08b8ac38673167baa5d55d9122 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T18:04:51.326Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T18:04:51.642Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T18:04:51.666Z] [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-16T18:04:52.408Z] provisioning config files... [2023-05-16T18:04:52.418Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-249@tmp/config11746412931525597274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:04:52.794Z] ---> docker-login.sh [2023-05-16T18:04:52.794Z] nexus3.edgexfoundry.org:10001 [2023-05-16T18:04:52.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:52.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:52.794Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:52.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:52.794Z] [2023-05-16T18:04:52.794Z] Login Succeeded [2023-05-16T18:04:52.794Z] nexus3.edgexfoundry.org:10002 [2023-05-16T18:04:52.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:52.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:52.794Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:52.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:52.794Z] [2023-05-16T18:04:52.794Z] Login Succeeded [2023-05-16T18:04:52.794Z] nexus3.edgexfoundry.org:10003 [2023-05-16T18:04:53.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:53.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:53.053Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:53.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:53.053Z] [2023-05-16T18:04:53.053Z] Login Succeeded [2023-05-16T18:04:53.053Z] nexus3.edgexfoundry.org:10004 [2023-05-16T18:04:53.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:53.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:53.313Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:53.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:53.313Z] [2023-05-16T18:04:53.313Z] Login Succeeded [2023-05-16T18:04:53.313Z] docker.io [2023-05-16T18:04:53.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:04:53.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:04:53.586Z] Configure a credential helper to remove this warning. See [2023-05-16T18:04:53.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:04:53.586Z] [2023-05-16T18:04:53.586Z] Login Succeeded [2023-05-16T18:04:53.586Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T18:04:53.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T18:04:53.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T18:04:53.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T18:04:54.007Z] ========================================================= [2023-05-16T18:04:54.007Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T18:04:54.007Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:04:54.778Z] + 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-16T18:04:54.778Z] Sending build context to Docker daemon 1.895MB [2023-05-16T18:04:54.778Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T18:04:54.778Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T18:04:55.040Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T18:04:55.040Z] f56be85fc22e: Pulling fs layer [2023-05-16T18:04:55.040Z] 85791d961cd3: Pulling fs layer [2023-05-16T18:04:55.040Z] d694b5ae8c79: Pulling fs layer [2023-05-16T18:04:55.040Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T18:04:55.040Z] 4d19c01a9841: Pulling fs layer [2023-05-16T18:04:55.040Z] 9325e15d5711: Pulling fs layer [2023-05-16T18:04:55.040Z] 556b6ee489ea: Pulling fs layer [2023-05-16T18:04:55.040Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T18:04:55.040Z] 9f32a84ed3da: Waiting [2023-05-16T18:04:55.040Z] 4d19c01a9841: Waiting [2023-05-16T18:04:55.040Z] 9325e15d5711: Waiting [2023-05-16T18:04:55.040Z] 556b6ee489ea: Waiting [2023-05-16T18:04:55.040Z] c5a4b2cf53e6: Waiting [2023-05-16T18:04:55.040Z] 85791d961cd3: Verifying Checksum [2023-05-16T18:04:55.040Z] 85791d961cd3: Download complete [2023-05-16T18:04:55.040Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T18:04:55.040Z] 9f32a84ed3da: Download complete [2023-05-16T18:04:55.040Z] 4d19c01a9841: Download complete [2023-05-16T18:04:55.040Z] f56be85fc22e: Verifying Checksum [2023-05-16T18:04:55.040Z] f56be85fc22e: Download complete [2023-05-16T18:04:55.302Z] 9325e15d5711: Verifying Checksum [2023-05-16T18:04:55.302Z] 9325e15d5711: Download complete [2023-05-16T18:04:55.302Z] f56be85fc22e: Pull complete [2023-05-16T18:04:55.577Z] 85791d961cd3: Pull complete [2023-05-16T18:04:55.837Z] c5a4b2cf53e6: Download complete [2023-05-16T18:04:55.837Z] d694b5ae8c79: Verifying Checksum [2023-05-16T18:04:55.837Z] d694b5ae8c79: Download complete [2023-05-16T18:04:56.101Z] 556b6ee489ea: Verifying Checksum [2023-05-16T18:04:56.101Z] 556b6ee489ea: Download complete [2023-05-16T18:04:59.422Z] d694b5ae8c79: Pull complete [2023-05-16T18:04:59.422Z] 9f32a84ed3da: Pull complete [2023-05-16T18:04:59.422Z] 4d19c01a9841: Pull complete [2023-05-16T18:04:59.422Z] 9325e15d5711: Pull complete [2023-05-16T18:05:01.975Z] 556b6ee489ea: Pull complete [2023-05-16T18:05:02.559Z] c5a4b2cf53e6: Pull complete [2023-05-16T18:05:02.559Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T18:05:02.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T18:05:02.559Z] ---> c4be618373d6 [2023-05-16T18:05:02.559Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T18:05:07.171Z] Still waiting to schedule task [2023-05-16T18:05:07.171Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-16T18:05:09.154Z] ---> Running in 45ec60862bb6 [2023-05-16T18:05:09.154Z] Removing intermediate container 45ec60862bb6 [2023-05-16T18:05:09.154Z] ---> aa491acc19a6 [2023-05-16T18:05:09.154Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T18:05:09.154Z] ---> Running in 2741e9e63a3f [2023-05-16T18:05:09.154Z] Removing intermediate container 2741e9e63a3f [2023-05-16T18:05:09.154Z] ---> 437df0192f8a [2023-05-16T18:05:09.154Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T18:05:09.154Z] ---> Running in a4c7b2d0cd04 [2023-05-16T18:05:09.154Z] Removing intermediate container a4c7b2d0cd04 [2023-05-16T18:05:09.154Z] ---> 91430534620a [2023-05-16T18:05:09.154Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T18:05:09.154Z] ---> Running in 32bdf97be1fc [2023-05-16T18:05:09.154Z] Removing intermediate container 32bdf97be1fc [2023-05-16T18:05:09.154Z] ---> 096b3a2a7ee0 [2023-05-16T18:05:09.154Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T18:05:09.154Z] ---> Running in ff66660b6b5d [2023-05-16T18:05:09.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T18:05:09.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T18:05:09.413Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T18:05:09.413Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T18:05:09.413Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T18:05:09.413Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T18:05:09.413Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T18:05:09.413Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T18:05:09.413Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T18:05:09.413Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T18:05:09.413Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T18:05:09.413Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T18:05:09.678Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T18:05:09.678Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T18:05:09.678Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T18:05:09.678Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T18:05:09.678Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T18:05:09.678Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T18:05:09.678Z] OK: 272 MiB in 67 packages [2023-05-16T18:05:10.247Z] Removing intermediate container ff66660b6b5d [2023-05-16T18:05:10.247Z] ---> 8e193f5cd747 [2023-05-16T18:05:10.247Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T18:05:10.247Z] ---> Running in 8fd6c4d49dcb [2023-05-16T18:05:10.247Z] Removing intermediate container 8fd6c4d49dcb [2023-05-16T18:05:10.247Z] ---> a5a155514b96 [2023-05-16T18:05:10.247Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T18:05:10.507Z] ---> aa8da527b6c2 [2023-05-16T18:05:10.507Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T18:05:10.766Z] ---> Running in ed1742b66061 [2023-05-16T18:05:42.942Z] Removing intermediate container ed1742b66061 [2023-05-16T18:05:42.942Z] ---> 1dbe1cab074d [2023-05-16T18:05:42.942Z] Step 11/13 : COPY . . [2023-05-16T18:05:42.942Z] ---> 55f32ca37fad [2023-05-16T18:05:42.942Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T18:05:42.942Z] ---> Running in 4023b615f091 [2023-05-16T18:05:42.942Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T18:05:42.942Z] Dload Upload Total Spent Left Speed [2023-05-16T18:05:42.942Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6319 0 --:--:-- --:--:-- --:--:-- 6359 [2023-05-16T18:05:42.942Z] Removing intermediate container 4023b615f091 [2023-05-16T18:05:42.942Z] ---> 7a68625326c5 [2023-05-16T18:05:42.942Z] Step 13/13 : RUN ${MAKE} [2023-05-16T18:05:42.942Z] ---> Running in ae1f1285a51b [2023-05-16T18:05:42.942Z] noop [2023-05-16T18:05:42.942Z] Removing intermediate container ae1f1285a51b [2023-05-16T18:05:42.942Z] ---> dc688c8eaab2 [2023-05-16T18:05:42.942Z] Successfully built dc688c8eaab2 [2023-05-16T18:05:42.942Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:05:43.417Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T18:05:43.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T18:05:43.591Z] prd-ubuntu20.04-docker-8c-8g-15763 does not seem to be running inside a container [2023-05-16T18:05:43.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-249 -v /w/workspace/foundry_device-usb-camera_PR-249:/w/workspace/foundry_device-usb-camera_PR-249:rw,z -v /w/workspace/foundry_device-usb-camera_PR-249@tmp:/w/workspace/foundry_device-usb-camera_PR-249@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-16T18:05:43.976Z] $ docker top 976146ee39b4f6e0c700b4aaa6e0a787e087656236c62bd9ef0a06d0ac5e7a6f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T18:05:44.380Z] + go version [2023-05-16T18:05:44.380Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T18:05:44.430Z] $ docker stop --time=1 976146ee39b4f6e0c700b4aaa6e0a787e087656236c62bd9ef0a06d0ac5e7a6f [2023-05-16T18:05:45.734Z] $ docker rm -f --volumes 976146ee39b4f6e0c700b4aaa6e0a787e087656236c62bd9ef0a06d0ac5e7a6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:05:46.485Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T18:05:46.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T18:05:46.643Z] prd-ubuntu20.04-docker-8c-8g-15763 does not seem to be running inside a container [2023-05-16T18:05:46.692Z] $ 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-249 -v /w/workspace/foundry_device-usb-camera_PR-249:/w/workspace/foundry_device-usb-camera_PR-249:rw,z -v /w/workspace/foundry_device-usb-camera_PR-249@tmp:/w/workspace/foundry_device-usb-camera_PR-249@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-16T18:05:47.036Z] $ docker top c2f8b259d7015142d76684523f64ee75933123a04be1d3cc75e6120baab633ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T18:05:47.426Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-249 [Pipeline] fileExists [Pipeline] sh [2023-05-16T18:05:47.790Z] + make test [2023-05-16T18:05:47.790Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T18:05:53.049Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T18:06:05.242Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T18:06:05.242Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 1.8% of statements [2023-05-16T18:06:10.533Z] go vet ./... [2023-05-16T18:06:14.737Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T18:06:14.737Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T18:06:14.737Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T18:06:14.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T18:06:14.832Z] $ docker stop --time=1 c2f8b259d7015142d76684523f64ee75933123a04be1d3cc75e6120baab633ad [2023-05-16T18:06:18.557Z] $ docker rm -f --volumes c2f8b259d7015142d76684523f64ee75933123a04be1d3cc75e6120baab633ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T18:06:19.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T18:06:19.159Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T18:06:19.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T18:06:20.319Z] + ls -al . [2023-05-16T18:06:20.319Z] total 188 [2023-05-16T18:06:20.319Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 18:05 . [2023-05-16T18:06:20.319Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:04 .. [2023-05-16T18:06:20.319Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:04 .git [2023-05-16T18:06:20.319Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:04 .github [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 18:04 .gitignore [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 18:04 .golangci.yml [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 18:04 .hadolint.yml [2023-05-16T18:06:20.319Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:04 .semver [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 18:04 Attribution.txt [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 18:04 CHANGELOG.md [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 18:04 Dockerfile [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 18:04 GOVERNANCE.md [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 18:04 Jenkinsfile [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 18:04 LICENSE [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 18:04 Makefile [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 18:04 OWNERS.md [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 18:04 README.md [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:04 VERSION [2023-05-16T18:06:20.319Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:04 bin [2023-05-16T18:06:20.319Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:04 cmd [2023-05-16T18:06:20.319Z] -rw-r--r-- 1 jenkins jenkins 31522 May 16 18:06 coverage.out [2023-05-16T18:06:20.319Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 18:04 docker-entrypoint.sh [2023-05-16T18:06:20.319Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:04 docs [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 18:04 go.mod [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 18:04 go.sum [2023-05-16T18:06:20.319Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:04 internal [2023-05-16T18:06:20.319Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:04 snap [2023-05-16T18:06:20.319Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 18:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:06:20.731Z] + 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=237f80add07b9a5a721b48a5043d1d26a8b4dda4 --label arch=amd64 --label version=0.0.0 . [2023-05-16T18:06:20.731Z] Sending build context to Docker daemon 1.927MB [2023-05-16T18:06:20.731Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T18:06:20.731Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T18:06:20.731Z] ---> dc688c8eaab2 [2023-05-16T18:06:20.731Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T18:06:20.991Z] ---> Running in f9ea9345d37c [2023-05-16T18:06:20.991Z] Removing intermediate container f9ea9345d37c [2023-05-16T18:06:20.991Z] ---> 955b41f96023 [2023-05-16T18:06:20.991Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T18:06:20.991Z] ---> Running in 905c24769330 [2023-05-16T18:06:20.991Z] Removing intermediate container 905c24769330 [2023-05-16T18:06:20.991Z] ---> 5e1ac6cba09e [2023-05-16T18:06:20.991Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T18:06:20.991Z] ---> Running in 6b1d95ff257d [2023-05-16T18:06:21.251Z] Removing intermediate container 6b1d95ff257d [2023-05-16T18:06:21.251Z] ---> 642b6d74d91c [2023-05-16T18:06:21.251Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T18:06:21.251Z] ---> Running in 09bf9e99fec2 [2023-05-16T18:06:21.251Z] Removing intermediate container 09bf9e99fec2 [2023-05-16T18:06:21.251Z] ---> 802bda7cda77 [2023-05-16T18:06:21.251Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T18:06:21.251Z] ---> Running in 1f5a2a3aff99 [2023-05-16T18:06:21.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T18:06:21.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T18:06:21.773Z] OK: 272 MiB in 67 packages [2023-05-16T18:06:22.034Z] Removing intermediate container 1f5a2a3aff99 [2023-05-16T18:06:22.034Z] ---> ffc3aa0399c4 [2023-05-16T18:06:22.034Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T18:06:22.034Z] ---> Running in 6afd866b7286 [2023-05-16T18:06:22.293Z] Removing intermediate container 6afd866b7286 [2023-05-16T18:06:22.293Z] ---> ead72f5e9a78 [2023-05-16T18:06:22.293Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T18:06:22.293Z] ---> fe393d453b1a [2023-05-16T18:06:22.293Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T18:06:22.293Z] ---> Running in 4888421b1bec [2023-05-16T18:06:23.231Z] Removing intermediate container 4888421b1bec [2023-05-16T18:06:23.231Z] ---> 725294c1b877 [2023-05-16T18:06:23.231Z] Step 11/36 : COPY . . [2023-05-16T18:06:23.491Z] ---> f3ce2cfa22ed [2023-05-16T18:06:23.492Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T18:06:23.492Z] ---> Running in 85a84add84ba [2023-05-16T18:06:23.751Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T18:06:23.751Z] Dload Upload Total Spent Left Speed [2023-05-16T18:06:23.751Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19464 0 --:--:-- --:--:-- --:--:-- 19666 [2023-05-16T18:06:24.011Z] Removing intermediate container 85a84add84ba [2023-05-16T18:06:24.011Z] ---> 2c8aafeda6e2 [2023-05-16T18:06:24.011Z] Step 13/36 : RUN ${MAKE} [2023-05-16T18:06:24.011Z] ---> Running in a9b436a85a2d [2023-05-16T18:06:24.579Z] 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-16T18:06:43.872Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15764 in /w/workspace/foundry_device-usb-camera_PR-249 [Pipeline] { [Pipeline] ws [2023-05-16T18:06:43.933Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-16T18:06:44.018Z] Selected Git installation does not exist. Using Default [2023-05-16T18:06:44.018Z] The recommended git tool is: NONE [2023-05-16T18:06:46.859Z] Removing intermediate container a9b436a85a2d [2023-05-16T18:06:46.859Z] ---> f8bb3af1ef81 [2023-05-16T18:06:46.859Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T18:06:46.859Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T18:06:46.859Z] 4acc49c71d14: Pulling fs layer [2023-05-16T18:06:46.859Z] 4acc49c71d14: Verifying Checksum [2023-05-16T18:06:46.859Z] 4acc49c71d14: Download complete [2023-05-16T18:06:46.859Z] 4acc49c71d14: Pull complete [2023-05-16T18:06:46.859Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T18:06:46.859Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T18:06:46.859Z] ---> 01a2bd3e5fff [2023-05-16T18:06:46.859Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T18:06:46.859Z] 3.17: Pulling from library/alpine [2023-05-16T18:06:46.859Z] f56be85fc22e: Already exists [2023-05-16T18:06:46.859Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T18:06:46.859Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T18:06:46.859Z] ---> 9ed4aefc74f6 [2023-05-16T18:06:46.859Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T18:06:47.120Z] ---> Running in 9ffa6486a4df [2023-05-16T18:06:47.120Z] Removing intermediate container 9ffa6486a4df [2023-05-16T18:06:47.120Z] ---> 3296c304298f [2023-05-16T18:06:47.120Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T18:06:47.120Z] ---> Running in 379d0a17ba0e [2023-05-16T18:06:47.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T18:06:47.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T18:06:47.638Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-16T18:06:47.638Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-16T18:06:47.638Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-16T18:06:47.638Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-16T18:06:47.638Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-16T18:06:47.638Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-16T18:06:47.638Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-16T18:06:47.638Z] (8/86) Installing libxcb (1.15-r0) [2023-05-16T18:06:47.638Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-16T18:06:47.638Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-16T18:06:47.897Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-16T18:06:47.897Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-16T18:06:47.897Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-16T18:06:47.897Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-16T18:06:47.897Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-16T18:06:47.897Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-16T18:06:47.897Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-16T18:06:47.897Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-16T18:06:47.897Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-16T18:06:47.897Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-16T18:06:47.897Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-16T18:06:47.897Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-16T18:06:47.897Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-16T18:06:47.897Z] (24/86) Installing glib (2.74.6-r0) [2023-05-16T18:06:47.897Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-16T18:06:47.897Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-16T18:06:47.897Z] (27/86) Installing libass (0.16.0-r1) [2023-05-16T18:06:47.897Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-16T18:06:47.897Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-16T18:06:47.897Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-16T18:06:48.157Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-16T18:06:48.157Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-16T18:06:48.157Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-16T18:06:48.157Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-16T18:06:48.157Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-16T18:06:48.157Z] (36/86) Installing libunistring (1.1-r0) [2023-05-16T18:06:48.157Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-16T18:06:48.157Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T18:06:48.157Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T18:06:48.157Z] (40/86) Installing lame (3.100-r2) [2023-05-16T18:06:48.157Z] (41/86) Installing opus (1.3.1-r1) [2023-05-16T18:06:48.157Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-16T18:06:48.157Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-16T18:06:48.157Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-16T18:06:48.157Z] (45/86) Installing orc (0.4.33-r0) [2023-05-16T18:06:48.157Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T18:06:48.157Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-16T18:06:48.157Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T18:06:48.157Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-16T18:06:48.157Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-16T18:06:48.157Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-16T18:06:48.157Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T18:06:48.157Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-16T18:06:48.157Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-16T18:06:48.157Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-16T18:06:48.157Z] (56/86) Installing libpulse (16.1-r6) [2023-05-16T18:06:48.157Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-16T18:06:48.419Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-16T18:06:48.419Z] (59/86) Installing librist (0.2.7-r0) [2023-05-16T18:06:48.419Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-16T18:06:48.419Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-16T18:06:48.419Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-16T18:06:48.419Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T18:06:48.419Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T18:06:48.419Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-16T18:06:48.419Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-16T18:06:48.419Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T18:06:48.419Z] (68/86) Installing libva (2.16.0-r0) [2023-05-16T18:06:48.419Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-16T18:06:48.419Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-16T18:06:48.419Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-16T18:06:48.419Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-16T18:06:48.419Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T18:06:48.419Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-16T18:06:48.419Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-16T18:06:48.679Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-16T18:06:48.679Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-16T18:06:48.679Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-16T18:06:48.679Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T18:06:48.679Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-16T18:06:48.679Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-16T18:06:48.679Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-16T18:06:48.679Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-16T18:06:48.679Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-16T18:06:48.679Z] (85/86) Installing kmod-libs (30-r1) [2023-05-16T18:06:48.679Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-16T18:06:48.679Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T18:06:48.679Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T18:06:48.679Z] OK: 112 MiB in 101 packages [2023-05-16T18:06:49.605Z] using credential edgex-jenkins-ssh [2023-05-16T18:06:49.625Z] Cloning the remote Git repository [2023-05-16T18:06:49.676Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T18:06:49.771Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-16T18:06:49.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T18:06:49.924Z] > git --version # timeout=10 [2023-05-16T18:06:49.947Z] > git --version # 'git version 2.25.1' [2023-05-16T18:06:49.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T18:06:50.109Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T18:06:51.228Z] Removing intermediate container 379d0a17ba0e [2023-05-16T18:06:51.228Z] ---> 23586cee5eff [2023-05-16T18:06:51.228Z] Step 18/36 : WORKDIR / [2023-05-16T18:06:51.228Z] ---> Running in 4c7e4572fbe0 [2023-05-16T18:06:51.228Z] Removing intermediate container 4c7e4572fbe0 [2023-05-16T18:06:51.228Z] ---> 7e0de22d2467 [2023-05-16T18:06:51.228Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T18:06:50.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T18:06:50.921Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T18:06:51.838Z] ---> 5ee5c2ef926c [2023-05-16T18:06:51.838Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T18:06:51.838Z] ---> 41c1b14a96a0 [2023-05-16T18:06:51.838Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T18:06:52.112Z] ---> 4c8c3eeec7a8 [2023-05-16T18:06:52.112Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T18:06:52.112Z] ---> 3d6aba9fffa6 [2023-05-16T18:06:52.112Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T18:06:52.356Z] Merging remotes/origin/main commit 3541083dc0aa512bb01a466ff2ab5369f3e38532 into PR head commit 237f80add07b9a5a721b48a5043d1d26a8b4dda4 [2023-05-16T18:06:52.371Z] ---> 8ba046072465 [2023-05-16T18:06:52.371Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T18:06:52.371Z] ---> c2535bfd460b [2023-05-16T18:06:52.371Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-16T18:06:52.631Z] Merge succeeded, producing 237f80add07b9a5a721b48a5043d1d26a8b4dda4 [2023-05-16T18:06:52.632Z] Checking out Revision 237f80add07b9a5a721b48a5043d1d26a8b4dda4 (PR-249) [2023-05-16T18:06:51.746Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T18:06:51.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T18:06:51.804Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T18:06:51.822Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/249/head:refs/remotes/origin/PR-249 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T18:06:52.377Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T18:06:52.453Z] > git checkout -f 237f80add07b9a5a721b48a5043d1d26a8b4dda4 # timeout=10 [2023-05-16T18:06:52.534Z] > git remote # timeout=10 [2023-05-16T18:06:52.555Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T18:06:52.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T18:06:52.587Z] > git merge 3541083dc0aa512bb01a466ff2ab5369f3e38532 # timeout=10 [2023-05-16T18:06:52.617Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T18:06:52.641Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T18:06:52.663Z] > git checkout -f 237f80add07b9a5a721b48a5043d1d26a8b4dda4 # timeout=10 [2023-05-16T18:06:52.936Z] ---> edb89786bcbf [2023-05-16T18:06:52.937Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T18:06:52.937Z] ---> Running in 8c2d76c6893f [2023-05-16T18:06:53.124Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-16T18:06:53.180Z] > git --version # timeout=10 [2023-05-16T18:06:53.192Z] > git --version # 'git version 2.25.1' [2023-05-16T18:06:53.206Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T18:06:53.505Z] Removing intermediate container 8c2d76c6893f [2023-05-16T18:06:53.505Z] ---> a93abfd2800c [2023-05-16T18:06:53.505Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T18:06:53.505Z] ---> Running in 8479f9211103 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T18:06:54.071Z] Removing intermediate container 8479f9211103 [2023-05-16T18:06:54.071Z] ---> 10401baae65b [2023-05-16T18:06:54.071Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T18:06:54.071Z] ---> Running in d879d2c13152 [2023-05-16T18:06:54.354Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T18:06:54.354Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T18:06:54.354Z] Dload Upload Total Spent Left Speed [2023-05-16T18:06:54.354Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [2023-05-16T18:06:54.640Z] Removing intermediate container d879d2c13152 [2023-05-16T18:06:54.640Z] ---> cc0cb163b75a [2023-05-16T18:06:54.640Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T18:06:54.640Z] ---> Running in deb7de24557c [Pipeline] sh [2023-05-16T18:06:54.985Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T18:06:55.208Z] Removing intermediate container deb7de24557c [2023-05-16T18:06:55.208Z] ---> 246e4bc43d8b [2023-05-16T18:06:55.208Z] Step 30/36 : EXPOSE 59983 [2023-05-16T18:06:55.208Z] ---> Running in 99b0f8179240 [2023-05-16T18:06:55.208Z] Removing intermediate container 99b0f8179240 [2023-05-16T18:06:55.208Z] ---> 2f57244cb285 [2023-05-16T18:06:55.208Z] Step 31/36 : EXPOSE 8554 [2023-05-16T18:06:55.208Z] ---> Running in 916af0feb179 [2023-05-16T18:06:55.342Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T18:06:55.342Z] + sudo tee /etc/docker/daemon.new [2023-05-16T18:06:55.342Z] { [2023-05-16T18:06:55.342Z] "registry-mirrors": [ [2023-05-16T18:06:55.342Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T18:06:55.342Z] ], [2023-05-16T18:06:55.342Z] "bip": "10.250.0.254/24", [2023-05-16T18:06:55.342Z] "hosts": [ [2023-05-16T18:06:55.342Z] "tcp://0.0.0.0:5555", [2023-05-16T18:06:55.342Z] "unix:///var/run/docker.sock" [2023-05-16T18:06:55.342Z] ], [2023-05-16T18:06:55.342Z] "mtu": 1458, [2023-05-16T18:06:55.342Z] "selinux-enabled": true, [2023-05-16T18:06:55.342Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T18:06:55.342Z] } [Pipeline] sh [2023-05-16T18:06:55.466Z] Removing intermediate container 916af0feb179 [2023-05-16T18:06:55.467Z] ---> 6f13b161253a [2023-05-16T18:06:55.467Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T18:06:55.467Z] ---> Running in 7e0de1cfb30f [2023-05-16T18:06:55.467Z] Removing intermediate container 7e0de1cfb30f [2023-05-16T18:06:55.467Z] ---> 2ec6dfd3022e [2023-05-16T18:06:55.467Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T18:06:55.467Z] ---> Running in 314583f844f4 [2023-05-16T18:06:55.467Z] Removing intermediate container 314583f844f4 [2023-05-16T18:06:55.467Z] ---> 168fb2495633 [2023-05-16T18:06:55.467Z] Step 34/36 : LABEL arch=amd64 [2023-05-16T18:06:55.693Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T18:06:55.727Z] ---> Running in 300fbdb3939f [2023-05-16T18:06:55.727Z] Removing intermediate container 300fbdb3939f [2023-05-16T18:06:55.727Z] ---> 17ca9618508e [2023-05-16T18:06:55.727Z] Step 35/36 : LABEL git_sha=237f80add07b9a5a721b48a5043d1d26a8b4dda4 [2023-05-16T18:06:55.727Z] ---> Running in 6ee41b25144c [2023-05-16T18:06:55.727Z] Removing intermediate container 6ee41b25144c [2023-05-16T18:06:55.727Z] ---> aa7909c96db5 [2023-05-16T18:06:55.727Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T18:06:55.727Z] ---> Running in e13901eeb50b [2023-05-16T18:06:55.987Z] Removing intermediate container e13901eeb50b [2023-05-16T18:06:55.987Z] ---> 0cdcf9b5d554 [2023-05-16T18:06:55.987Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T18:06:55.987Z] Successfully built 0cdcf9b5d554 [2023-05-16T18:06:55.987Z] Successfully tagged device-usb-camera:latest [Pipeline] } [2023-05-16T18:06:56.050Z] + sudo service docker restart [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-16T18:06:56.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T18:06:56.879Z] [2023-05-16T18:06:56.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:06:57.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T18:06:57.262Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T18:06:57.262Z] 5eb5b503b376: Pulling fs layer [2023-05-16T18:06:57.262Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T18:06:57.262Z] ec43610c2a17: Pulling fs layer [2023-05-16T18:06:57.262Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T18:06:57.262Z] 33b1e0a273af: Pulling fs layer [2023-05-16T18:06:57.262Z] 3a2ae6a8a46f: Waiting [2023-05-16T18:06:57.262Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T18:06:57.262Z] 2f39f015ded8: Pulling fs layer [2023-05-16T18:06:57.262Z] 33b1e0a273af: Waiting [2023-05-16T18:06:57.262Z] 2f39f015ded8: Waiting [2023-05-16T18:06:57.262Z] 5d3b04190fa2: Waiting [2023-05-16T18:06:57.262Z] 5c69ac0246d0: Verifying Checksum [2023-05-16T18:06:57.262Z] 5c69ac0246d0: Download complete [2023-05-16T18:06:57.262Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T18:06:57.262Z] 3a2ae6a8a46f: Download complete [2023-05-16T18:06:57.262Z] 33b1e0a273af: Verifying Checksum [2023-05-16T18:06:57.262Z] 33b1e0a273af: Download complete [2023-05-16T18:06:57.262Z] ec43610c2a17: Verifying Checksum [2023-05-16T18:06:57.262Z] 5d3b04190fa2: Verifying Checksum [2023-05-16T18:06:57.262Z] 5d3b04190fa2: Download complete [2023-05-16T18:06:57.262Z] ec43610c2a17: Download complete [2023-05-16T18:06:57.521Z] 5eb5b503b376: Verifying Checksum [2023-05-16T18:06:57.521Z] 5eb5b503b376: Download complete [2023-05-16T18:06:58.088Z] 2f39f015ded8: Download complete [2023-05-16T18:06:58.655Z] 5eb5b503b376: Pull complete [2023-05-16T18:06:58.655Z] 5c69ac0246d0: Pull complete [2023-05-16T18:06:59.221Z] ec43610c2a17: Pull complete [2023-05-16T18:06:59.221Z] 3a2ae6a8a46f: Pull complete [2023-05-16T18:06:59.221Z] 33b1e0a273af: Pull complete [2023-05-16T18:06:59.480Z] 5d3b04190fa2: Pull complete [2023-05-16T18:07:03.661Z] 2f39f015ded8: Pull complete [2023-05-16T18:07:03.661Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T18:07:03.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T18:07:03.662Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T18:07:03.943Z] prd-ubuntu20.04-docker-8c-8g-15763 does not seem to be running inside a container [2023-05-16T18:07:03.988Z] $ 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-249 -v /w/workspace/foundry_device-usb-camera_PR-249:/w/workspace/foundry_device-usb-camera_PR-249:rw,z -v /w/workspace/foundry_device-usb-camera_PR-249@tmp:/w/workspace/foundry_device-usb-camera_PR-249@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-16T18:07:07.794Z] $ docker top 30a4834163034ffbd561efa11915aaf109cb8c1568b5b48829a5bf01ca25e500 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:07:08.247Z] ---> job-cost.sh [2023-05-16T18:07:08.247Z] lf-activate-venv: SKIPPING [2023-05-16T18:07:08.247Z] INFO: No Stack... [2023-05-16T18:07:08.505Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T18:07:09.072Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T18:07:09.390Z] + cat /w/workspace/foundry_device-usb-camera_PR-249/archives/cost.csv [2023-05-16T18:07:09.390Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T18:07:09.430Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-249-1-stack-cost] [2023-05-16T18:07:09.435Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-249-1-stack-cost] did not exist. Created. [2023-05-16T18:07:09.435Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-249-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T18:07:09.839Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T18:07:09.894Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T18:07:09.926Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-249-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T18:07:10.024Z] $ docker stop --time=1 30a4834163034ffbd561efa11915aaf109cb8c1568b5b48829a5bf01ca25e500 [2023-05-16T18:07:11.185Z] $ docker rm -f --volumes 30a4834163034ffbd561efa11915aaf109cb8c1568b5b48829a5bf01ca25e500 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T18:07:14.446Z] provisioning config files... [2023-05-16T18:07:14.476Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config10456306709102206798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:07:14.872Z] ---> docker-login.sh [2023-05-16T18:07:14.872Z] nexus3.edgexfoundry.org:10001 [2023-05-16T18:07:15.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:07:15.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:07:15.412Z] Configure a credential helper to remove this warning. See [2023-05-16T18:07:15.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:07:15.412Z] [2023-05-16T18:07:15.412Z] Login Succeeded [2023-05-16T18:07:15.412Z] nexus3.edgexfoundry.org:10002 [2023-05-16T18:07:15.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:07:15.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:07:15.979Z] Configure a credential helper to remove this warning. See [2023-05-16T18:07:15.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:07:15.979Z] [2023-05-16T18:07:15.979Z] Login Succeeded [2023-05-16T18:07:15.979Z] nexus3.edgexfoundry.org:10003 [2023-05-16T18:07:15.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:07:16.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:07:16.249Z] Configure a credential helper to remove this warning. See [2023-05-16T18:07:16.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:07:16.249Z] [2023-05-16T18:07:16.249Z] Login Succeeded [2023-05-16T18:07:16.249Z] nexus3.edgexfoundry.org:10004 [2023-05-16T18:07:16.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:07:16.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:07:16.521Z] Configure a credential helper to remove this warning. See [2023-05-16T18:07:16.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:07:16.521Z] [2023-05-16T18:07:16.521Z] Login Succeeded [2023-05-16T18:07:16.521Z] docker.io [2023-05-16T18:07:16.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T18:07:17.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T18:07:17.064Z] Configure a credential helper to remove this warning. See [2023-05-16T18:07:17.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T18:07:17.064Z] [2023-05-16T18:07:17.064Z] Login Succeeded [2023-05-16T18:07:17.064Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T18:07:17.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T18:07:17.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T18:07:17.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T18:07:17.577Z] ========================================================= [2023-05-16T18:07:17.577Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T18:07:17.577Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:07:18.088Z] + 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-16T18:07:18.356Z] Sending build context to Docker daemon 1.116MB [2023-05-16T18:07:18.356Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T18:07:18.356Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T18:07:18.626Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T18:07:18.626Z] c41833b44d91: Pulling fs layer [2023-05-16T18:07:18.626Z] ed15518f5707: Pulling fs layer [2023-05-16T18:07:18.626Z] feae8fd75edb: Pulling fs layer [2023-05-16T18:07:18.626Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T18:07:18.626Z] 3cdef696dda3: Pulling fs layer [2023-05-16T18:07:18.626Z] 2ced38df9373: Pulling fs layer [2023-05-16T18:07:18.626Z] 58f1dce35555: Pulling fs layer [2023-05-16T18:07:18.626Z] 3cdef696dda3: Waiting [2023-05-16T18:07:18.626Z] 2ced38df9373: Waiting [2023-05-16T18:07:18.626Z] 58f1dce35555: Waiting [2023-05-16T18:07:18.626Z] 242c74f7c9fa: Waiting [2023-05-16T18:07:18.626Z] ed15518f5707: Verifying Checksum [2023-05-16T18:07:18.626Z] ed15518f5707: Download complete [2023-05-16T18:07:18.626Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T18:07:18.626Z] 242c74f7c9fa: Download complete [2023-05-16T18:07:18.626Z] 3cdef696dda3: Verifying Checksum [2023-05-16T18:07:18.626Z] 3cdef696dda3: Download complete [2023-05-16T18:07:18.626Z] c41833b44d91: Verifying Checksum [2023-05-16T18:07:18.626Z] c41833b44d91: Download complete [2023-05-16T18:07:19.596Z] c41833b44d91: Pull complete [2023-05-16T18:07:20.188Z] 58f1dce35555: Verifying Checksum [2023-05-16T18:07:20.188Z] 58f1dce35555: Download complete [2023-05-16T18:07:20.188Z] ed15518f5707: Pull complete [2023-05-16T18:07:21.157Z] feae8fd75edb: Verifying Checksum [2023-05-16T18:07:21.157Z] feae8fd75edb: Download complete [2023-05-16T18:07:21.426Z] 2ced38df9373: Verifying Checksum [2023-05-16T18:07:21.426Z] 2ced38df9373: Download complete [2023-05-16T18:07:31.638Z] feae8fd75edb: Pull complete [2023-05-16T18:07:31.638Z] 242c74f7c9fa: Pull complete [2023-05-16T18:07:31.907Z] 3cdef696dda3: Pull complete [2023-05-16T18:07:38.557Z] 2ced38df9373: Pull complete [2023-05-16T18:07:41.159Z] 58f1dce35555: Pull complete [2023-05-16T18:07:41.159Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T18:07:41.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T18:07:41.159Z] ---> fadd8f120f05 [2023-05-16T18:07:41.159Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T18:07:43.110Z] ---> Running in 31ea3ce5f4da [2023-05-16T18:07:43.110Z] Removing intermediate container 31ea3ce5f4da [2023-05-16T18:07:43.110Z] ---> 7df40145972b [2023-05-16T18:07:43.110Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T18:07:43.110Z] ---> Running in 55da50212b86 [2023-05-16T18:07:43.380Z] Removing intermediate container 55da50212b86 [2023-05-16T18:07:43.380Z] ---> 927741c564f9 [2023-05-16T18:07:43.380Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T18:07:43.380Z] ---> Running in eac4f897dd2e [2023-05-16T18:07:43.655Z] Removing intermediate container eac4f897dd2e [2023-05-16T18:07:43.655Z] ---> fdfd7e639261 [2023-05-16T18:07:43.655Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T18:07:43.923Z] ---> Running in 035c8910d93c [2023-05-16T18:07:44.190Z] Removing intermediate container 035c8910d93c [2023-05-16T18:07:44.190Z] ---> e9d1b1ed726d [2023-05-16T18:07:44.190Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T18:07:44.190Z] ---> Running in e3038ac34422 [2023-05-16T18:07:45.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T18:07:45.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T18:07:46.706Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T18:07:46.706Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T18:07:46.706Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T18:07:46.706Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T18:07:46.706Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T18:07:46.706Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T18:07:46.706Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T18:07:46.706Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T18:07:46.706Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T18:07:46.706Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T18:07:46.706Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T18:07:46.706Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T18:07:46.975Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T18:07:46.975Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T18:07:46.975Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T18:07:46.975Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T18:07:46.975Z] OK: 271 MiB in 67 packages [2023-05-16T18:07:48.387Z] Removing intermediate container e3038ac34422 [2023-05-16T18:07:48.387Z] ---> f7495f8c1f76 [2023-05-16T18:07:48.387Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T18:07:48.387Z] ---> Running in 855a44038b71 [2023-05-16T18:07:48.387Z] Removing intermediate container 855a44038b71 [2023-05-16T18:07:48.387Z] ---> 6ba7b6f55f0f [2023-05-16T18:07:48.387Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T18:07:48.972Z] ---> fdd3b6d8ee82 [2023-05-16T18:07:48.972Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T18:07:48.972Z] ---> Running in b64c2158cbc7 [2023-05-16T18:08:56.857Z] Removing intermediate container b64c2158cbc7 [2023-05-16T18:08:56.857Z] ---> aaa38e4dd0fb [2023-05-16T18:08:56.857Z] Step 11/13 : COPY . . [2023-05-16T18:08:56.857Z] ---> cd2e1867551f [2023-05-16T18:08:56.857Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T18:08:56.857Z] ---> Running in 34d38a99e16c [2023-05-16T18:08:56.857Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T18:08:56.857Z] Dload Upload Total Spent Left Speed [2023-05-16T18:08:56.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100  1062 0 0 4247 0 --:--:-- --:--:-- --:--:-- 4265 [2023-05-16T18:08:56.857Z] Removing intermediate container 34d38a99e16c [2023-05-16T18:08:56.857Z] ---> a12c98b8e22a [2023-05-16T18:08:56.857Z] Step 13/13 : RUN ${MAKE} [2023-05-16T18:08:56.857Z] ---> Running in babb231f100d [2023-05-16T18:08:56.857Z] noop [2023-05-16T18:08:56.857Z] Removing intermediate container babb231f100d [2023-05-16T18:08:56.857Z] ---> 2dd4b801ec2d [2023-05-16T18:08:56.857Z] Successfully built 2dd4b801ec2d [2023-05-16T18:08:56.857Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:08:57.357Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T18:08:57.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T18:08:57.648Z] prd-ubuntu20.04-docker-arm64-4c-16g-15764 does not seem to be running inside a container [2023-05-16T18:08:57.714Z] $ 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-16T18:08:58.870Z] $ docker top 6ac31ba0c75e431694d9751fd7dd21b80df0f4930c9d59c94ffbc3746c8521ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T18:08:59.750Z] + go version [2023-05-16T18:08:59.750Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T18:08:59.786Z] $ docker stop --time=1 6ac31ba0c75e431694d9751fd7dd21b80df0f4930c9d59c94ffbc3746c8521ac [2023-05-16T18:09:02.163Z] $ docker rm -f --volumes 6ac31ba0c75e431694d9751fd7dd21b80df0f4930c9d59c94ffbc3746c8521ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:09:03.053Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T18:09:03.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T18:09:03.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-15764 does not seem to be running inside a container [2023-05-16T18:09:03.383Z] $ 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-16T18:09:04.550Z] $ docker top 0363538706d6c62380ea980bb0033ae461cf86557347a74aca7c69c38b0c8a6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T18:09:05.444Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-16T18:09:06.148Z] + make test [2023-05-16T18:09:06.148Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T18:09:38.422Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T18:11:30.097Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T18:11:32.049Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.081s coverage: 1.8% of statements [2023-05-16T18:11:32.632Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T18:11:32.632Z] go vet ./... [2023-05-16T18:11:59.321Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T18:11:59.321Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T18:11:59.321Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T18:11:59.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T18:11:59.536Z] $ docker stop --time=1 0363538706d6c62380ea980bb0033ae461cf86557347a74aca7c69c38b0c8a6e [2023-05-16T18:12:01.387Z] $ docker rm -f --volumes 0363538706d6c62380ea980bb0033ae461cf86557347a74aca7c69c38b0c8a6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T18:12:02.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T18:12:03.141Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T18:12:03.597Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T18:12:05.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T18:12:05.762Z] + ls -al . [2023-05-16T18:12:05.762Z] total 184 [2023-05-16T18:12:05.762Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 18:09 . [2023-05-16T18:12:05.762Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:06 .. [2023-05-16T18:12:05.762Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:06 .git [2023-05-16T18:12:05.762Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:06 .github [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 18:06 .gitignore [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 18:06 .golangci.yml [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 18:06 .hadolint.yml [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 18:06 Attribution.txt [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 18:06 CHANGELOG.md [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 18:06 Dockerfile [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 18:06 GOVERNANCE.md [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 18:06 Jenkinsfile [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 18:06 LICENSE [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 18:06 Makefile [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 18:06 OWNERS.md [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 18:06 README.md [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:04 VERSION [2023-05-16T18:12:05.762Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:06 bin [2023-05-16T18:12:05.762Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:06 cmd [2023-05-16T18:12:05.762Z] -rw-r--r-- 1 jenkins jenkins 31522 May 16 18:11 coverage.out [2023-05-16T18:12:05.762Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 18:06 docker-entrypoint.sh [2023-05-16T18:12:05.762Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:06 docs [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 18:06 go.mod [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 18:06 go.sum [2023-05-16T18:12:05.762Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:06 internal [2023-05-16T18:12:05.762Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:06 snap [2023-05-16T18:12:05.762Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 18:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:12:06.371Z] + 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=237f80add07b9a5a721b48a5043d1d26a8b4dda4 --label arch=arm64 --label version=0.0.0 . [2023-05-16T18:12:06.640Z] Sending build context to Docker daemon 1.148MB [2023-05-16T18:12:06.640Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T18:12:06.640Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T18:12:06.640Z] ---> 2dd4b801ec2d [2023-05-16T18:12:06.640Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T18:12:06.910Z] ---> Running in 776b501f54b8 [2023-05-16T18:12:07.179Z] Removing intermediate container 776b501f54b8 [2023-05-16T18:12:07.179Z] ---> 5d7d03d70fbe [2023-05-16T18:12:07.179Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T18:12:07.179Z] ---> Running in 54ed138bf699 [2023-05-16T18:12:07.448Z] Removing intermediate container 54ed138bf699 [2023-05-16T18:12:07.448Z] ---> 64e8bf4a9f7e [2023-05-16T18:12:07.448Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T18:12:07.716Z] ---> Running in 9e0d73590a05 [2023-05-16T18:12:07.986Z] Removing intermediate container 9e0d73590a05 [2023-05-16T18:12:07.986Z] ---> a03bb48cacec [2023-05-16T18:12:07.986Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T18:12:07.986Z] ---> Running in 2a81581d69d1 [2023-05-16T18:12:08.264Z] Removing intermediate container 2a81581d69d1 [2023-05-16T18:12:08.264Z] ---> 7047cb835ea7 [2023-05-16T18:12:08.264Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T18:12:08.264Z] ---> Running in dd6f1683cd59 [2023-05-16T18:12:09.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T18:12:10.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T18:12:11.162Z] OK: 271 MiB in 67 packages [2023-05-16T18:12:12.130Z] Removing intermediate container dd6f1683cd59 [2023-05-16T18:12:12.131Z] ---> 1039ffb1f5d7 [2023-05-16T18:12:12.131Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T18:12:12.131Z] ---> Running in 732d3a11f461 [2023-05-16T18:12:12.406Z] Removing intermediate container 732d3a11f461 [2023-05-16T18:12:12.406Z] ---> 0ba12c1db49c [2023-05-16T18:12:12.406Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T18:12:12.674Z] ---> 8699dfaadf2f [2023-05-16T18:12:12.674Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T18:12:12.944Z] ---> Running in 2b062cc1a787 [2023-05-16T18:12:15.531Z] Removing intermediate container 2b062cc1a787 [2023-05-16T18:12:15.531Z] ---> 560db89371ea [2023-05-16T18:12:15.531Z] Step 11/36 : COPY . . [2023-05-16T18:12:16.495Z] ---> 39304f3f8ad5 [2023-05-16T18:12:16.495Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T18:12:16.495Z] ---> Running in 99eda986f6c6 [2023-05-16T18:12:17.461Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T18:12:17.461Z] Dload Upload Total Spent Left Speed [2023-05-16T18:12:17.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3227 0 --:--:-- --:--:-- --:--:-- 3237 [2023-05-16T18:12:18.323Z] Removing intermediate container 99eda986f6c6 [2023-05-16T18:12:18.323Z] ---> 17e30c43db03 [2023-05-16T18:12:18.323Z] Step 13/36 : RUN ${MAKE} [2023-05-16T18:12:18.323Z] ---> Running in 98f86886fe89 [2023-05-16T18:12:19.285Z] 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-16T18:14:56.034Z] Removing intermediate container 98f86886fe89 [2023-05-16T18:14:56.034Z] ---> e1db44a2324c [2023-05-16T18:14:56.034Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T18:14:56.034Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T18:14:56.034Z] 8766b47fe142: Pulling fs layer [2023-05-16T18:14:56.034Z] 8766b47fe142: Verifying Checksum [2023-05-16T18:14:56.034Z] 8766b47fe142: Download complete [2023-05-16T18:14:56.034Z] 8766b47fe142: Pull complete [2023-05-16T18:14:56.034Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T18:14:56.034Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T18:14:56.034Z] ---> 69d40e2cb93c [2023-05-16T18:14:56.034Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T18:14:56.034Z] 3.17: Pulling from library/alpine [2023-05-16T18:14:56.034Z] c41833b44d91: Already exists [2023-05-16T18:14:56.034Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T18:14:56.034Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T18:14:56.034Z] ---> 51e60588ff2c [2023-05-16T18:14:56.034Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T18:14:56.034Z] ---> Running in 7b91dc537759 [2023-05-16T18:14:56.034Z] Removing intermediate container 7b91dc537759 [2023-05-16T18:14:56.034Z] ---> a0b217c1e561 [2023-05-16T18:14:56.034Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T18:14:56.034Z] ---> Running in 81906b96870e [2023-05-16T18:14:56.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T18:14:56.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T18:14:56.034Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-16T18:14:56.034Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-16T18:14:56.034Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-16T18:14:56.035Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-16T18:14:56.035Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-16T18:14:56.035Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-16T18:14:56.035Z] (7/83) Installing libxcb (1.15-r0) [2023-05-16T18:14:56.035Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-16T18:14:56.035Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-16T18:14:56.035Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-16T18:14:56.035Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-16T18:14:56.035Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-16T18:14:56.035Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-16T18:14:56.035Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-16T18:14:56.035Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-16T18:14:56.035Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-16T18:14:56.035Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-16T18:14:56.035Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-16T18:14:56.035Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-16T18:14:56.035Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-16T18:14:56.035Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-16T18:14:56.035Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-16T18:14:56.035Z] (23/83) Installing glib (2.74.6-r0) [2023-05-16T18:14:56.035Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-16T18:14:56.035Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-16T18:14:56.035Z] (26/83) Installing libass (0.16.0-r1) [2023-05-16T18:14:56.035Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-16T18:14:56.035Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-16T18:14:56.035Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-16T18:14:56.035Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-16T18:14:56.035Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-16T18:14:56.035Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-16T18:14:56.035Z] (33/83) Installing libunistring (1.1-r0) [2023-05-16T18:14:56.035Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-16T18:14:56.035Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T18:14:56.035Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T18:14:56.035Z] (37/83) Installing lame (3.100-r2) [2023-05-16T18:14:56.035Z] (38/83) Installing opus (1.3.1-r1) [2023-05-16T18:14:56.035Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-16T18:14:56.035Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-16T18:14:56.035Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-16T18:14:56.035Z] (42/83) Installing orc (0.4.33-r0) [2023-05-16T18:14:56.035Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T18:14:56.035Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-16T18:14:56.035Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T18:14:56.035Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-16T18:14:56.035Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-16T18:14:56.035Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-16T18:14:56.035Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T18:14:56.035Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-16T18:14:56.035Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-16T18:14:56.035Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-16T18:14:56.035Z] (53/83) Installing libpulse (16.1-r6) [2023-05-16T18:14:56.035Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-16T18:14:56.035Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-16T18:14:56.035Z] (56/83) Installing librist (0.2.7-r0) [2023-05-16T18:14:56.035Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-16T18:14:56.035Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-16T18:14:56.035Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-16T18:14:56.035Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T18:14:56.035Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T18:14:56.035Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-16T18:14:56.035Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-16T18:14:56.035Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T18:14:56.035Z] (65/83) Installing libva (2.16.0-r0) [2023-05-16T18:14:56.035Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-16T18:14:56.035Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-16T18:14:56.035Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-16T18:14:56.035Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-16T18:14:56.035Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T18:14:56.035Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-16T18:14:56.035Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-16T18:14:56.035Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-16T18:14:56.035Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-16T18:14:56.035Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-16T18:14:56.035Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T18:14:56.035Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-16T18:14:56.035Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-16T18:14:56.035Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-16T18:14:56.035Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-16T18:14:56.035Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-16T18:14:56.035Z] (82/83) Installing kmod-libs (30-r1) [2023-05-16T18:14:56.035Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-16T18:14:56.035Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T18:14:56.035Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T18:14:56.035Z] OK: 86 MiB in 98 packages [2023-05-16T18:14:56.997Z] Removing intermediate container 81906b96870e [2023-05-16T18:14:56.997Z] ---> e449243ac037 [2023-05-16T18:14:56.997Z] Step 18/36 : WORKDIR / [2023-05-16T18:14:56.997Z] ---> Running in f262d3b3b269 [2023-05-16T18:14:57.271Z] Removing intermediate container f262d3b3b269 [2023-05-16T18:14:57.271Z] ---> 4ab8ea8123f2 [2023-05-16T18:14:57.271Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T18:14:58.684Z] ---> 889293e121fa [2023-05-16T18:14:58.684Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T18:14:59.274Z] ---> 2145f71f249e [2023-05-16T18:14:59.274Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T18:14:59.542Z] ---> 47e2143b533a [2023-05-16T18:14:59.542Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T18:15:00.127Z] ---> bc6f7375cf7e [2023-05-16T18:15:00.127Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T18:15:00.711Z] ---> e85b5dd7e77d [2023-05-16T18:15:00.711Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T18:15:00.979Z] ---> 809bc90f2337 [2023-05-16T18:15:00.979Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-16T18:15:02.394Z] ---> da685483a76e [2023-05-16T18:15:02.394Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T18:15:02.663Z] ---> Running in a33fec008c21 [2023-05-16T18:15:06.104Z] Removing intermediate container a33fec008c21 [2023-05-16T18:15:06.104Z] ---> 98553f9fc179 [2023-05-16T18:15:06.104Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T18:15:06.104Z] ---> Running in 4b7f89fd099f [2023-05-16T18:15:07.546Z] Removing intermediate container 4b7f89fd099f [2023-05-16T18:15:07.546Z] ---> b91215ccbc6b [2023-05-16T18:15:07.546Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T18:15:07.546Z] ---> Running in 4d8213addb8b [2023-05-16T18:15:08.968Z] Removing intermediate container 4d8213addb8b [2023-05-16T18:15:08.968Z] ---> 918a9ebb1bba [2023-05-16T18:15:08.968Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T18:15:08.968Z] ---> Running in 33ebcce3e04a [2023-05-16T18:15:10.915Z] Removing intermediate container 33ebcce3e04a [2023-05-16T18:15:10.915Z] ---> 4b786746b1ff [2023-05-16T18:15:10.915Z] Step 30/36 : EXPOSE 59983 [2023-05-16T18:15:10.915Z] ---> Running in 6cd1e907cc23 [2023-05-16T18:15:10.915Z] Removing intermediate container 6cd1e907cc23 [2023-05-16T18:15:10.915Z] ---> 6800274aef0e [2023-05-16T18:15:10.916Z] Step 31/36 : EXPOSE 8554 [2023-05-16T18:15:10.916Z] ---> Running in 83a4febea899 [2023-05-16T18:15:11.185Z] Removing intermediate container 83a4febea899 [2023-05-16T18:15:11.185Z] ---> 6b8eab2e5ec5 [2023-05-16T18:15:11.185Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T18:15:11.185Z] ---> Running in 9cd9ab6a80c4 [2023-05-16T18:15:11.453Z] Removing intermediate container 9cd9ab6a80c4 [2023-05-16T18:15:11.453Z] ---> 676ef52c4adb [2023-05-16T18:15:11.453Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T18:15:11.727Z] ---> Running in 60b7dbb6f7a5 [2023-05-16T18:15:11.997Z] Removing intermediate container 60b7dbb6f7a5 [2023-05-16T18:15:11.997Z] ---> 561a451c1973 [2023-05-16T18:15:11.997Z] Step 34/36 : LABEL arch=arm64 [2023-05-16T18:15:11.997Z] ---> Running in 86149d72e7ac [2023-05-16T18:15:12.272Z] Removing intermediate container 86149d72e7ac [2023-05-16T18:15:12.272Z] ---> 4ed8ec41fa25 [2023-05-16T18:15:12.272Z] Step 35/36 : LABEL git_sha=237f80add07b9a5a721b48a5043d1d26a8b4dda4 [2023-05-16T18:15:12.272Z] ---> Running in a94c3f9acf29 [2023-05-16T18:15:12.541Z] Removing intermediate container a94c3f9acf29 [2023-05-16T18:15:12.541Z] ---> d6d71d05a787 [2023-05-16T18:15:12.541Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T18:15:12.810Z] ---> Running in 6ef5845521e5 [2023-05-16T18:15:13.076Z] Removing intermediate container 6ef5845521e5 [2023-05-16T18:15:13.076Z] ---> 00ca547a9032 [2023-05-16T18:15:13.076Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T18:15:13.076Z] Successfully built 00ca547a9032 [2023-05-16T18:15:13.076Z] 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-16T18:15:13.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T18:15:13.897Z] [2023-05-16T18:15:13.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:15:14.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T18:15:14.294Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T18:15:14.294Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T18:15:14.294Z] 04944245beec: Pulling fs layer [2023-05-16T18:15:14.294Z] 699f458cf7ca: Pulling fs layer [2023-05-16T18:15:14.294Z] 765212b225bb: Pulling fs layer [2023-05-16T18:15:14.294Z] f23df028b6ca: Pulling fs layer [2023-05-16T18:15:14.294Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T18:15:14.294Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T18:15:14.294Z] 765212b225bb: Waiting [2023-05-16T18:15:14.294Z] d65c8cfc05b1: Waiting [2023-05-16T18:15:14.294Z] f23df028b6ca: Waiting [2023-05-16T18:15:14.294Z] 2437ff75d9bd: Waiting [2023-05-16T18:15:14.562Z] 04944245beec: Verifying Checksum [2023-05-16T18:15:14.562Z] 04944245beec: Download complete [2023-05-16T18:15:14.562Z] 765212b225bb: Verifying Checksum [2023-05-16T18:15:14.562Z] 765212b225bb: Download complete [2023-05-16T18:15:14.562Z] f23df028b6ca: Verifying Checksum [2023-05-16T18:15:14.562Z] f23df028b6ca: Download complete [2023-05-16T18:15:14.562Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T18:15:14.562Z] d65c8cfc05b1: Download complete [2023-05-16T18:15:14.562Z] 699f458cf7ca: Verifying Checksum [2023-05-16T18:15:14.562Z] 699f458cf7ca: Download complete [2023-05-16T18:15:15.149Z] 8998bd30e6a1: Download complete [2023-05-16T18:15:17.098Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T18:15:19.046Z] 8998bd30e6a1: Pull complete [2023-05-16T18:15:19.314Z] 04944245beec: Pull complete [2023-05-16T18:15:20.726Z] 699f458cf7ca: Pull complete [2023-05-16T18:15:20.993Z] 765212b225bb: Pull complete [2023-05-16T18:15:21.579Z] f23df028b6ca: Pull complete [2023-05-16T18:15:21.847Z] d65c8cfc05b1: Pull complete [2023-05-16T18:15:36.845Z] 2437ff75d9bd: Pull complete [2023-05-16T18:15:36.845Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T18:15:36.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T18:15:36.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T18:15:37.180Z] prd-ubuntu20.04-docker-arm64-4c-16g-15764 does not seem to be running inside a container [2023-05-16T18:15:37.248Z] $ 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-16T18:15:39.842Z] $ docker top 852ef47ecb3e654cebedb40ce5e7c9ee1206d02ef3245de5642a898b8ebd9439 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:15:40.729Z] ---> job-cost.sh [2023-05-16T18:15:40.729Z] lf-activate-venv: SKIPPING [2023-05-16T18:15:40.729Z] INFO: No Stack... [2023-05-16T18:15:41.308Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T18:15:41.889Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T18:15:42.549Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-05-16T18:15:42.549Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T18:15:42.633Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-249-1-stack-cost] [2023-05-16T18:15:42.637Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-249-1-stack-cost] did not exist. Created. [2023-05-16T18:15:42.638Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-249-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T18:15:43.054Z] /w/workspace/device-usb-camera/1@tmp/durable-3a46dd63/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T18:15:43.991Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T18:15:44.029Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T18:15:44.075Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T18:15:44.092Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-249-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T18:15:44.169Z] $ docker stop --time=1 852ef47ecb3e654cebedb40ce5e7c9ee1206d02ef3245de5642a898b8ebd9439 [2023-05-16T18:15:47.351Z] $ docker rm -f --volumes 852ef47ecb3e654cebedb40ce5e7c9ee1206d02ef3245de5642a898b8ebd9439 [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-16T18:15:48.403Z] provisioning config files... [2023-05-16T18:15:48.412Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-249@tmp/config2444511441433375909tmp [Pipeline] { [Pipeline] sh [2023-05-16T18:15:48.748Z] + set +x [2023-05-16T18:15:48.748Z] + curl -s https://codecov.io/bash [2023-05-16T18:15:48.748Z] + bash -s -- [2023-05-16T18:15:48.748Z] [2023-05-16T18:15:48.748Z] _____ _ [2023-05-16T18:15:48.748Z] / ____| | | [2023-05-16T18:15:48.748Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T18:15:48.748Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T18:15:48.748Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T18:15:48.748Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T18:15:48.748Z] Bash-1.0.6 [2023-05-16T18:15:48.748Z] [2023-05-16T18:15:48.748Z] [2023-05-16T18:15:48.748Z] ==> git version 2.25.1 found [2023-05-16T18:15:48.748Z] ==> 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-16T18:15:48.748Z] Release-Date: 2020-01-08 [2023-05-16T18:15:48.749Z] 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-16T18:15:48.749Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T18:15:48.749Z] ==> Jenkins CI detected. [2023-05-16T18:15:48.749Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-249 [2023-05-16T18:15:48.749Z] project root: . [2023-05-16T18:15:48.749Z] --> token set from env [2023-05-16T18:15:48.749Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T18:15:48.749Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T18:15:48.749Z] ==> Python coveragepy not found [2023-05-16T18:15:48.749Z] ==> Searching for coverage reports in: [2023-05-16T18:15:48.749Z] + . [2023-05-16T18:15:49.010Z] -> Found 1 reports [2023-05-16T18:15:49.010Z] ==> Detecting git/mercurial file structure [2023-05-16T18:15:49.010Z] ==> Reading reports [2023-05-16T18:15:49.010Z] + ./coverage.out bytes=31522 [2023-05-16T18:15:49.010Z] ==> Appending adjustments [2023-05-16T18:15:49.010Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T18:15:49.010Z] + Found adjustments [2023-05-16T18:15:49.010Z] ==> Gzipping contents [2023-05-16T18:15:49.010Z] 8.0K /tmp/codecov.4dsFDg.gz [2023-05-16T18:15:49.010Z] ==> Uploading reports [2023-05-16T18:15:49.010Z] url: https://codecov.io [2023-05-16T18:15:49.010Z] query: branch=PR-249&commit=237f80add07b9a5a721b48a5043d1d26a8b4dda4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-249%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=249&job=&cmd_args= [2023-05-16T18:15:49.011Z] -> Pinging Codecov [2023-05-16T18:15:49.011Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-249&commit=237f80add07b9a5a721b48a5043d1d26a8b4dda4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-249%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=249&job=&cmd_args= [2023-05-16T18:15:49.272Z] -> Uploading to [2023-05-16T18:15:49.272Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/73D8F5FF140700D3E01443B452E23636/237f80add07b9a5a721b48a5043d1d26a8b4dda4/82447436-40b2-4376-bc71-340b90603b51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T181549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3521bf59afabd92f2f711d0cbaca2336081fb742f8297c5486799be737c0484e [2023-05-16T18:15:49.272Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T18:15:49.272Z] Dload Upload Total Spent Left Speed [2023-05-16T18:15:49.533Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 17636 --:--:-- --:--:-- --:--:-- 17636 [2023-05-16T18:15:49.533Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/237f80add07b9a5a721b48a5043d1d26a8b4dda4 [Pipeline] } [2023-05-16T18:15:49.565Z] 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-16T18:15:51.361Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-249/archives ] [2023-05-16T18:15:51.361Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-249/archives [2023-05-16T18:15:51.361Z] total 16 [2023-05-16T18:15:51.361Z] drwxr-xr-x 3 root root 4096 May 16 18:07 . [2023-05-16T18:15:51.361Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 18:07 .. [2023-05-16T18:15:51.361Z] drwxr-xr-x 2 root root 4096 May 16 18:07 cost [2023-05-16T18:15:51.361Z] -rw-r--r-- 1 root root 89 May 16 18:07 cost.csv [2023-05-16T18:15:51.361Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-249/archives [2023-05-16T18:15:51.361Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-249/archives [2023-05-16T18:15:51.361Z] total 16 [2023-05-16T18:15:51.361Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:07 . [2023-05-16T18:15:51.361Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 18:07 .. [2023-05-16T18:15:51.361Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 18:07 cost [2023-05-16T18:15:51.361Z] -rw-r--r-- 1 jenkins jenkins 89 May 16 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:15:51.691Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:15:52.581Z] ---> package-listing.sh [2023-05-16T18:15:52.581Z] ++ facter osfamily [2023-05-16T18:15:52.581Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T18:15:52.843Z] + OS_FAMILY=debian [2023-05-16T18:15:52.843Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-249 [2023-05-16T18:15:52.843Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T18:15:52.843Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T18:15:52.843Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T18:15:52.843Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T18:15:52.843Z] + '[' /w/workspace/foundry_device-usb-camera_PR-249 ']' [2023-05-16T18:15:52.843Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T18:15:52.843Z] + case "${OS_FAMILY}" in [2023-05-16T18:15:52.843Z] + dpkg -l [2023-05-16T18:15:52.843Z] + grep '^ii' [2023-05-16T18:15:52.843Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T18:15:52.843Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T18:15:52.843Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T18:15:52.843Z] + '[' /w/workspace/foundry_device-usb-camera_PR-249 ']' [2023-05-16T18:15:52.843Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-249/archives/ [2023-05-16T18:15:52.843Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-249/archives/ [Pipeline] echo [2023-05-16T18:15:52.877Z] 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-249/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T18:15:53.173Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T18:15:53.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T18:15:53.804Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T18:15:53.956Z] prd-ubuntu20.04-docker-8c-8g-15763 does not seem to be running inside a container [2023-05-16T18:15:54.005Z] $ 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-249/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-249 -v /w/workspace/foundry_device-usb-camera_PR-249:/w/workspace/foundry_device-usb-camera_PR-249:rw,z -v /w/workspace/foundry_device-usb-camera_PR-249@tmp:/w/workspace/foundry_device-usb-camera_PR-249@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-16T18:15:54.208Z] $ docker top 000538d20be5e816d218561f63ef545354b9076dfe265df22d09283786c925fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T18:15:54.588Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T18:15:54.900Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T18:15:55.214Z] + ls /var/log/sa-host [2023-05-16T18:15:55.214Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T18:15:55.368Z] provisioning config files... [2023-05-16T18:15:55.378Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-249@tmp/config45682558466245016tmp [Pipeline] { [Pipeline] echo [2023-05-16T18:15:55.440Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:15:55.750Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T18:15:55.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:15:56.179Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T18:15:56.211Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:15:56.522Z] ---> sudo-logs.sh [2023-05-16T18:15:56.523Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T18:15:56.613Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:15:56.924Z] ---> job-cost.sh [2023-05-16T18:15:56.925Z] lf-activate-venv: SKIPPING [2023-05-16T18:15:56.925Z] DEBUG: total: 0.2199999988079071 [2023-05-16T18:15:56.925Z] INFO: Retrieving Stack Cost... [2023-05-16T18:15:57.185Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T18:15:57.755Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T18:15:57.792Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T18:15:58.103Z] ---> logs-deploy.sh [2023-05-16T18:15:58.103Z] lf-activate-venv: SKIPPING [2023-05-16T18:15:58.103Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-249/1 [2023-05-16T18:15:58.103Z] INFO: archiving workspace using pattern(s): [2023-05-16T18:15:59.042Z] Archives upload complete. [2023-05-16T18:15:59.042Z] INFO: archiving logs to Nexus