Pull request #248 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 397f74a9d669c0142bc715997d2769cba4f3ecff+7a1cf3250193716800d70f0cf90cebef309e38f0 (3e45bb799ab291dc96019a5d571627c05ce2bc7e) 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-ssh2261712000244283188.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-ssh2682253927879686729.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-248/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-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4995018774285952045.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-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11681864301389354077.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-ssh3536878191231336550.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-248/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-248/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4246175054072210258.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 ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-15536’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15533’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15551’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15534’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15552 in /w/workspace/foundry_device-usb-camera_PR-248 [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-248 # 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/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7a1cf3250193716800d70f0cf90cebef309e38f0 into PR head commit 397f74a9d669c0142bc715997d2769cba4f3ecff Merge succeeded, producing 397f74a9d669c0142bc715997d2769cba4f3ecff Checking out Revision 397f74a9d669c0142bc715997d2769cba4f3ecff (PR-248) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T10:06:40.620Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T10:06:40.815Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T10:06:40.932Z] ========================================================= [2023-05-16T10:06:40.932Z] EdgeX Global Pipelines Version Info [2023-05-16T10:06:40.932Z] ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f 397f74a9d669c0142bc715997d2769cba4f3ecff # 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 7a1cf3250193716800d70f0cf90cebef309e38f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 397f74a9d669c0142bc715997d2769cba4f3ecff # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:06:41.705Z] ------------------- [2023-05-16T10:06:41.705Z] stable info: [2023-05-16T10:06:41.705Z] ------------------- [2023-05-16T10:06:41.705Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T10:06:41.705Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:06:41.705Z] Message: update stable to v1.0.249 [2023-05-16T10:06:42.279Z] ------------------- [2023-05-16T10:06:42.279Z] experimental info: [2023-05-16T10:06:42.279Z] ------------------- [2023-05-16T10:06:42.279Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T10:06:42.279Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:06:42.279Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T10:06:42.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-16T10:06:42.640Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-16T10:06:42.689Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T10:06:42.734Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T10:06:42.775Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T10:06:42.816Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T10:06:42.865Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T10:06:42.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T10:06:42.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T10:06:43.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T10:06:43.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T10:06:43.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-16T10:06:43.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T10:06:43.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T10:06:43.232Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:06:43.282Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:06:43.325Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:06:43.363Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:06:43.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T10:06:43.443Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T10:06:43.489Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T10:06:43.538Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T10:06:43.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T10:06:43.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T10:06:43.688Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T10:06:43.732Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T10:06:43.769Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T10:06:43.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-248 [Pipeline] echo [2023-05-16T10:06:43.862Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-248 [Pipeline] echo [2023-05-16T10:06:43.901Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-248 [Pipeline] echo [2023-05-16T10:06:43.950Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 397f74a9d669c0142bc715997d2769cba4f3ecff [Pipeline] echo [2023-05-16T10:06:43.995Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 397f74a [Pipeline] echo [2023-05-16T10:06:44.046Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:06:44.165Z] provisioning config files... [2023-05-16T10:06:44.207Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config10987897820684754377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:06:44.552Z] ---> docker-login.sh [2023-05-16T10:06:44.552Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:06:44.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:06:44.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:06:44.812Z] Configure a credential helper to remove this warning. See [2023-05-16T10:06:44.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:06:44.812Z] [2023-05-16T10:06:44.812Z] Login Succeeded [2023-05-16T10:06:44.812Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:06:44.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:06:44.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:06:44.812Z] Configure a credential helper to remove this warning. See [2023-05-16T10:06:44.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:06:44.812Z] [2023-05-16T10:06:44.812Z] Login Succeeded [2023-05-16T10:06:44.812Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:06:45.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:06:45.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:06:45.087Z] Configure a credential helper to remove this warning. See [2023-05-16T10:06:45.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:06:45.087Z] [2023-05-16T10:06:45.087Z] Login Succeeded [2023-05-16T10:06:45.087Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:06:45.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:06:45.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:06:45.087Z] Configure a credential helper to remove this warning. See [2023-05-16T10:06:45.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:06:45.087Z] [2023-05-16T10:06:45.087Z] Login Succeeded [2023-05-16T10:06:45.087Z] docker.io [2023-05-16T10:06:45.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:06:45.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:06:45.349Z] Configure a credential helper to remove this warning. See [2023-05-16T10:06:45.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:06:45.349Z] [2023-05-16T10:06:45.349Z] Login Succeeded [2023-05-16T10:06:45.349Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:06:45.383Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T10:06:46.045Z] + git rev-list -1 --merges 397f74a9d669c0142bc715997d2769cba4f3ecff~1..397f74a9d669c0142bc715997d2769cba4f3ecff [Pipeline] echo [2023-05-16T10:06:46.115Z] -----------> git rev-list -1 --merges 397f74a9d669c0142bc715997d2769cba4f3ecff~1..397f74a9d669c0142bc715997d2769cba4f3ecff 397f74a9d669c0142bc715997d2769cba4f3ecff [false] [Pipeline] sh [2023-05-16T10:06:46.428Z] + git log --format=format:%s -1 397f74a9d669c0142bc715997d2769cba4f3ecff [Pipeline] echo [2023-05-16T10:06:46.467Z] ========================================================= [2023-05-16T10:06:46.467Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T10:06:46.467Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:06:46.926Z] + git log --format=format:%s -1 397f74a9d669c0142bc715997d2769cba4f3ecff [Pipeline] echo [2023-05-16T10:06:46.969Z] [semverPrep] GIT_COMMIT: 397f74a9d669c0142bc715997d2769cba4f3ecff, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo [2023-05-16T10:06:47.002Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T10:06:47.382Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T10:06:47.382Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T10:06:47.382Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T10:06:47.382Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T10:06:47.382Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-05-16T10:06:47.382Z] -a /etc/ssh/ssh_known_hosts [2023-05-16T10:06:47.382Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:06:47.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:06:47.854Z] [2023-05-16T10:06:47.854Z] 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-16T10:06:48.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:06:48.510Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T10:06:48.510Z] b85a868b505f: Pulling fs layer [2023-05-16T10:06:48.510Z] e2be974225ed: Pulling fs layer [2023-05-16T10:06:48.510Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T10:06:48.510Z] 988bab9f4d93: Pulling fs layer [2023-05-16T10:06:48.510Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T10:06:48.510Z] eaf3925da568: Pulling fs layer [2023-05-16T10:06:48.510Z] bab4dde63d76: Pulling fs layer [2023-05-16T10:06:48.510Z] bde34c3a00c8: Pulling fs layer [2023-05-16T10:06:48.510Z] b352a97aabf1: Pulling fs layer [2023-05-16T10:06:48.510Z] 4872d77fe225: Pulling fs layer [2023-05-16T10:06:48.510Z] 5851b861e8e6: Pulling fs layer [2023-05-16T10:06:48.510Z] bab4dde63d76: Waiting [2023-05-16T10:06:48.510Z] 4872d77fe225: Waiting [2023-05-16T10:06:48.510Z] 5851b861e8e6: Waiting [2023-05-16T10:06:48.510Z] 988bab9f4d93: Waiting [2023-05-16T10:06:48.510Z] 1469e6f7b9e6: Waiting [2023-05-16T10:06:48.510Z] eaf3925da568: Waiting [2023-05-16T10:06:48.510Z] b352a97aabf1: Waiting [2023-05-16T10:06:48.510Z] e2be974225ed: Verifying Checksum [2023-05-16T10:06:48.510Z] e2be974225ed: Download complete [2023-05-16T10:06:48.510Z] 988bab9f4d93: Verifying Checksum [2023-05-16T10:06:48.510Z] 988bab9f4d93: Download complete [2023-05-16T10:06:48.510Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T10:06:48.510Z] 1469e6f7b9e6: Download complete [2023-05-16T10:06:48.510Z] eaf3925da568: Verifying Checksum [2023-05-16T10:06:48.510Z] eaf3925da568: Download complete [2023-05-16T10:06:48.510Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T10:06:48.510Z] 339a4e72a1f5: Download complete [2023-05-16T10:06:48.510Z] bde34c3a00c8: Verifying Checksum [2023-05-16T10:06:48.510Z] bde34c3a00c8: Download complete [2023-05-16T10:06:48.778Z] b352a97aabf1: Download complete [2023-05-16T10:06:48.778Z] 4872d77fe225: Verifying Checksum [2023-05-16T10:06:48.778Z] 4872d77fe225: Download complete [2023-05-16T10:06:48.778Z] 5851b861e8e6: Verifying Checksum [2023-05-16T10:06:48.778Z] 5851b861e8e6: Download complete [2023-05-16T10:06:48.778Z] b85a868b505f: Verifying Checksum [2023-05-16T10:06:48.778Z] b85a868b505f: Download complete [2023-05-16T10:06:49.037Z] bab4dde63d76: Verifying Checksum [2023-05-16T10:06:49.037Z] bab4dde63d76: Download complete [2023-05-16T10:06:49.973Z] b85a868b505f: Pull complete [2023-05-16T10:06:49.973Z] e2be974225ed: Pull complete [2023-05-16T10:06:50.543Z] 339a4e72a1f5: Pull complete [2023-05-16T10:06:50.543Z] 988bab9f4d93: Pull complete [2023-05-16T10:06:50.805Z] 1469e6f7b9e6: Pull complete [2023-05-16T10:06:50.805Z] eaf3925da568: Pull complete [2023-05-16T10:06:52.727Z] bab4dde63d76: Pull complete [2023-05-16T10:06:52.727Z] bde34c3a00c8: Pull complete [2023-05-16T10:06:52.727Z] b352a97aabf1: Pull complete [2023-05-16T10:06:52.727Z] 4872d77fe225: Pull complete [2023-05-16T10:06:52.988Z] 5851b861e8e6: Pull complete [2023-05-16T10:06:52.988Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T10:06:52.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:06:52.988Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:06:53.248Z] prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container [2023-05-16T10:06:53.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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-16T10:06:55.998Z] $ docker top d366235d04344028feda54164a6394c1cefd8be9aae8032b7d6a69be2cd1d458 -eo pid,comm [2023-05-16T10:06:56.052Z] 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-16T10:06:56.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T10:06:56.187Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:06:56.187Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:06:56.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:06:56.315Z] $ docker exec d366235d04344028feda54164a6394c1cefd8be9aae8032b7d6a69be2cd1d458 ssh-agent [2023-05-16T10:06:56.436Z] SSH_AUTH_SOCK=/tmp/ssh-bZma1FzB3axt/agent.32 [2023-05-16T10:06:56.436Z] SSH_AGENT_PID=38 [2023-05-16T10:06:56.445Z] Running ssh-add (command line suppressed) [2023-05-16T10:06:56.556Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_16863145585208017944.key (/w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_16863145585208017944.key) [2023-05-16T10:06:56.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:06:56.905Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T10:06:56.935Z] $ docker exec --env ******** --env ******** d366235d04344028feda54164a6394c1cefd8be9aae8032b7d6a69be2cd1d458 ssh-agent -k [2023-05-16T10:06:57.025Z] unset SSH_AUTH_SOCK; [2023-05-16T10:06:57.026Z] unset SSH_AGENT_PID; [2023-05-16T10:06:57.027Z] echo Agent pid 38 killed; [2023-05-16T10:06:57.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T10:06:57.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:06:57.117Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:06:57.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:06:57.241Z] $ docker exec d366235d04344028feda54164a6394c1cefd8be9aae8032b7d6a69be2cd1d458 ssh-agent [2023-05-16T10:06:57.349Z] SSH_AUTH_SOCK=/tmp/ssh-sXG81OZEIFCL/agent.70 [2023-05-16T10:06:57.349Z] SSH_AGENT_PID=76 [2023-05-16T10:06:57.354Z] Running ssh-add (command line suppressed) [2023-05-16T10:06:57.457Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_8355097808434007043.key (/w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_8355097808434007043.key) [2023-05-16T10:06:57.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:06:57.803Z] + git semver init [2023-05-16T10:06:58.065Z] 2023-05-16 10:06:57,971 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T10:06:58.065Z] 2023-05-16 10:06:57,972 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-248/.semver [2023-05-16T10:06:58.065Z] 2023-05-16 10:06:57,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-248/.semver [2023-05-16T10:06:58.065Z] 2023-05-16 10:06:57,973 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-248/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-248, universal_newlines=False, shell=None, istream=None) [2023-05-16T10:06:59.005Z] 2023-05-16 10:06:58,642 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-248/.git/info/exclude [2023-05-16T10:06:59.005Z] 2023-05-16 10:06:58,642 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 with force:False [2023-05-16T10:06:59.005Z] 2023-05-16 10:06:58,642 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 [2023-05-16T10:06:59.005Z] 2023-05-16 10:06:58,645 [execute] INFO git cat-file --batch-check [2023-05-16T10:06:59.005Z] 2023-05-16 10:06:58,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-248/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:06:59.005Z] 2023-05-16 10:06:58,650 [execute] INFO git cat-file --batch [2023-05-16T10:06:59.005Z] 2023-05-16 10:06:58,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-248/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:06:59.005Z] 2023-05-16 10:06:58,657 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 [2023-05-16T10:06:59.005Z] 0.0.0 [Pipeline] } [2023-05-16T10:06:59.038Z] $ docker exec --env ******** --env ******** d366235d04344028feda54164a6394c1cefd8be9aae8032b7d6a69be2cd1d458 ssh-agent -k [2023-05-16T10:06:59.138Z] unset SSH_AUTH_SOCK; [2023-05-16T10:06:59.139Z] unset SSH_AGENT_PID; [2023-05-16T10:06:59.139Z] echo Agent pid 76 killed; [2023-05-16T10:06:59.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T10:06:59.675Z] + git semver [Pipeline] } [2023-05-16T10:06:59.987Z] $ docker stop --time=1 d366235d04344028feda54164a6394c1cefd8be9aae8032b7d6a69be2cd1d458 [2023-05-16T10:07:01.282Z] $ docker rm -f --volumes d366235d04344028feda54164a6394c1cefd8be9aae8032b7d6a69be2cd1d458 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:07:01.693Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T10:07:01.974Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T10:07:01.998Z] [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-16T10:07:02.638Z] provisioning config files... [2023-05-16T10:07:02.649Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config3100681746674979094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:03.007Z] ---> docker-login.sh [2023-05-16T10:07:03.007Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:07:03.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:03.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:03.007Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:03.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:03.007Z] [2023-05-16T10:07:03.007Z] Login Succeeded [2023-05-16T10:07:03.007Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:07:03.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:03.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:03.007Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:03.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:03.007Z] [2023-05-16T10:07:03.007Z] Login Succeeded [2023-05-16T10:07:03.007Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:07:03.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:03.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:03.267Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:03.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:03.267Z] [2023-05-16T10:07:03.267Z] Login Succeeded [2023-05-16T10:07:03.267Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:07:03.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:03.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:03.267Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:03.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:03.267Z] [2023-05-16T10:07:03.267Z] Login Succeeded [2023-05-16T10:07:03.267Z] docker.io [2023-05-16T10:07:03.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:07:03.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:07:03.529Z] Configure a credential helper to remove this warning. See [2023-05-16T10:07:03.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:07:03.529Z] [2023-05-16T10:07:03.529Z] Login Succeeded [2023-05-16T10:07:03.529Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:07:03.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:07:03.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:07:03.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:07:03.862Z] ========================================================= [2023-05-16T10:07:03.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T10:07:03.862Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:07:04.369Z] + 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-16T10:07:04.370Z] Sending build context to Docker daemon 1.853MB [2023-05-16T10:07:04.370Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:07:04.370Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T10:07:04.370Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T10:07:04.370Z] f56be85fc22e: Pulling fs layer [2023-05-16T10:07:04.370Z] 85791d961cd3: Pulling fs layer [2023-05-16T10:07:04.370Z] d694b5ae8c79: Pulling fs layer [2023-05-16T10:07:04.370Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T10:07:04.370Z] 4d19c01a9841: Pulling fs layer [2023-05-16T10:07:04.370Z] 9325e15d5711: Pulling fs layer [2023-05-16T10:07:04.370Z] 556b6ee489ea: Pulling fs layer [2023-05-16T10:07:04.370Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T10:07:04.370Z] 9f32a84ed3da: Waiting [2023-05-16T10:07:04.370Z] 4d19c01a9841: Waiting [2023-05-16T10:07:04.370Z] 9325e15d5711: Waiting [2023-05-16T10:07:04.370Z] c5a4b2cf53e6: Waiting [2023-05-16T10:07:04.370Z] 556b6ee489ea: Waiting [2023-05-16T10:07:04.370Z] 85791d961cd3: Verifying Checksum [2023-05-16T10:07:04.370Z] 85791d961cd3: Download complete [2023-05-16T10:07:04.646Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T10:07:04.646Z] 9f32a84ed3da: Download complete [2023-05-16T10:07:04.646Z] 4d19c01a9841: Verifying Checksum [2023-05-16T10:07:04.646Z] 4d19c01a9841: Download complete [2023-05-16T10:07:04.646Z] f56be85fc22e: Verifying Checksum [2023-05-16T10:07:04.646Z] f56be85fc22e: Download complete [2023-05-16T10:07:04.646Z] 9325e15d5711: Verifying Checksum [2023-05-16T10:07:04.646Z] 9325e15d5711: Download complete [2023-05-16T10:07:04.907Z] f56be85fc22e: Pull complete [2023-05-16T10:07:05.171Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T10:07:05.171Z] c5a4b2cf53e6: Download complete [2023-05-16T10:07:05.171Z] d694b5ae8c79: Verifying Checksum [2023-05-16T10:07:05.171Z] d694b5ae8c79: Download complete [2023-05-16T10:07:05.171Z] 85791d961cd3: Pull complete [2023-05-16T10:07:05.429Z] 556b6ee489ea: Verifying Checksum [2023-05-16T10:07:05.429Z] 556b6ee489ea: Download complete [2023-05-16T10:07:08.726Z] d694b5ae8c79: Pull complete [2023-05-16T10:07:08.726Z] 9f32a84ed3da: Pull complete [2023-05-16T10:07:08.727Z] 4d19c01a9841: Pull complete [2023-05-16T10:07:08.985Z] 9325e15d5711: Pull complete [2023-05-16T10:07:11.522Z] 556b6ee489ea: Pull complete [2023-05-16T10:07:12.462Z] c5a4b2cf53e6: Pull complete [2023-05-16T10:07:12.462Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T10:07:12.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T10:07:12.462Z] ---> c4be618373d6 [2023-05-16T10:07:12.462Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:07:17.433Z] Still waiting to schedule task [2023-05-16T10:07:17.434Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:07:19.048Z] ---> Running in fce6240731d5 [2023-05-16T10:07:19.048Z] Removing intermediate container fce6240731d5 [2023-05-16T10:07:19.048Z] ---> 52e2142bd22e [2023-05-16T10:07:19.048Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:07:19.048Z] ---> Running in 10586a975739 [2023-05-16T10:07:19.308Z] Removing intermediate container 10586a975739 [2023-05-16T10:07:19.308Z] ---> f057d47b9220 [2023-05-16T10:07:19.308Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T10:07:19.568Z] ---> Running in 14db64cdd2f7 [2023-05-16T10:07:19.828Z] Removing intermediate container 14db64cdd2f7 [2023-05-16T10:07:19.828Z] ---> bd898056ca3a [2023-05-16T10:07:19.828Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T10:07:19.828Z] ---> Running in 4706c10d2bbc [2023-05-16T10:07:19.828Z] Removing intermediate container 4706c10d2bbc [2023-05-16T10:07:19.828Z] ---> 90e698e2826c [2023-05-16T10:07:19.828Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:07:19.828Z] ---> Running in 0e2f502c7e6a [2023-05-16T10:07:20.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:07:20.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:07:20.656Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T10:07:20.656Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T10:07:20.656Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T10:07:20.656Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T10:07:20.656Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T10:07:20.656Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T10:07:20.656Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T10:07:20.656Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T10:07:20.656Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T10:07:20.656Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T10:07:20.917Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T10:07:20.917Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T10:07:20.917Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T10:07:20.917Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T10:07:20.917Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:07:20.917Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T10:07:20.917Z] OK: 272 MiB in 67 packages [2023-05-16T10:07:21.487Z] Removing intermediate container 0e2f502c7e6a [2023-05-16T10:07:21.487Z] ---> 21c0284881f9 [2023-05-16T10:07:21.487Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T10:07:21.487Z] ---> Running in 7997f31fcd5b [2023-05-16T10:07:21.748Z] Removing intermediate container 7997f31fcd5b [2023-05-16T10:07:21.748Z] ---> 31c517eabdd5 [2023-05-16T10:07:21.749Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T10:07:21.749Z] ---> 465d749095f0 [2023-05-16T10:07:21.749Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:07:21.749Z] ---> Running in 0fc59ce0ac31 [2023-05-16T10:07:53.900Z] Removing intermediate container 0fc59ce0ac31 [2023-05-16T10:07:53.900Z] ---> c9da764b0345 [2023-05-16T10:07:53.900Z] Step 11/13 : COPY . . [2023-05-16T10:07:53.900Z] ---> c2b15633328f [2023-05-16T10:07:53.900Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T10:07:53.900Z] ---> Running in b8673fd8dd6b [2023-05-16T10:07:53.900Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:07:53.900Z] Dload Upload Total Spent Left Speed [2023-05-16T10:07:53.900Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7372 0 --:--:-- --:--:-- --:--:-- 7426 [2023-05-16T10:07:53.900Z] Removing intermediate container b8673fd8dd6b [2023-05-16T10:07:53.900Z] ---> dbafdd0fc619 [2023-05-16T10:07:53.900Z] Step 13/13 : RUN ${MAKE} [2023-05-16T10:07:53.900Z] ---> Running in bae0260ef33d [2023-05-16T10:07:53.900Z] noop [2023-05-16T10:07:53.900Z] Removing intermediate container bae0260ef33d [2023-05-16T10:07:53.900Z] ---> 288317f82272 [2023-05-16T10:07:53.900Z] Successfully built 288317f82272 [2023-05-16T10:07:53.900Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:07:54.351Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:07:54.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:07:54.503Z] prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container [2023-05-16T10:07:54.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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-16T10:07:54.863Z] $ docker top e019a908ce37badde025889ff0391c77ebc0613bf46e944fd2ff13fbe71d4591 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:07:55.244Z] + go version [2023-05-16T10:07:55.244Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T10:07:55.281Z] $ docker stop --time=1 e019a908ce37badde025889ff0391c77ebc0613bf46e944fd2ff13fbe71d4591 [2023-05-16T10:07:56.807Z] $ docker rm -f --volumes e019a908ce37badde025889ff0391c77ebc0613bf46e944fd2ff13fbe71d4591 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:07:57.578Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:07:57.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:07:57.871Z] prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container [2023-05-16T10:07:57.908Z] $ 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-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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-16T10:07:58.241Z] $ docker top 168cfcdd4244bb13274eeccadf5d474d3d532c40aa3603804281dfed0fbb1d9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:07:58.635Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-248 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:07:59.000Z] + make test [2023-05-16T10:07:59.000Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:08:04.273Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T10:08:14.242Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T10:08:14.242Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.8% of statements [2023-05-16T10:08:20.962Z] go vet ./... [2023-05-16T10:08:25.217Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:08:25.217Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:08:25.217Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:08:25.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:08:25.307Z] $ docker stop --time=1 168cfcdd4244bb13274eeccadf5d474d3d532c40aa3603804281dfed0fbb1d9a [2023-05-16T10:08:28.576Z] $ docker rm -f --volumes 168cfcdd4244bb13274eeccadf5d474d3d532c40aa3603804281dfed0fbb1d9a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:08:29.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:08:29.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T10:08:30.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:08:30.530Z] + ls -al . [2023-05-16T10:08:30.530Z] total 188 [2023-05-16T10:08:30.530Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:07 . [2023-05-16T10:08:30.530Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:06 .. [2023-05-16T10:08:30.530Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:06 .git [2023-05-16T10:08:30.530Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:06 .github [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 10:06 .gitignore [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:06 .golangci.yml [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 10:06 .hadolint.yml [2023-05-16T10:08:30.530Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:06 .semver [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 10:06 Attribution.txt [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 10:06 CHANGELOG.md [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 10:06 Dockerfile [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 10:06 GOVERNANCE.md [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 10:06 Jenkinsfile [2023-05-16T10:08:30.530Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:06 LICENSE [2023-05-16T10:08:30.531Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 10:06 Makefile [2023-05-16T10:08:30.531Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 10:06 OWNERS.md [2023-05-16T10:08:30.531Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 10:06 README.md [2023-05-16T10:08:30.531Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:07 VERSION [2023-05-16T10:08:30.531Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:06 bin [2023-05-16T10:08:30.531Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:06 cmd [2023-05-16T10:08:30.531Z] -rw-r--r-- 1 jenkins jenkins 31521 May 16 10:08 coverage.out [2023-05-16T10:08:30.531Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 10:06 docker-entrypoint.sh [2023-05-16T10:08:30.531Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:06 docs [2023-05-16T10:08:30.531Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 10:06 go.mod [2023-05-16T10:08:30.531Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 10:06 go.sum [2023-05-16T10:08:30.531Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:06 internal [2023-05-16T10:08:30.531Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:06 snap [2023-05-16T10:08:30.531Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:08:30.940Z] + 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=397f74a9d669c0142bc715997d2769cba4f3ecff --label arch=amd64 --label version=0.0.0 . [2023-05-16T10:08:30.940Z] Sending build context to Docker daemon 1.886MB [2023-05-16T10:08:30.940Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:08:30.940Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T10:08:30.940Z] ---> 288317f82272 [2023-05-16T10:08:30.940Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:08:30.940Z] ---> Running in 751802c03124 [2023-05-16T10:08:31.199Z] Removing intermediate container 751802c03124 [2023-05-16T10:08:31.199Z] ---> 4887936a40ca [2023-05-16T10:08:31.199Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:08:31.199Z] ---> Running in f72a29b23d63 [2023-05-16T10:08:31.199Z] Removing intermediate container f72a29b23d63 [2023-05-16T10:08:31.199Z] ---> b6e7c2dfbaa9 [2023-05-16T10:08:31.199Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T10:08:31.199Z] ---> Running in 5b8a314570ef [2023-05-16T10:08:31.199Z] Removing intermediate container 5b8a314570ef [2023-05-16T10:08:31.199Z] ---> d188f6edefaf [2023-05-16T10:08:31.199Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T10:08:31.199Z] ---> Running in 3d79af0921b6 [2023-05-16T10:08:31.459Z] Removing intermediate container 3d79af0921b6 [2023-05-16T10:08:31.459Z] ---> ffa40ee764cf [2023-05-16T10:08:31.459Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:08:31.459Z] ---> Running in d87101dc795b [2023-05-16T10:08:31.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:08:31.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:08:32.085Z] OK: 272 MiB in 67 packages [2023-05-16T10:08:32.355Z] Removing intermediate container d87101dc795b [2023-05-16T10:08:32.355Z] ---> e5d6c7bc5031 [2023-05-16T10:08:32.355Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T10:08:32.355Z] ---> Running in 88b4db6bdf35 [2023-05-16T10:08:32.355Z] Removing intermediate container 88b4db6bdf35 [2023-05-16T10:08:32.355Z] ---> f798752b603e [2023-05-16T10:08:32.355Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T10:08:32.616Z] ---> 714a152a5ce2 [2023-05-16T10:08:32.616Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:08:32.616Z] ---> Running in 2d0333a26912 [2023-05-16T10:08:33.292Z] Removing intermediate container 2d0333a26912 [2023-05-16T10:08:33.292Z] ---> c40f4b32ddb0 [2023-05-16T10:08:33.292Z] Step 11/36 : COPY . . [2023-05-16T10:08:33.553Z] ---> 7c2e84b25deb [2023-05-16T10:08:33.553Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T10:08:33.553Z] ---> Running in 40df6562d3c3 [2023-05-16T10:08:33.815Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:08:33.815Z] Dload Upload Total Spent Left Speed [2023-05-16T10:08:34.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21210 0 --:--:-- --:--:-- --:--:-- 21673 [2023-05-16T10:08:34.334Z] Removing intermediate container 40df6562d3c3 [2023-05-16T10:08:34.334Z] ---> 89cc7671b769 [2023-05-16T10:08:34.334Z] Step 13/36 : RUN ${MAKE} [2023-05-16T10:08:34.593Z] ---> Running in 967ef6bfdf49 [2023-05-16T10:08:34.851Z] 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-16T10:08:56.777Z] Removing intermediate container 967ef6bfdf49 [2023-05-16T10:08:56.777Z] ---> 3fce7128e582 [2023-05-16T10:08:56.777Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T10:08:56.777Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T10:08:56.777Z] 4acc49c71d14: Pulling fs layer [2023-05-16T10:08:56.777Z] 4acc49c71d14: Verifying Checksum [2023-05-16T10:08:56.777Z] 4acc49c71d14: Download complete [2023-05-16T10:08:56.777Z] 4acc49c71d14: Pull complete [2023-05-16T10:08:56.777Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T10:08:56.777Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T10:08:56.777Z] ---> 01a2bd3e5fff [2023-05-16T10:08:56.777Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T10:08:57.038Z] 3.17: Pulling from library/alpine [2023-05-16T10:08:57.296Z] f56be85fc22e: Already exists [2023-05-16T10:08:57.296Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:08:57.711Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:08:57.711Z] ---> 9ed4aefc74f6 [2023-05-16T10:08:57.711Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T10:08:57.977Z] ---> Running in 7dc64c9b2655 [2023-05-16T10:08:58.543Z] Removing intermediate container 7dc64c9b2655 [2023-05-16T10:08:58.543Z] ---> 657dd0333897 [2023-05-16T10:08:58.543Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T10:08:58.543Z] ---> Running in 90f0e3acd45c [2023-05-16T10:08:59.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:08:59.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:08:59.372Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-16T10:08:59.372Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-16T10:08:59.372Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-16T10:08:59.372Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-16T10:08:59.372Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-16T10:08:59.372Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-16T10:08:59.372Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-16T10:08:59.372Z] (8/86) Installing libxcb (1.15-r0) [2023-05-16T10:08:59.372Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-16T10:08:59.632Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-16T10:08:59.632Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-16T10:08:59.632Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-16T10:08:59.632Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-16T10:08:59.632Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-16T10:08:59.632Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-16T10:08:59.632Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-16T10:08:59.632Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-16T10:08:59.632Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-16T10:08:59.632Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-16T10:08:59.632Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-16T10:08:59.632Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-16T10:08:59.632Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-16T10:08:59.632Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-16T10:08:59.632Z] (24/86) Installing glib (2.74.6-r0) [2023-05-16T10:08:59.632Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-16T10:08:59.632Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-16T10:08:59.632Z] (27/86) Installing libass (0.16.0-r1) [2023-05-16T10:08:59.632Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-16T10:08:59.632Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-16T10:08:59.632Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-16T10:08:59.632Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-16T10:08:59.632Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-16T10:08:59.632Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-16T10:08:59.893Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-16T10:08:59.893Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-16T10:08:59.893Z] (36/86) Installing libunistring (1.1-r0) [2023-05-16T10:08:59.893Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-16T10:08:59.893Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T10:08:59.893Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T10:08:59.893Z] (40/86) Installing lame (3.100-r2) [2023-05-16T10:08:59.893Z] (41/86) Installing opus (1.3.1-r1) [2023-05-16T10:08:59.893Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-16T10:08:59.893Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-16T10:08:59.893Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-16T10:08:59.893Z] (45/86) Installing orc (0.4.33-r0) [2023-05-16T10:08:59.893Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T10:08:59.893Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-16T10:08:59.893Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T10:08:59.893Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-16T10:08:59.893Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-16T10:08:59.893Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-16T10:08:59.893Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T10:08:59.893Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-16T10:08:59.893Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-16T10:08:59.893Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-16T10:08:59.893Z] (56/86) Installing libpulse (16.1-r6) [2023-05-16T10:08:59.893Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-16T10:08:59.893Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-16T10:08:59.893Z] (59/86) Installing librist (0.2.7-r0) [2023-05-16T10:08:59.893Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-16T10:08:59.893Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-16T10:09:00.153Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-16T10:09:00.153Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T10:09:00.153Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T10:09:00.153Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-16T10:09:00.153Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-16T10:09:00.153Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T10:09:00.153Z] (68/86) Installing libva (2.16.0-r0) [2023-05-16T10:09:00.153Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-16T10:09:00.153Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-16T10:09:00.153Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-16T10:09:00.153Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-16T10:09:00.153Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T10:09:00.153Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-16T10:09:00.153Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-16T10:09:00.153Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-16T10:09:00.153Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-16T10:09:00.153Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-16T10:09:00.153Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T10:09:00.411Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-16T10:09:00.411Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-16T10:09:00.411Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-16T10:09:00.411Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-16T10:09:00.411Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-16T10:09:00.411Z] (85/86) Installing kmod-libs (30-r1) [2023-05-16T10:09:00.411Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-16T10:09:00.411Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:09:00.411Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T10:09:00.411Z] OK: 112 MiB in 101 packages [2023-05-16T10:09:04.612Z] Removing intermediate container 90f0e3acd45c [2023-05-16T10:09:04.612Z] ---> c7a03aa9a8de [2023-05-16T10:09:04.612Z] Step 18/36 : WORKDIR / [2023-05-16T10:09:04.612Z] ---> Running in 3dd37e38e44e [2023-05-16T10:09:04.869Z] Removing intermediate container 3dd37e38e44e [2023-05-16T10:09:04.869Z] ---> 7dcbbb7c9256 [2023-05-16T10:09:04.869Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T10:09:05.977Z] ---> 515436b3b8ff [2023-05-16T10:09:05.977Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T10:09:05.977Z] ---> 3535832281d3 [2023-05-16T10:09:05.977Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T10:09:05.977Z] ---> 28ee9a1659db [2023-05-16T10:09:05.977Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T10:09:06.359Z] ---> a70cd811f1f6 [2023-05-16T10:09:06.359Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T10:09:06.359Z] ---> c3e54b4d83c5 [2023-05-16T10:09:06.359Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T10:09:06.359Z] ---> 6b5b227579df [2023-05-16T10:09:06.359Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-16T10:09:07.298Z] ---> 9082e70ab525 [2023-05-16T10:09:07.298Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T10:09:07.298Z] ---> Running in cc59080f1ba9 [2023-05-16T10:09:07.864Z] Removing intermediate container cc59080f1ba9 [2023-05-16T10:09:07.864Z] ---> fd4ae94abb4d [2023-05-16T10:09:07.864Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T10:09:08.123Z] ---> Running in dd3170f6c65e [2023-05-16T10:09:09.060Z] Removing intermediate container dd3170f6c65e [2023-05-16T10:09:09.060Z] ---> 52261a570e43 [2023-05-16T10:09:09.060Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T10:09:09.060Z] ---> Running in 86c6c804ab65 [2023-05-16T10:09:09.629Z] Removing intermediate container 86c6c804ab65 [2023-05-16T10:09:09.629Z] ---> 079f386c2c7a [2023-05-16T10:09:09.629Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T10:09:09.896Z] ---> Running in 0cdbfa99bb76 [2023-05-16T10:09:10.466Z] Removing intermediate container 0cdbfa99bb76 [2023-05-16T10:09:10.466Z] ---> 04598c57f2f5 [2023-05-16T10:09:10.466Z] Step 30/36 : EXPOSE 59983 [2023-05-16T10:09:10.466Z] ---> Running in 12a795c185d4 [2023-05-16T10:09:10.466Z] Removing intermediate container 12a795c185d4 [2023-05-16T10:09:10.466Z] ---> a331650afa0b [2023-05-16T10:09:10.466Z] Step 31/36 : EXPOSE 8554 [2023-05-16T10:09:10.466Z] ---> Running in 51e708a4ed7d [2023-05-16T10:09:10.466Z] Removing intermediate container 51e708a4ed7d [2023-05-16T10:09:10.466Z] ---> 2e5d016601e0 [2023-05-16T10:09:10.466Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T10:09:10.466Z] ---> Running in fe88a172584f [2023-05-16T10:09:10.727Z] Removing intermediate container fe88a172584f [2023-05-16T10:09:10.727Z] ---> 713bbb8c947a [2023-05-16T10:09:10.727Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T10:09:10.727Z] ---> Running in b4f7b848dbfa [2023-05-16T10:09:10.727Z] Removing intermediate container b4f7b848dbfa [2023-05-16T10:09:10.727Z] ---> ea90d4f784ef [2023-05-16T10:09:10.727Z] Step 34/36 : LABEL arch=amd64 [2023-05-16T10:09:10.727Z] ---> Running in c28f52335d23 [2023-05-16T10:09:10.727Z] Removing intermediate container c28f52335d23 [2023-05-16T10:09:10.727Z] ---> 5491eef17d95 [2023-05-16T10:09:10.727Z] Step 35/36 : LABEL git_sha=397f74a9d669c0142bc715997d2769cba4f3ecff [2023-05-16T10:09:10.990Z] ---> Running in ef00a8ae1769 [2023-05-16T10:09:10.990Z] Removing intermediate container ef00a8ae1769 [2023-05-16T10:09:10.990Z] ---> b40ca7a1f56b [2023-05-16T10:09:10.990Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T10:09:10.990Z] ---> Running in 7adaae129f28 [2023-05-16T10:09:10.990Z] Removing intermediate container 7adaae129f28 [2023-05-16T10:09:10.990Z] ---> 2e1cbf3918d6 [2023-05-16T10:09:10.990Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:09:10.990Z] Successfully built 2e1cbf3918d6 [2023-05-16T10:09:10.990Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:09:11.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:09:11.911Z] [2023-05-16T10:09:11.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:09:12.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:09:12.308Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T10:09:12.308Z] 5eb5b503b376: Pulling fs layer [2023-05-16T10:09:12.308Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T10:09:12.308Z] ec43610c2a17: Pulling fs layer [2023-05-16T10:09:12.308Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T10:09:12.308Z] 33b1e0a273af: Pulling fs layer [2023-05-16T10:09:12.308Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T10:09:12.308Z] 2f39f015ded8: Pulling fs layer [2023-05-16T10:09:12.308Z] 5d3b04190fa2: Waiting [2023-05-16T10:09:12.308Z] 3a2ae6a8a46f: Waiting [2023-05-16T10:09:12.308Z] 33b1e0a273af: Waiting [2023-05-16T10:09:12.308Z] 2f39f015ded8: Waiting [2023-05-16T10:09:12.308Z] 5c69ac0246d0: Verifying Checksum [2023-05-16T10:09:12.308Z] 5c69ac0246d0: Download complete [2023-05-16T10:09:12.308Z] 3a2ae6a8a46f: Download complete [2023-05-16T10:09:12.570Z] ec43610c2a17: Verifying Checksum [2023-05-16T10:09:12.570Z] ec43610c2a17: Download complete [2023-05-16T10:09:12.570Z] 5d3b04190fa2: Download complete [2023-05-16T10:09:12.570Z] 33b1e0a273af: Download complete [2023-05-16T10:09:12.830Z] 5eb5b503b376: Verifying Checksum [2023-05-16T10:09:14.213Z] 5eb5b503b376: Pull complete [2023-05-16T10:09:14.472Z] 5c69ac0246d0: Pull complete [2023-05-16T10:09:15.041Z] ec43610c2a17: Pull complete [2023-05-16T10:09:15.300Z] 3a2ae6a8a46f: Pull complete [2023-05-16T10:09:15.560Z] 33b1e0a273af: Pull complete [2023-05-16T10:09:15.560Z] 5d3b04190fa2: Pull complete [2023-05-16T10:09:20.847Z] 2f39f015ded8: Pull complete [2023-05-16T10:09:20.847Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T10:09:20.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:09:20.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:09:21.087Z] prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container [2023-05-16T10:09:21.124Z] $ 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-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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-16T10:09:25.273Z] $ docker top da017154908bd8b942a39785d509f12d09e3b8ea302340fcbbd0ffd9a05fb85c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:09:25.724Z] ---> job-cost.sh [2023-05-16T10:09:25.724Z] lf-activate-venv: SKIPPING [2023-05-16T10:09:25.724Z] INFO: No Stack... [2023-05-16T10:09:25.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:09:26.245Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:09:26.561Z] + cat /w/workspace/foundry_device-usb-camera_PR-248/archives/cost.csv [2023-05-16T10:09:26.561Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:09:26.600Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-248-1-stack-cost] [2023-05-16T10:09:26.606Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-248-1-stack-cost] did not exist. Created. [2023-05-16T10:09:26.606Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-248-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:09:27.009Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T10:09:27.067Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:09:27.104Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-248-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:09:27.198Z] $ docker stop --time=1 da017154908bd8b942a39785d509f12d09e3b8ea302340fcbbd0ffd9a05fb85c [2023-05-16T10:09:28.368Z] $ docker rm -f --volumes da017154908bd8b942a39785d509f12d09e3b8ea302340fcbbd0ffd9a05fb85c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T10:10:28.458Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15559 in /w/workspace/foundry_device-usb-camera_PR-248 [Pipeline] { [Pipeline] ws [2023-05-16T10:10:28.517Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-16T10:10:28.602Z] Selected Git installation does not exist. Using Default [2023-05-16T10:10:28.602Z] The recommended git tool is: NONE [2023-05-16T10:10:35.667Z] using credential edgex-jenkins-ssh [2023-05-16T10:10:35.687Z] Cloning the remote Git repository [2023-05-16T10:10:35.753Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T10:10:35.896Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-16T10:10:36.103Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T10:10:36.104Z] > git --version # timeout=10 [2023-05-16T10:10:36.134Z] > git --version # 'git version 2.25.1' [2023-05-16T10:10:36.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:10:36.358Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:10:37.236Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T10:10:37.264Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:10:38.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T10:10:38.527Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T10:10:38.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:10:38.547Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T10:10:39.098Z] Merging remotes/origin/main commit 7a1cf3250193716800d70f0cf90cebef309e38f0 into PR head commit 397f74a9d669c0142bc715997d2769cba4f3ecff [2023-05-16T10:10:39.462Z] Merge succeeded, producing 397f74a9d669c0142bc715997d2769cba4f3ecff [2023-05-16T10:10:39.462Z] Checking out Revision 397f74a9d669c0142bc715997d2769cba4f3ecff (PR-248) [2023-05-16T10:10:40.101Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" [2023-05-16T10:10:40.175Z] > git --version # timeout=10 [2023-05-16T10:10:40.190Z] > git --version # 'git version 2.25.1' [2023-05-16T10:10:40.213Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:10:39.130Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:10:39.214Z] > git checkout -f 397f74a9d669c0142bc715997d2769cba4f3ecff # timeout=10 [2023-05-16T10:10:39.326Z] > git remote # timeout=10 [2023-05-16T10:10:39.351Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T10:10:39.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:10:39.410Z] > git merge 7a1cf3250193716800d70f0cf90cebef309e38f0 # timeout=10 [2023-05-16T10:10:39.443Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T10:10:39.473Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:10:39.492Z] > git checkout -f 397f74a9d669c0142bc715997d2769cba4f3ecff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:10:41.515Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T10:10:41.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:10:41.515Z] Dload Upload Total Spent Left Speed [2023-05-16T10:10:41.515Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 144k 0 --:--:-- --:--:-- --:--:-- 146k [Pipeline] sh [2023-05-16T10:10:42.300Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T10:10:42.703Z] + sudo tee /etc/docker/daemon.new [2023-05-16T10:10:42.703Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T10:10:42.703Z] { [2023-05-16T10:10:42.703Z] "registry-mirrors": [ [2023-05-16T10:10:42.703Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T10:10:42.703Z] ], [2023-05-16T10:10:42.703Z] "bip": "10.250.0.254/24", [2023-05-16T10:10:42.703Z] "hosts": [ [2023-05-16T10:10:42.703Z] "tcp://0.0.0.0:5555", [2023-05-16T10:10:42.703Z] "unix:///var/run/docker.sock" [2023-05-16T10:10:42.703Z] ], [2023-05-16T10:10:42.703Z] "mtu": 1458, [2023-05-16T10:10:42.703Z] "selinux-enabled": true, [2023-05-16T10:10:42.703Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T10:10:42.703Z] } [Pipeline] sh [2023-05-16T10:10:43.083Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T10:10:43.493Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:11:01.954Z] provisioning config files... [2023-05-16T10:11:01.995Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config1811449523809784400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:11:02.439Z] ---> docker-login.sh [2023-05-16T10:11:02.439Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:11:03.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:03.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:03.319Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:03.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:03.319Z] [2023-05-16T10:11:03.319Z] Login Succeeded [2023-05-16T10:11:03.319Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:11:03.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:03.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:03.596Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:03.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:03.596Z] [2023-05-16T10:11:03.596Z] Login Succeeded [2023-05-16T10:11:03.596Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:11:03.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:04.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:04.274Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:04.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:04.274Z] [2023-05-16T10:11:04.274Z] Login Succeeded [2023-05-16T10:11:04.274Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:11:04.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:04.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:04.550Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:04.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:04.550Z] [2023-05-16T10:11:04.550Z] Login Succeeded [2023-05-16T10:11:04.550Z] docker.io [2023-05-16T10:11:04.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:11:05.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:11:05.107Z] Configure a credential helper to remove this warning. See [2023-05-16T10:11:05.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:11:05.107Z] [2023-05-16T10:11:05.107Z] Login Succeeded [2023-05-16T10:11:05.107Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:11:05.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:11:05.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:11:05.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:11:05.830Z] ========================================================= [2023-05-16T10:11:05.830Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T10:11:05.830Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:11:06.375Z] + 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-16T10:11:06.656Z] Sending build context to Docker daemon 1.098MB [2023-05-16T10:11:06.946Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:11:06.946Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T10:11:06.946Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T10:11:06.946Z] c41833b44d91: Pulling fs layer [2023-05-16T10:11:06.946Z] ed15518f5707: Pulling fs layer [2023-05-16T10:11:06.946Z] feae8fd75edb: Pulling fs layer [2023-05-16T10:11:06.946Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T10:11:06.946Z] 3cdef696dda3: Pulling fs layer [2023-05-16T10:11:06.946Z] 2ced38df9373: Pulling fs layer [2023-05-16T10:11:06.946Z] 58f1dce35555: Pulling fs layer [2023-05-16T10:11:06.946Z] 242c74f7c9fa: Waiting [2023-05-16T10:11:06.946Z] 3cdef696dda3: Waiting [2023-05-16T10:11:06.946Z] 2ced38df9373: Waiting [2023-05-16T10:11:06.946Z] 58f1dce35555: Waiting [2023-05-16T10:11:07.232Z] ed15518f5707: Verifying Checksum [2023-05-16T10:11:07.232Z] ed15518f5707: Download complete [2023-05-16T10:11:07.232Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T10:11:07.232Z] 242c74f7c9fa: Download complete [2023-05-16T10:11:07.232Z] 3cdef696dda3: Verifying Checksum [2023-05-16T10:11:07.232Z] 3cdef696dda3: Download complete [2023-05-16T10:11:07.232Z] c41833b44d91: Verifying Checksum [2023-05-16T10:11:07.232Z] c41833b44d91: Download complete [2023-05-16T10:11:08.700Z] c41833b44d91: Pull complete [2023-05-16T10:11:09.309Z] 58f1dce35555: Verifying Checksum [2023-05-16T10:11:09.310Z] 58f1dce35555: Download complete [2023-05-16T10:11:09.598Z] ed15518f5707: Pull complete [2023-05-16T10:11:10.599Z] feae8fd75edb: Verifying Checksum [2023-05-16T10:11:10.599Z] feae8fd75edb: Download complete [2023-05-16T10:11:10.876Z] 2ced38df9373: Verifying Checksum [2023-05-16T10:11:10.876Z] 2ced38df9373: Download complete [2023-05-16T10:11:23.290Z] feae8fd75edb: Pull complete [2023-05-16T10:11:23.290Z] 242c74f7c9fa: Pull complete [2023-05-16T10:11:23.290Z] 3cdef696dda3: Pull complete [2023-05-16T10:11:31.604Z] 2ced38df9373: Pull complete [2023-05-16T10:11:33.576Z] 58f1dce35555: Pull complete [2023-05-16T10:11:33.576Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T10:11:33.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T10:11:33.576Z] ---> fadd8f120f05 [2023-05-16T10:11:33.576Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:11:35.016Z] ---> Running in 377d62eb3f7d [2023-05-16T10:11:35.016Z] Removing intermediate container 377d62eb3f7d [2023-05-16T10:11:35.016Z] ---> b2e862f226db [2023-05-16T10:11:35.016Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:11:35.291Z] ---> Running in 36c59f1aea26 [2023-05-16T10:11:35.560Z] Removing intermediate container 36c59f1aea26 [2023-05-16T10:11:35.560Z] ---> 401978c376cf [2023-05-16T10:11:35.560Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T10:11:35.560Z] ---> Running in 56c79f068467 [2023-05-16T10:11:35.830Z] Removing intermediate container 56c79f068467 [2023-05-16T10:11:35.830Z] ---> 6554140f6b2d [2023-05-16T10:11:35.830Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T10:11:36.099Z] ---> Running in 5c1b927b743d [2023-05-16T10:11:36.371Z] Removing intermediate container 5c1b927b743d [2023-05-16T10:11:36.371Z] ---> f8a6400326c1 [2023-05-16T10:11:36.371Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:11:36.371Z] ---> Running in 98c858fd6d84 [2023-05-16T10:11:37.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:11:38.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:11:39.807Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T10:11:39.807Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T10:11:39.807Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T10:11:39.807Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T10:11:39.807Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T10:11:39.807Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T10:11:40.078Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T10:11:40.078Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T10:11:40.078Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T10:11:40.078Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T10:11:40.078Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T10:11:40.078Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T10:11:40.078Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T10:11:40.078Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T10:11:40.078Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:11:40.078Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T10:11:40.360Z] OK: 271 MiB in 67 packages [2023-05-16T10:11:41.793Z] Removing intermediate container 98c858fd6d84 [2023-05-16T10:11:41.793Z] ---> 4e0d8a98e4b6 [2023-05-16T10:11:41.793Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T10:11:41.793Z] ---> Running in 998eae8417be [2023-05-16T10:11:42.065Z] Removing intermediate container 998eae8417be [2023-05-16T10:11:42.065Z] ---> 880cfe0ae148 [2023-05-16T10:11:42.065Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T10:11:42.661Z] ---> 0f72c0bca52c [2023-05-16T10:11:42.661Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:11:42.661Z] ---> Running in ef478e5eeef5 [2023-05-16T10:12:50.589Z] Removing intermediate container ef478e5eeef5 [2023-05-16T10:12:50.589Z] ---> e4b46e8f71eb [2023-05-16T10:12:50.589Z] Step 11/13 : COPY . . [2023-05-16T10:12:50.589Z] ---> 862a26dee456 [2023-05-16T10:12:50.589Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T10:12:50.589Z] ---> Running in 9576e694bccb [2023-05-16T10:12:50.589Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:12:50.589Z] Dload Upload Total Spent Left Speed [2023-05-16T10:12:50.589Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2562 0 --:--:-- --:--:-- --:--:-- 2571 [2023-05-16T10:12:51.570Z] Removing intermediate container 9576e694bccb [2023-05-16T10:12:51.570Z] ---> fc6fdcfc7fc6 [2023-05-16T10:12:51.570Z] Step 13/13 : RUN ${MAKE} [2023-05-16T10:12:51.570Z] ---> Running in f1d241556c30 [2023-05-16T10:12:52.544Z] noop [2023-05-16T10:12:53.521Z] Removing intermediate container f1d241556c30 [2023-05-16T10:12:53.521Z] ---> e1e9aa5ffa50 [2023-05-16T10:12:53.521Z] Successfully built e1e9aa5ffa50 [2023-05-16T10:12:53.521Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:12:54.020Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:12:54.020Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:12:54.341Z] prd-ubuntu20.04-docker-arm64-4c-16g-15559 does not seem to be running inside a container [2023-05-16T10:12:54.431Z] $ 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-16T10:12:55.791Z] $ docker top d3cd8ff682e958ee476eb0c6ad799e09c3fcc46df4889fecb4f8044eb69a9433 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:12:56.718Z] + go version [2023-05-16T10:12:56.718Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T10:12:56.760Z] $ docker stop --time=1 d3cd8ff682e958ee476eb0c6ad799e09c3fcc46df4889fecb4f8044eb69a9433 [2023-05-16T10:12:58.458Z] $ docker rm -f --volumes d3cd8ff682e958ee476eb0c6ad799e09c3fcc46df4889fecb4f8044eb69a9433 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:12:59.342Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:12:59.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:12:59.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-15559 does not seem to be running inside a container [2023-05-16T10:12:59.712Z] $ 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-16T10:13:01.047Z] $ docker top bd5cf2d0bd87d23625ec01236de321a1f6cc7c0d10cd4179e24096df23ce450d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:13:02.061Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:13:02.792Z] + make test [2023-05-16T10:13:02.793Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:13:41.749Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T10:16:18.593Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T10:16:18.593Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.081s coverage: 1.8% of statements [2023-05-16T10:16:18.593Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T10:16:18.593Z] go vet ./... [2023-05-16T10:16:50.903Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:16:50.904Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:16:50.904Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:16:50.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:16:50.986Z] $ docker stop --time=1 bd5cf2d0bd87d23625ec01236de321a1f6cc7c0d10cd4179e24096df23ce450d [2023-05-16T10:16:53.038Z] $ docker rm -f --volumes bd5cf2d0bd87d23625ec01236de321a1f6cc7c0d10cd4179e24096df23ce450d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:16:54.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:16:54.550Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T10:16:55.279Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:16:55.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:16:56.288Z] + ls -al . [2023-05-16T10:16:56.288Z] total 184 [2023-05-16T10:16:56.288Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:13 . [2023-05-16T10:16:56.288Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:10 .. [2023-05-16T10:16:56.288Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:10 .git [2023-05-16T10:16:56.288Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:10 .github [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 10:10 .gitignore [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:10 .golangci.yml [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 10:10 .hadolint.yml [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 10:10 Attribution.txt [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 10:10 CHANGELOG.md [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 10:10 Dockerfile [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 10:10 GOVERNANCE.md [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 10:10 Jenkinsfile [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:10 LICENSE [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 10:10 Makefile [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 10:10 OWNERS.md [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 10:10 README.md [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:07 VERSION [2023-05-16T10:16:56.288Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:10 bin [2023-05-16T10:16:56.288Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:10 cmd [2023-05-16T10:16:56.288Z] -rw-r--r-- 1 jenkins jenkins 31521 May 16 10:16 coverage.out [2023-05-16T10:16:56.288Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 10:10 docker-entrypoint.sh [2023-05-16T10:16:56.288Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:10 docs [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 10:10 go.mod [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 10:10 go.sum [2023-05-16T10:16:56.288Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:10 internal [2023-05-16T10:16:56.288Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:10 snap [2023-05-16T10:16:56.288Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:16:56.738Z] + 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=397f74a9d669c0142bc715997d2769cba4f3ecff --label arch=arm64 --label version=0.0.0 . [2023-05-16T10:16:57.007Z] Sending build context to Docker daemon 1.13MB [2023-05-16T10:16:57.275Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:16:57.275Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T10:16:57.275Z] ---> e1e9aa5ffa50 [2023-05-16T10:16:57.275Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:16:58.982Z] ---> Running in 6bf5b3363971 [2023-05-16T10:16:59.255Z] Removing intermediate container 6bf5b3363971 [2023-05-16T10:16:59.255Z] ---> 9001bdd46783 [2023-05-16T10:16:59.255Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:16:59.255Z] ---> Running in e012422183ad [2023-05-16T10:16:59.853Z] Removing intermediate container e012422183ad [2023-05-16T10:16:59.853Z] ---> 9174675ba087 [2023-05-16T10:16:59.853Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T10:16:59.853Z] ---> Running in 0b546d73714e [2023-05-16T10:17:00.137Z] Removing intermediate container 0b546d73714e [2023-05-16T10:17:00.137Z] ---> 90dc8259fe8a [2023-05-16T10:17:00.137Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T10:17:00.410Z] ---> Running in b0c3606657a4 [2023-05-16T10:17:00.685Z] Removing intermediate container b0c3606657a4 [2023-05-16T10:17:00.685Z] ---> 28776325a569 [2023-05-16T10:17:00.685Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:17:00.957Z] ---> Running in 2911cfd4eefa [2023-05-16T10:17:02.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:17:02.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:17:04.414Z] OK: 271 MiB in 67 packages [2023-05-16T10:17:05.409Z] Removing intermediate container 2911cfd4eefa [2023-05-16T10:17:05.409Z] ---> b4105dc4f99a [2023-05-16T10:17:05.409Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T10:17:05.685Z] ---> Running in c3225cd8e1c3 [2023-05-16T10:17:05.960Z] Removing intermediate container c3225cd8e1c3 [2023-05-16T10:17:05.960Z] ---> fcf903ea1f3e [2023-05-16T10:17:05.960Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T10:17:06.937Z] ---> cfb9c5cd2218 [2023-05-16T10:17:06.937Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:17:06.937Z] ---> Running in 2b637dbc5929 [2023-05-16T10:17:09.554Z] Removing intermediate container 2b637dbc5929 [2023-05-16T10:17:09.554Z] ---> 51280945ec8f [2023-05-16T10:17:09.554Z] Step 11/36 : COPY . . [2023-05-16T10:17:10.986Z] ---> 7ddfc659f662 [2023-05-16T10:17:10.986Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T10:17:10.986Z] ---> Running in 94b5bfcc7329 [2023-05-16T10:17:11.966Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:17:11.966Z] Dload Upload Total Spent Left Speed [2023-05-16T10:17:12.561Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2680 0 --:--:-- --:--:-- --:--:-- 2688 [2023-05-16T10:17:13.542Z] Removing intermediate container 94b5bfcc7329 [2023-05-16T10:17:13.542Z] ---> 53f7502a2da5 [2023-05-16T10:17:13.542Z] Step 13/36 : RUN ${MAKE} [2023-05-16T10:17:13.542Z] ---> Running in fb402572c620 [2023-05-16T10:17:14.522Z] 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-16T10:20:36.791Z] Removing intermediate container fb402572c620 [2023-05-16T10:20:36.791Z] ---> 7127494a88a0 [2023-05-16T10:20:36.791Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T10:20:36.791Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T10:20:36.791Z] 8766b47fe142: Pulling fs layer [2023-05-16T10:20:36.791Z] 8766b47fe142: Verifying Checksum [2023-05-16T10:20:36.791Z] 8766b47fe142: Download complete [2023-05-16T10:20:36.791Z] 8766b47fe142: Pull complete [2023-05-16T10:20:36.791Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T10:20:36.791Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T10:20:36.791Z] ---> 69d40e2cb93c [2023-05-16T10:20:36.791Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T10:20:36.791Z] 3.17: Pulling from library/alpine [2023-05-16T10:20:36.791Z] c41833b44d91: Already exists [2023-05-16T10:20:36.791Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:20:36.791Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:20:36.791Z] ---> 51e60588ff2c [2023-05-16T10:20:36.791Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T10:20:36.791Z] ---> Running in b981fc7ea1a0 [2023-05-16T10:20:37.063Z] Removing intermediate container b981fc7ea1a0 [2023-05-16T10:20:37.063Z] ---> 3ddc65769ddf [2023-05-16T10:20:37.063Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T10:20:37.063Z] ---> Running in 114a40ea1791 [2023-05-16T10:20:38.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:20:39.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:20:40.498Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-16T10:20:40.498Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-16T10:20:40.498Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-16T10:20:40.498Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-16T10:20:40.498Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-16T10:20:40.498Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-16T10:20:40.498Z] (7/83) Installing libxcb (1.15-r0) [2023-05-16T10:20:40.498Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-16T10:20:40.769Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-16T10:20:40.769Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-16T10:20:40.769Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-16T10:20:40.769Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-16T10:20:41.041Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-16T10:20:41.041Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-16T10:20:41.041Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-16T10:20:41.041Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-16T10:20:41.041Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-16T10:20:41.041Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-16T10:20:41.041Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-16T10:20:41.041Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-16T10:20:41.041Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-16T10:20:41.314Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-16T10:20:41.314Z] (23/83) Installing glib (2.74.6-r0) [2023-05-16T10:20:41.314Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-16T10:20:41.314Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-16T10:20:41.314Z] (26/83) Installing libass (0.16.0-r1) [2023-05-16T10:20:41.314Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-16T10:20:41.314Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-16T10:20:41.583Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-16T10:20:41.583Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-16T10:20:41.583Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-16T10:20:41.584Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-16T10:20:41.584Z] (33/83) Installing libunistring (1.1-r0) [2023-05-16T10:20:41.584Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-16T10:20:41.584Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T10:20:41.584Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T10:20:41.856Z] (37/83) Installing lame (3.100-r2) [2023-05-16T10:20:41.856Z] (38/83) Installing opus (1.3.1-r1) [2023-05-16T10:20:41.856Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-16T10:20:41.856Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-16T10:20:41.856Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-16T10:20:41.856Z] (42/83) Installing orc (0.4.33-r0) [2023-05-16T10:20:41.856Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T10:20:41.856Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-16T10:20:41.856Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T10:20:41.856Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-16T10:20:41.856Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-16T10:20:41.856Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-16T10:20:42.128Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T10:20:42.128Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-16T10:20:42.128Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-16T10:20:42.128Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-16T10:20:42.128Z] (53/83) Installing libpulse (16.1-r6) [2023-05-16T10:20:42.128Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-16T10:20:42.128Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-16T10:20:42.128Z] (56/83) Installing librist (0.2.7-r0) [2023-05-16T10:20:42.128Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-16T10:20:42.128Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-16T10:20:42.128Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-16T10:20:42.128Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T10:20:42.128Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T10:20:42.128Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-16T10:20:42.402Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-16T10:20:42.402Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T10:20:42.402Z] (65/83) Installing libva (2.16.0-r0) [2023-05-16T10:20:42.402Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-16T10:20:42.402Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-16T10:20:42.402Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-16T10:20:42.402Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-16T10:20:42.402Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T10:20:42.402Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-16T10:20:42.402Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-16T10:20:42.673Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-16T10:20:42.673Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-16T10:20:42.673Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-16T10:20:42.673Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T10:20:43.267Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-16T10:20:43.267Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-16T10:20:43.267Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-16T10:20:43.267Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-16T10:20:43.267Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-16T10:20:43.267Z] (82/83) Installing kmod-libs (30-r1) [2023-05-16T10:20:43.267Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-16T10:20:43.267Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:20:43.267Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T10:20:43.267Z] OK: 86 MiB in 98 packages [2023-05-16T10:20:47.645Z] Removing intermediate container 114a40ea1791 [2023-05-16T10:20:47.645Z] ---> 60048653c8f8 [2023-05-16T10:20:47.645Z] Step 18/36 : WORKDIR / [2023-05-16T10:20:47.645Z] ---> Running in c9bd646aa26a [2023-05-16T10:20:47.645Z] Removing intermediate container c9bd646aa26a [2023-05-16T10:20:47.645Z] ---> b05e5c9d2751 [2023-05-16T10:20:47.645Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T10:20:49.075Z] ---> c358085b108b [2023-05-16T10:20:49.075Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T10:20:49.668Z] ---> de1849c9ec75 [2023-05-16T10:20:49.668Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T10:20:50.261Z] ---> c6260812312a [2023-05-16T10:20:50.261Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T10:20:50.853Z] ---> 8d160c8afc9c [2023-05-16T10:20:50.853Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T10:20:51.443Z] ---> ba49673e576f [2023-05-16T10:20:51.443Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T10:20:52.033Z] ---> e114205786b0 [2023-05-16T10:20:52.033Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-16T10:20:53.994Z] ---> 8529b8de11f8 [2023-05-16T10:20:53.994Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T10:20:53.994Z] ---> Running in 8006760a7adc [2023-05-16T10:20:55.424Z] Removing intermediate container 8006760a7adc [2023-05-16T10:20:55.424Z] ---> 12e6e7a3ef31 [2023-05-16T10:20:55.424Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T10:20:55.698Z] ---> Running in 64ac57cd3c68 [2023-05-16T10:20:57.661Z] Removing intermediate container 64ac57cd3c68 [2023-05-16T10:20:57.662Z] ---> 9f50c165fc6e [2023-05-16T10:20:57.662Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T10:20:57.662Z] ---> Running in faa2bf521f4c [2023-05-16T10:20:59.633Z] Removing intermediate container faa2bf521f4c [2023-05-16T10:20:59.633Z] ---> a1bc0500ab7c [2023-05-16T10:20:59.633Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T10:20:59.633Z] ---> Running in 7ff900c195e9 [2023-05-16T10:21:01.605Z] Removing intermediate container 7ff900c195e9 [2023-05-16T10:21:01.605Z] ---> a27a9455c12e [2023-05-16T10:21:01.605Z] Step 30/36 : EXPOSE 59983 [2023-05-16T10:21:01.605Z] ---> Running in ab65e4d3ae65 [2023-05-16T10:21:01.879Z] Removing intermediate container ab65e4d3ae65 [2023-05-16T10:21:01.879Z] ---> 94d594b62ac0 [2023-05-16T10:21:01.879Z] Step 31/36 : EXPOSE 8554 [2023-05-16T10:21:01.879Z] ---> Running in a50c0cdb43e9 [2023-05-16T10:21:02.476Z] Removing intermediate container a50c0cdb43e9 [2023-05-16T10:21:02.476Z] ---> 1e297ab736c1 [2023-05-16T10:21:02.476Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T10:21:02.476Z] ---> Running in 7a63a72bbd84 [2023-05-16T10:21:02.751Z] Removing intermediate container 7a63a72bbd84 [2023-05-16T10:21:02.751Z] ---> a46e300417a0 [2023-05-16T10:21:02.751Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T10:21:03.021Z] ---> Running in 030be1d41d6b [2023-05-16T10:21:03.292Z] Removing intermediate container 030be1d41d6b [2023-05-16T10:21:03.292Z] ---> 59d22f17d5b5 [2023-05-16T10:21:03.292Z] Step 34/36 : LABEL arch=arm64 [2023-05-16T10:21:03.292Z] ---> Running in 5baa8cb3464a [2023-05-16T10:21:03.568Z] Removing intermediate container 5baa8cb3464a [2023-05-16T10:21:03.568Z] ---> 1c9923940091 [2023-05-16T10:21:03.568Z] Step 35/36 : LABEL git_sha=397f74a9d669c0142bc715997d2769cba4f3ecff [2023-05-16T10:21:03.840Z] ---> Running in 3159383e51e3 [2023-05-16T10:21:04.112Z] Removing intermediate container 3159383e51e3 [2023-05-16T10:21:04.112Z] ---> 7c3d2dc7d3f8 [2023-05-16T10:21:04.112Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T10:21:04.112Z] ---> Running in 64fc1e9e6ec6 [2023-05-16T10:21:04.710Z] Removing intermediate container 64fc1e9e6ec6 [2023-05-16T10:21:04.710Z] ---> 9a6c2ee22f2c [2023-05-16T10:21:04.710Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:21:04.710Z] Successfully built 9a6c2ee22f2c [2023-05-16T10:21:04.710Z] 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-16T10:21:05.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:21:05.587Z] [2023-05-16T10:21:05.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:21:06.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:21:06.291Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T10:21:06.291Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T10:21:06.291Z] 04944245beec: Pulling fs layer [2023-05-16T10:21:06.291Z] 699f458cf7ca: Pulling fs layer [2023-05-16T10:21:06.291Z] 765212b225bb: Pulling fs layer [2023-05-16T10:21:06.291Z] f23df028b6ca: Pulling fs layer [2023-05-16T10:21:06.291Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T10:21:06.291Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T10:21:06.291Z] f23df028b6ca: Waiting [2023-05-16T10:21:06.291Z] d65c8cfc05b1: Waiting [2023-05-16T10:21:06.291Z] 2437ff75d9bd: Waiting [2023-05-16T10:21:06.291Z] 765212b225bb: Waiting [2023-05-16T10:21:06.291Z] 04944245beec: Verifying Checksum [2023-05-16T10:21:06.291Z] 04944245beec: Download complete [2023-05-16T10:21:06.291Z] 765212b225bb: Verifying Checksum [2023-05-16T10:21:06.291Z] 765212b225bb: Download complete [2023-05-16T10:21:06.291Z] f23df028b6ca: Verifying Checksum [2023-05-16T10:21:06.291Z] f23df028b6ca: Download complete [2023-05-16T10:21:06.565Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T10:21:06.565Z] d65c8cfc05b1: Download complete [2023-05-16T10:21:06.565Z] 699f458cf7ca: Verifying Checksum [2023-05-16T10:21:06.565Z] 699f458cf7ca: Download complete [2023-05-16T10:21:06.836Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T10:21:06.836Z] 8998bd30e6a1: Download complete [2023-05-16T10:21:09.445Z] 2437ff75d9bd: Download complete [2023-05-16T10:21:11.412Z] 8998bd30e6a1: Pull complete [2023-05-16T10:21:12.008Z] 04944245beec: Pull complete [2023-05-16T10:21:13.436Z] 699f458cf7ca: Pull complete [2023-05-16T10:21:13.706Z] 765212b225bb: Pull complete [2023-05-16T10:21:14.675Z] f23df028b6ca: Pull complete [2023-05-16T10:21:14.675Z] d65c8cfc05b1: Pull complete [2023-05-16T10:21:29.735Z] 2437ff75d9bd: Pull complete [2023-05-16T10:21:29.735Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T10:21:29.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:21:29.735Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:21:30.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-15559 does not seem to be running inside a container [2023-05-16T10:21:30.228Z] $ 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-16T10:21:33.294Z] $ docker top 04ff874df935df45f003ac420aff6737301b27841a5a5aed0a0e8501e9f0519f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:34.255Z] ---> job-cost.sh [2023-05-16T10:21:34.255Z] lf-activate-venv: SKIPPING [2023-05-16T10:21:34.255Z] INFO: No Stack... [2023-05-16T10:21:34.847Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T10:21:35.441Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:21:36.123Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-05-16T10:21:36.123Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:21:36.235Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-248-1-stack-cost] [2023-05-16T10:21:36.240Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-248-1-stack-cost] did not exist. Created. [2023-05-16T10:21:36.240Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-248-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:21:36.998Z] /w/workspace/device-usb-camera/1@tmp/durable-b19f77e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T10:21:37.712Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T10:21:37.751Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T10:21:37.814Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:21:37.830Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-248-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:21:37.925Z] $ docker stop --time=1 04ff874df935df45f003ac420aff6737301b27841a5a5aed0a0e8501e9f0519f [2023-05-16T10:21:41.016Z] $ docker rm -f --volumes 04ff874df935df45f003ac420aff6737301b27841a5a5aed0a0e8501e9f0519f [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-16T10:21:42.104Z] provisioning config files... [2023-05-16T10:21:42.111Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config15175133765044909931tmp [Pipeline] { [Pipeline] sh [2023-05-16T10:21:42.450Z] + set +x [2023-05-16T10:21:42.450Z] + curl -s https://codecov.io/bash [2023-05-16T10:21:42.450Z] + bash -s -- [2023-05-16T10:21:42.450Z] [2023-05-16T10:21:42.450Z] _____ _ [2023-05-16T10:21:42.450Z] / ____| | | [2023-05-16T10:21:42.450Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T10:21:42.450Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T10:21:42.450Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T10:21:42.450Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T10:21:42.450Z] Bash-1.0.6 [2023-05-16T10:21:42.450Z] [2023-05-16T10:21:42.450Z] [2023-05-16T10:21:42.450Z] ==> git version 2.25.1 found [2023-05-16T10:21:42.450Z] ==> 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-16T10:21:42.450Z] Release-Date: 2020-01-08 [2023-05-16T10:21:42.450Z] 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-16T10:21:42.450Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T10:21:42.450Z] ==> Jenkins CI detected. [2023-05-16T10:21:42.450Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-248 [2023-05-16T10:21:42.450Z] project root: . [2023-05-16T10:21:42.450Z] --> token set from env [2023-05-16T10:21:42.450Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T10:21:42.450Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T10:21:42.450Z] ==> Python coveragepy not found [2023-05-16T10:21:42.450Z] ==> Searching for coverage reports in: [2023-05-16T10:21:42.450Z] + . [2023-05-16T10:21:42.450Z] -> Found 1 reports [2023-05-16T10:21:42.450Z] ==> Detecting git/mercurial file structure [2023-05-16T10:21:42.450Z] ==> Reading reports [2023-05-16T10:21:42.450Z] + ./coverage.out bytes=31521 [2023-05-16T10:21:42.450Z] ==> Appending adjustments [2023-05-16T10:21:42.450Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T10:21:42.708Z] + Found adjustments [2023-05-16T10:21:42.708Z] ==> Gzipping contents [2023-05-16T10:21:42.708Z] 8.0K /tmp/codecov.4HZCa4.gz [2023-05-16T10:21:42.708Z] ==> Uploading reports [2023-05-16T10:21:42.708Z] url: https://codecov.io [2023-05-16T10:21:42.708Z] query: branch=PR-248&commit=397f74a9d669c0142bc715997d2769cba4f3ecff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-248%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=248&job=&cmd_args= [2023-05-16T10:21:42.708Z] -> Pinging Codecov [2023-05-16T10:21:42.708Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-248&commit=397f74a9d669c0142bc715997d2769cba4f3ecff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-248%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=248&job=&cmd_args= [2023-05-16T10:21:42.708Z] -> Uploading to [2023-05-16T10:21:42.708Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/73D8F5FF140700D3E01443B452E23636/397f74a9d669c0142bc715997d2769cba4f3ecff/37f361e1-ad29-43da-a62b-a13361cb96da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T102142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a86aeee03f8f037392669878a92f5d249b92ef494af267920df11a84cddf492 [2023-05-16T10:21:42.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:21:42.708Z] Dload Upload Total Spent Left Speed [2023-05-16T10:21:43.277Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4334 0 0 100 4334 0 14691 --:--:-- --:--:-- --:--:-- 14691 [2023-05-16T10:21:43.277Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/397f74a9d669c0142bc715997d2769cba4f3ecff [Pipeline] } [2023-05-16T10:21:43.310Z] 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-16T10:21:45.139Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-248/archives ] [2023-05-16T10:21:45.139Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-248/archives [2023-05-16T10:21:45.139Z] total 16 [2023-05-16T10:21:45.139Z] drwxr-xr-x 3 root root 4096 May 16 10:09 . [2023-05-16T10:21:45.139Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:09 .. [2023-05-16T10:21:45.139Z] drwxr-xr-x 2 root root 4096 May 16 10:09 cost [2023-05-16T10:21:45.139Z] -rw-r--r-- 1 root root 89 May 16 10:09 cost.csv [2023-05-16T10:21:45.139Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-248/archives [2023-05-16T10:21:45.139Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-248/archives [2023-05-16T10:21:45.139Z] total 16 [2023-05-16T10:21:45.139Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:09 . [2023-05-16T10:21:45.139Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:09 .. [2023-05-16T10:21:45.139Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:09 cost [2023-05-16T10:21:45.139Z] -rw-r--r-- 1 jenkins jenkins 89 May 16 10:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:45.475Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:46.372Z] ---> package-listing.sh [2023-05-16T10:21:46.372Z] ++ facter osfamily [2023-05-16T10:21:46.372Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T10:21:46.635Z] + OS_FAMILY=debian [2023-05-16T10:21:46.635Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-248 [2023-05-16T10:21:46.636Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T10:21:46.636Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T10:21:46.636Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T10:21:46.636Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T10:21:46.636Z] + '[' /w/workspace/foundry_device-usb-camera_PR-248 ']' [2023-05-16T10:21:46.636Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T10:21:46.636Z] + case "${OS_FAMILY}" in [2023-05-16T10:21:46.636Z] + dpkg -l [2023-05-16T10:21:46.636Z] + grep '^ii' [2023-05-16T10:21:46.636Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T10:21:46.636Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T10:21:46.636Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T10:21:46.636Z] + '[' /w/workspace/foundry_device-usb-camera_PR-248 ']' [2023-05-16T10:21:46.636Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-248/archives/ [2023-05-16T10:21:46.636Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-248/archives/ [Pipeline] echo [2023-05-16T10:21:46.669Z] 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-248/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T10:21:46.961Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:21:47.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:21:47.608Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:21:47.753Z] prd-ubuntu20.04-docker-8c-8g-15552 does not seem to be running inside a container [2023-05-16T10:21:47.782Z] $ 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-248/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-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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-16T10:21:47.992Z] $ docker top 5741b47706b78f557c5662cf0ef1d24832afb93798978c39520c19bdce3972ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:21:48.406Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T10:21:48.716Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T10:21:49.032Z] + ls /var/log/sa-host [2023-05-16T10:21:49.032Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:21:49.171Z] provisioning config files... [2023-05-16T10:21:49.180Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config9793043759122442526tmp [Pipeline] { [Pipeline] echo [2023-05-16T10:21:49.233Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:49.548Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T10:21:49.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:49.970Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T10:21:50.005Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:50.322Z] ---> sudo-logs.sh [2023-05-16T10:21:50.322Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T10:21:50.416Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:50.732Z] ---> job-cost.sh [2023-05-16T10:21:50.732Z] lf-activate-venv: SKIPPING [2023-05-16T10:21:50.732Z] DEBUG: total: 0.2199999988079071 [2023-05-16T10:21:50.732Z] INFO: Retrieving Stack Cost... [2023-05-16T10:21:51.302Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:21:51.569Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T10:21:51.599Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:21:51.911Z] ---> logs-deploy.sh [2023-05-16T10:21:51.911Z] lf-activate-venv: SKIPPING [2023-05-16T10:21:51.911Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-248/1 [2023-05-16T10:21:51.911Z] INFO: archiving workspace using pattern(s): [2023-05-16T10:21:52.850Z] Archives upload complete. [2023-05-16T10:21:53.110Z] INFO: archiving logs to Nexus