Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e+ed547cb9b404855c4500ba28f125032074ed2dc3 (3bb6c95499a65861a25622b4b1561094e9d60167) 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-ssh1577246924585075470.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16116480558676126902.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-183/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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1819285053459357863.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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5129745951326638697.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh1865169036430593378.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-183/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-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9485802455038247153.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-256 in /w/workspace/foundry_device-usb-camera_PR-183 [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-183 # 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/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e Merge succeeded, producing 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e Checking out Revision 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e (PR-183) > git config core.sparsecheckout # timeout=10 > git checkout -f 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e # 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 ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T20:56:11.117Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T20:56:11.286Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T20:56:11.373Z] ========================================================= [2023-03-14T20:56:11.373Z] EdgeX Global Pipelines Version Info [2023-03-14T20:56:11.373Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:56:12.119Z] ------------------- [2023-03-14T20:56:12.119Z] stable info: [2023-03-14T20:56:12.119Z] ------------------- [2023-03-14T20:56:12.119Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T20:56:12.119Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T20:56:12.119Z] Message: update stable to v1.0.245 [2023-03-14T20:56:12.689Z] ------------------- [2023-03-14T20:56:12.689Z] experimental info: [2023-03-14T20:56:12.689Z] ------------------- [2023-03-14T20:56:12.689Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T20:56:12.689Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-14T20:56:12.689Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T20:56:12.971Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-14T20:56:13.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-14T20:56:13.046Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T20:56:13.079Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T20:56:13.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T20:56:13.205Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T20:56:13.241Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T20:56:13.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T20:56:13.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T20:56:13.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T20:56:13.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T20:56:13.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-14T20:56:13.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T20:56:13.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T20:56:13.533Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T20:56:13.569Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T20:56:13.607Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T20:56:13.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T20:56:13.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T20:56:13.730Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T20:56:13.765Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T20:56:13.800Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T20:56:13.846Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T20:56:13.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T20:56:13.928Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T20:56:13.964Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T20:56:14.005Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T20:56:14.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo [2023-03-14T20:56:14.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo [2023-03-14T20:56:14.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo [2023-03-14T20:56:14.165Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] echo [2023-03-14T20:56:14.205Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90e2dc0 [Pipeline] echo [2023-03-14T20:56:14.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T20:56:14.369Z] provisioning config files... [2023-03-14T20:56:14.387Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-183@tmp/config3713766510321985176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:56:14.737Z] ---> docker-login.sh [2023-03-14T20:56:14.738Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:56:14.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:14.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:14.997Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:14.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:14.997Z] [2023-03-14T20:56:14.997Z] Login Succeeded [2023-03-14T20:56:14.997Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:56:14.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:15.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:15.256Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:15.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:15.256Z] [2023-03-14T20:56:15.256Z] Login Succeeded [2023-03-14T20:56:15.256Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:56:15.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:15.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:15.256Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:15.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:15.256Z] [2023-03-14T20:56:15.256Z] Login Succeeded [2023-03-14T20:56:15.256Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:56:15.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:15.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:15.256Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:15.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:15.256Z] [2023-03-14T20:56:15.256Z] Login Succeeded [2023-03-14T20:56:15.256Z] docker.io [2023-03-14T20:56:15.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:15.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:15.515Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:15.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:15.515Z] [2023-03-14T20:56:15.515Z] Login Succeeded [2023-03-14T20:56:15.515Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:56:15.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T20:56:16.169Z] + git rev-list -1 --merges 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e~1..90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] echo [2023-03-14T20:56:16.222Z] -----------> git rev-list -1 --merges 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e~1..90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [false] [Pipeline] sh [2023-03-14T20:56:16.523Z] + git log --format=format:%s -1 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] echo [2023-03-14T20:56:16.558Z] ========================================================= [2023-03-14T20:56:16.558Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T20:56:16.558Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T20:56:16.966Z] + git log --format=format:%s -1 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] echo [2023-03-14T20:56:16.997Z] [semverPrep] GIT_COMMIT: 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T20:56:17.023Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T20:56:17.408Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T20:56:17.409Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T20:56:17.409Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T20:56:17.409Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T20:56:17.409Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T20:56:17.409Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T20:56:17.409Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:56:17.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:56:17.899Z] [2023-03-14T20:56:17.899Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:56:18.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:56:18.271Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T20:56:18.271Z] b85a868b505f: Pulling fs layer [2023-03-14T20:56:18.271Z] e2be974225ed: Pulling fs layer [2023-03-14T20:56:18.271Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T20:56:18.271Z] 988bab9f4d93: Pulling fs layer [2023-03-14T20:56:18.271Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T20:56:18.271Z] eaf3925da568: Pulling fs layer [2023-03-14T20:56:18.271Z] bab4dde63d76: Pulling fs layer [2023-03-14T20:56:18.271Z] bde34c3a00c8: Pulling fs layer [2023-03-14T20:56:18.271Z] b352a97aabf1: Pulling fs layer [2023-03-14T20:56:18.271Z] 4872d77fe225: Pulling fs layer [2023-03-14T20:56:18.271Z] 5851b861e8e6: Pulling fs layer [2023-03-14T20:56:18.271Z] 988bab9f4d93: Waiting [2023-03-14T20:56:18.271Z] bde34c3a00c8: Waiting [2023-03-14T20:56:18.271Z] eaf3925da568: Waiting [2023-03-14T20:56:18.271Z] 1469e6f7b9e6: Waiting [2023-03-14T20:56:18.271Z] b352a97aabf1: Waiting [2023-03-14T20:56:18.271Z] 4872d77fe225: Waiting [2023-03-14T20:56:18.271Z] bab4dde63d76: Waiting [2023-03-14T20:56:18.271Z] 5851b861e8e6: Waiting [2023-03-14T20:56:18.271Z] e2be974225ed: Verifying Checksum [2023-03-14T20:56:18.271Z] e2be974225ed: Download complete [2023-03-14T20:56:18.271Z] 988bab9f4d93: Download complete [2023-03-14T20:56:18.531Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T20:56:18.531Z] 1469e6f7b9e6: Download complete [2023-03-14T20:56:18.531Z] eaf3925da568: Verifying Checksum [2023-03-14T20:56:18.531Z] eaf3925da568: Download complete [2023-03-14T20:56:18.531Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T20:56:18.531Z] 339a4e72a1f5: Download complete [2023-03-14T20:56:18.531Z] bde34c3a00c8: Verifying Checksum [2023-03-14T20:56:18.531Z] bde34c3a00c8: Download complete [2023-03-14T20:56:18.531Z] b352a97aabf1: Verifying Checksum [2023-03-14T20:56:18.531Z] b352a97aabf1: Download complete [2023-03-14T20:56:18.531Z] 4872d77fe225: Verifying Checksum [2023-03-14T20:56:18.531Z] 4872d77fe225: Download complete [2023-03-14T20:56:18.531Z] 5851b861e8e6: Verifying Checksum [2023-03-14T20:56:18.531Z] 5851b861e8e6: Download complete [2023-03-14T20:56:18.531Z] b85a868b505f: Verifying Checksum [2023-03-14T20:56:18.531Z] b85a868b505f: Download complete [2023-03-14T20:56:19.098Z] bab4dde63d76: Verifying Checksum [2023-03-14T20:56:19.098Z] bab4dde63d76: Download complete [2023-03-14T20:56:20.034Z] b85a868b505f: Pull complete [2023-03-14T20:56:20.034Z] e2be974225ed: Pull complete [2023-03-14T20:56:20.600Z] 339a4e72a1f5: Pull complete [2023-03-14T20:56:20.600Z] 988bab9f4d93: Pull complete [2023-03-14T20:56:20.860Z] 1469e6f7b9e6: Pull complete [2023-03-14T20:56:20.860Z] eaf3925da568: Pull complete [2023-03-14T20:56:22.758Z] bab4dde63d76: Pull complete [2023-03-14T20:56:22.758Z] bde34c3a00c8: Pull complete [2023-03-14T20:56:22.758Z] b352a97aabf1: Pull complete [2023-03-14T20:56:23.022Z] 4872d77fe225: Pull complete [2023-03-14T20:56:23.022Z] 5851b861e8e6: Pull complete [2023-03-14T20:56:23.022Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T20:56:23.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:56:23.022Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:56:23.258Z] prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container [2023-03-14T20:56:23.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@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-devops/py-git-semver:0.1.4 cat [2023-03-14T20:56:24.754Z] $ docker top e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc -eo pid,comm [2023-03-14T20:56:24.808Z] 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-03-14T20:56:24.808Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T20:56:25.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T20:56:25.020Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T20:56:25.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T20:56:25.126Z] $ docker exec e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc ssh-agent [2023-03-14T20:56:25.218Z] SSH_AUTH_SOCK=/tmp/ssh-odg5ckCk3P2n/agent.33 [2023-03-14T20:56:25.218Z] SSH_AGENT_PID=39 [2023-03-14T20:56:25.224Z] Running ssh-add (command line suppressed) [2023-03-14T20:56:25.328Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-183@tmp/private_key_12387599332532807924.key (/w/workspace/foundry_device-usb-camera_PR-183@tmp/private_key_12387599332532807924.key) [2023-03-14T20:56:25.335Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T20:56:25.727Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T20:56:25.756Z] $ docker exec --env ******** --env ******** e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc ssh-agent -k [2023-03-14T20:56:25.860Z] unset SSH_AUTH_SOCK; [2023-03-14T20:56:25.862Z] unset SSH_AGENT_PID; [2023-03-14T20:56:25.862Z] echo Agent pid 39 killed; [2023-03-14T20:56:25.867Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T20:56:25.944Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T20:56:25.944Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T20:56:26.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T20:56:26.064Z] $ docker exec e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc ssh-agent [2023-03-14T20:56:26.182Z] SSH_AUTH_SOCK=/tmp/ssh-J0jDHO8JTsWr/agent.72 [2023-03-14T20:56:26.182Z] SSH_AGENT_PID=78 [2023-03-14T20:56:26.187Z] Running ssh-add (command line suppressed) [2023-03-14T20:56:26.296Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-183@tmp/private_key_11618665781290372973.key (/w/workspace/foundry_device-usb-camera_PR-183@tmp/private_key_11618665781290372973.key) [2023-03-14T20:56:26.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T20:56:26.634Z] + git semver init [2023-03-14T20:56:26.891Z] 2023-03-14 20:56:26,825 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T20:56:26.891Z] 2023-03-14 20:56:26,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-183/.semver [2023-03-14T20:56:26.891Z] 2023-03-14 20:56:26,826 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-183/.semver [2023-03-14T20:56:26.892Z] 2023-03-14 20:56:26,826 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-183/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-183, universal_newlines=False, shell=None, istream=None) [2023-03-14T20:56:27.829Z] 2023-03-14 20:56:27,571 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-183/.git/info/exclude [2023-03-14T20:56:27.829Z] 2023-03-14 20:56:27,572 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-183/.semver/PR-183 with force:False [2023-03-14T20:56:27.829Z] 2023-03-14 20:56:27,572 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-183/.semver/PR-183 [2023-03-14T20:56:27.829Z] 2023-03-14 20:56:27,577 [execute] INFO git cat-file --batch-check [2023-03-14T20:56:27.829Z] 2023-03-14 20:56:27,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-183/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T20:56:27.829Z] 2023-03-14 20:56:27,585 [execute] INFO git cat-file --batch [2023-03-14T20:56:27.829Z] 2023-03-14 20:56:27,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-183/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T20:56:27.829Z] 2023-03-14 20:56:27,591 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-183/.semver/PR-183 [2023-03-14T20:56:27.829Z] 0.0.0 [Pipeline] } [2023-03-14T20:56:27.861Z] $ docker exec --env ******** --env ******** e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc ssh-agent -k [2023-03-14T20:56:27.968Z] unset SSH_AUTH_SOCK; [2023-03-14T20:56:27.969Z] unset SSH_AGENT_PID; [2023-03-14T20:56:27.969Z] echo Agent pid 78 killed; [2023-03-14T20:56:27.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T20:56:28.400Z] + git semver [Pipeline] } [2023-03-14T20:56:28.682Z] $ docker stop --time=1 e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc [2023-03-14T20:56:30.008Z] $ docker rm -f --volumes e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:56:30.404Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T20:56:30.672Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T20:56:30.689Z] [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-03-14T20:56:31.262Z] provisioning config files... [2023-03-14T20:56:31.273Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-183@tmp/config10833008796539312924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:56:31.607Z] ---> docker-login.sh [2023-03-14T20:56:31.608Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:56:31.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:31.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:31.608Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:31.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:31.608Z] [2023-03-14T20:56:31.608Z] Login Succeeded [2023-03-14T20:56:31.608Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:56:31.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:31.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:31.608Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:31.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:31.608Z] [2023-03-14T20:56:31.608Z] Login Succeeded [2023-03-14T20:56:31.608Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:56:31.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:31.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:31.867Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:31.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:31.867Z] [2023-03-14T20:56:31.867Z] Login Succeeded [2023-03-14T20:56:31.867Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:56:31.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:31.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:31.867Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:31.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:31.867Z] [2023-03-14T20:56:31.867Z] Login Succeeded [2023-03-14T20:56:31.867Z] docker.io [2023-03-14T20:56:31.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:56:32.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:56:32.126Z] Configure a credential helper to remove this warning. See [2023-03-14T20:56:32.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:56:32.126Z] [2023-03-14T20:56:32.126Z] Login Succeeded [2023-03-14T20:56:32.126Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:56:32.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T20:56:32.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:56:32.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:56:32.407Z] ========================================================= [2023-03-14T20:56:32.407Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T20:56:32.407Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:56:32.868Z] + 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-03-14T20:56:32.868Z] Sending build context to Docker daemon 1.83MB [2023-03-14T20:56:32.868Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:56:32.868Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-14T20:56:32.868Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T20:56:32.868Z] 63b65145d645: Pulling fs layer [2023-03-14T20:56:32.868Z] a2d21d5440eb: Pulling fs layer [2023-03-14T20:56:32.868Z] 935e6c44a52c: Pulling fs layer [2023-03-14T20:56:32.868Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T20:56:32.868Z] 30dea6a524f1: Pulling fs layer [2023-03-14T20:56:32.868Z] a2aff8979fd8: Pulling fs layer [2023-03-14T20:56:32.868Z] 6808be2612f2: Pulling fs layer [2023-03-14T20:56:32.868Z] f25807f1079a: Pulling fs layer [2023-03-14T20:56:32.868Z] 94cc34f8dd06: Waiting [2023-03-14T20:56:32.868Z] 30dea6a524f1: Waiting [2023-03-14T20:56:32.868Z] f25807f1079a: Waiting [2023-03-14T20:56:32.868Z] a2aff8979fd8: Waiting [2023-03-14T20:56:32.868Z] 6808be2612f2: Waiting [2023-03-14T20:56:32.868Z] a2d21d5440eb: Download complete [2023-03-14T20:56:32.868Z] 94cc34f8dd06: Download complete [2023-03-14T20:56:33.131Z] 30dea6a524f1: Verifying Checksum [2023-03-14T20:56:33.131Z] 30dea6a524f1: Download complete [2023-03-14T20:56:33.131Z] 63b65145d645: Verifying Checksum [2023-03-14T20:56:33.131Z] 63b65145d645: Download complete [2023-03-14T20:56:33.131Z] a2aff8979fd8: Verifying Checksum [2023-03-14T20:56:33.131Z] a2aff8979fd8: Download complete [2023-03-14T20:56:33.131Z] 63b65145d645: Pull complete [2023-03-14T20:56:33.394Z] a2d21d5440eb: Pull complete [2023-03-14T20:56:33.655Z] f25807f1079a: Verifying Checksum [2023-03-14T20:56:33.655Z] f25807f1079a: Download complete [2023-03-14T20:56:33.655Z] 935e6c44a52c: Verifying Checksum [2023-03-14T20:56:33.655Z] 935e6c44a52c: Download complete [2023-03-14T20:56:33.913Z] 6808be2612f2: Verifying Checksum [2023-03-14T20:56:33.913Z] 6808be2612f2: Download complete [2023-03-14T20:56:37.194Z] 935e6c44a52c: Pull complete [2023-03-14T20:56:37.194Z] 94cc34f8dd06: Pull complete [2023-03-14T20:56:37.194Z] 30dea6a524f1: Pull complete [2023-03-14T20:56:37.194Z] a2aff8979fd8: Pull complete [2023-03-14T20:56:39.725Z] 6808be2612f2: Pull complete [2023-03-14T20:56:40.291Z] f25807f1079a: Pull complete [2023-03-14T20:56:40.291Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T20:56:40.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T20:56:40.291Z] ---> 3b553350e43f [2023-03-14T20:56:40.291Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:56:42.202Z] ---> Running in b087d28cc454 [2023-03-14T20:56:42.202Z] Removing intermediate container b087d28cc454 [2023-03-14T20:56:42.202Z] ---> 175bb932531d [2023-03-14T20:56:42.202Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:56:42.469Z] ---> Running in bd860089a72c [2023-03-14T20:56:42.469Z] Removing intermediate container bd860089a72c [2023-03-14T20:56:42.469Z] ---> 7d12c69541fc [2023-03-14T20:56:42.469Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-14T20:56:42.469Z] ---> Running in f5774b04651d [2023-03-14T20:56:42.731Z] Removing intermediate container f5774b04651d [2023-03-14T20:56:42.731Z] ---> f3d82696976d [2023-03-14T20:56:42.731Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-14T20:56:42.731Z] ---> Running in 6c843106d5ea [2023-03-14T20:56:42.731Z] Removing intermediate container 6c843106d5ea [2023-03-14T20:56:42.731Z] ---> 837c4a1dc067 [2023-03-14T20:56:42.731Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T20:56:42.988Z] ---> Running in 187ed571824d [2023-03-14T20:56:43.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:56:43.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:56:43.764Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-14T20:56:43.764Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-14T20:56:43.764Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-14T20:56:43.764Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-14T20:56:43.764Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-14T20:56:43.764Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-14T20:56:43.764Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-14T20:56:43.764Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-14T20:56:43.764Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-14T20:56:43.764Z] (10/14) Installing kmod-libs (30-r1) [2023-03-14T20:56:43.764Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-14T20:56:43.764Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-14T20:56:43.764Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-14T20:56:43.764Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-14T20:56:43.764Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:56:43.764Z] Executing eudev-3.2.11-r4.trigger [2023-03-14T20:56:43.764Z] OK: 272 MiB in 67 packages [2023-03-14T20:56:44.333Z] Removing intermediate container 187ed571824d [2023-03-14T20:56:44.334Z] ---> 2864cc810d8f [2023-03-14T20:56:44.334Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-14T20:56:44.334Z] ---> Running in 2f381f8def0c [2023-03-14T20:56:44.592Z] Removing intermediate container 2f381f8def0c [2023-03-14T20:56:44.592Z] ---> ce35fd1b5fcf [2023-03-14T20:56:44.592Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-14T20:56:44.592Z] ---> e0ba59071e92 [2023-03-14T20:56:44.592Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:56:44.592Z] ---> Running in 9c37caa34ada [2023-03-14T20:56:46.096Z] Still waiting to schedule task [2023-03-14T20:56:46.096Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-254’ [2023-03-14T20:57:11.145Z] Removing intermediate container 9c37caa34ada [2023-03-14T20:57:11.145Z] ---> fae46a165393 [2023-03-14T20:57:11.145Z] Step 11/13 : COPY . . [2023-03-14T20:57:11.145Z] ---> a5658ba753b7 [2023-03-14T20:57:11.145Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-14T20:57:11.145Z] ---> Running in 861d11a65bb4 [2023-03-14T20:57:11.145Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T20:57:11.145Z]   Dload Upload Total Spent Left Speed [2023-03-14T20:57:11.145Z] 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7172 0 --:--:-- --:--:-- --:--:-- 7224 [2023-03-14T20:57:11.145Z] Removing intermediate container 861d11a65bb4 [2023-03-14T20:57:11.145Z] ---> ad84c7f178c0 [2023-03-14T20:57:11.145Z] Step 13/13 : RUN ${MAKE} [2023-03-14T20:57:11.145Z] ---> Running in 6aa301e44ddf [2023-03-14T20:57:11.145Z] noop [2023-03-14T20:57:11.145Z] Removing intermediate container 6aa301e44ddf [2023-03-14T20:57:11.145Z] ---> fef36bf41dcc [2023-03-14T20:57:11.146Z] Successfully built fef36bf41dcc [2023-03-14T20:57:11.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:57:11.579Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T20:57:11.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:57:11.719Z] prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container [2023-03-14T20:57:11.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T20:57:12.090Z] $ docker top c1e8ae6d821e3ebca717c87a655b8b752e7cacaaa852522c6c9f3e3326295c23 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:57:12.472Z] + go version [2023-03-14T20:57:12.472Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T20:57:12.504Z] $ docker stop --time=1 c1e8ae6d821e3ebca717c87a655b8b752e7cacaaa852522c6c9f3e3326295c23 [2023-03-14T20:57:13.793Z] $ docker rm -f --volumes c1e8ae6d821e3ebca717c87a655b8b752e7cacaaa852522c6c9f3e3326295c23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:57:14.482Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T20:57:14.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:57:14.631Z] prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container [2023-03-14T20:57:14.666Z] $ 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-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T20:57:14.994Z] $ docker top e4923e269328fc3a14bb235c7dc8a5241531092be195552f1b383bc6d539c88f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:57:15.372Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-183 [Pipeline] fileExists [Pipeline] sh [2023-03-14T20:57:15.724Z] + make test [2023-03-14T20:57:15.724Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T20:57:20.982Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-14T20:57:30.934Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-14T20:57:30.934Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 2.0% of statements [2023-03-14T20:57:37.485Z] go vet ./... [2023-03-14T20:57:40.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T20:57:40.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T20:57:40.766Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T20:57:40.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T20:57:40.830Z] $ docker stop --time=1 e4923e269328fc3a14bb235c7dc8a5241531092be195552f1b383bc6d539c88f [2023-03-14T20:57:42.778Z] $ docker rm -f --volumes e4923e269328fc3a14bb235c7dc8a5241531092be195552f1b383bc6d539c88f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:57:43.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T20:57:43.367Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T20:57:44.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T20:57:44.353Z] + ls -al . [2023-03-14T20:57:44.353Z] total 188 [2023-03-14T20:57:44.353Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:57 . [2023-03-14T20:57:44.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 .. [2023-03-14T20:57:44.353Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:56 .git [2023-03-14T20:57:44.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 .github [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 14 20:56 .gitignore [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 20:56 .golangci.yml [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 14 20:56 .hadolint.yml [2023-03-14T20:57:44.353Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:56 .semver [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 14 20:56 Attribution.txt [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 14 20:56 CHANGELOG.md [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 14 20:56 Dockerfile [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 20:56 GOVERNANCE.md [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 14 20:56 Jenkinsfile [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 14 20:56 LICENSE [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 2364 Mar 14 20:56 Makefile [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:56 OWNERS.md [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 5271 Mar 14 20:56 README.md [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:56 VERSION [2023-03-14T20:57:44.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:56 bin [2023-03-14T20:57:44.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 cmd [2023-03-14T20:57:44.353Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 14 20:57 coverage.out [2023-03-14T20:57:44.353Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 14 20:56 docker-entrypoint.sh [2023-03-14T20:57:44.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 docs [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 14 20:56 go.mod [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 31546 Mar 14 20:56 go.sum [2023-03-14T20:57:44.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 internal [2023-03-14T20:57:44.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 snap [2023-03-14T20:57:44.353Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 14 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:57:44.748Z] + 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=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e --label arch=amd64 --label version=0.0.0 . [2023-03-14T20:57:44.748Z] Sending build context to Docker daemon 1.86MB [2023-03-14T20:57:44.748Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:57:44.748Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-14T20:57:44.748Z] ---> fef36bf41dcc [2023-03-14T20:57:44.748Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:57:44.748Z] ---> Running in 8b70a9880dcc [2023-03-14T20:57:44.748Z] Removing intermediate container 8b70a9880dcc [2023-03-14T20:57:44.748Z] ---> 0e029c2dd551 [2023-03-14T20:57:44.748Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:57:45.006Z] ---> Running in b0462c1dc7c2 [2023-03-14T20:57:45.006Z] Removing intermediate container b0462c1dc7c2 [2023-03-14T20:57:45.006Z] ---> 6eb946848675 [2023-03-14T20:57:45.006Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-14T20:57:45.006Z] ---> Running in 4c71fc42371e [2023-03-14T20:57:45.006Z] Removing intermediate container 4c71fc42371e [2023-03-14T20:57:45.006Z] ---> acf2c3145a53 [2023-03-14T20:57:45.006Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-14T20:57:45.265Z] ---> Running in 601f92af2f12 [2023-03-14T20:57:45.265Z] Removing intermediate container 601f92af2f12 [2023-03-14T20:57:45.265Z] ---> bd1c9225bfa3 [2023-03-14T20:57:45.265Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T20:57:45.265Z] ---> Running in f905000f8d27 [2023-03-14T20:57:45.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:57:45.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:57:45.780Z] OK: 272 MiB in 67 packages [2023-03-14T20:57:46.349Z] Removing intermediate container f905000f8d27 [2023-03-14T20:57:46.349Z] ---> 9b59862312cf [2023-03-14T20:57:46.349Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-14T20:57:46.349Z] ---> Running in 261d3b538fb3 [2023-03-14T20:57:46.349Z] Removing intermediate container 261d3b538fb3 [2023-03-14T20:57:46.349Z] ---> db36b213a28d [2023-03-14T20:57:46.349Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-14T20:57:46.349Z] ---> f09420525d72 [2023-03-14T20:57:46.349Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:57:46.349Z] ---> Running in f0354dee7db3 [2023-03-14T20:57:47.283Z] Removing intermediate container f0354dee7db3 [2023-03-14T20:57:47.283Z] ---> 5fd32c3d39c4 [2023-03-14T20:57:47.283Z] Step 11/35 : COPY . . [2023-03-14T20:57:47.542Z] ---> d63c9d8c563e [2023-03-14T20:57:47.542Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-14T20:57:47.542Z] ---> Running in 836e868918f5 [2023-03-14T20:57:47.801Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T20:57:47.801Z] Dload Upload Total Spent Left Speed [2023-03-14T20:57:47.801Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 16661 0 --:--:-- --:--:-- --:--:-- 16857 [2023-03-14T20:57:48.365Z] Removing intermediate container 836e868918f5 [2023-03-14T20:57:48.365Z] ---> 75649f4bb10e [2023-03-14T20:57:48.365Z] Step 13/35 : RUN ${MAKE} [2023-03-14T20:57:48.365Z] ---> Running in a39ea65cb217 [2023-03-14T20:57:48.624Z] 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-03-14T20:58:06.713Z] Removing intermediate container a39ea65cb217 [2023-03-14T20:58:06.713Z] ---> cf85fc0da91d [2023-03-14T20:58:06.713Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-14T20:58:06.974Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-14T20:58:06.974Z] 4acc49c71d14: Pulling fs layer [2023-03-14T20:58:07.232Z] 4acc49c71d14: Download complete [2023-03-14T20:58:07.491Z] 4acc49c71d14: Pull complete [2023-03-14T20:58:07.491Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-14T20:58:07.491Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-14T20:58:07.491Z] ---> 01a2bd3e5fff [2023-03-14T20:58:07.491Z] Step 15/35 : FROM alpine:3.17 [2023-03-14T20:58:08.061Z] 3.17: Pulling from library/alpine [2023-03-14T20:58:08.061Z] 63b65145d645: Already exists [2023-03-14T20:58:08.061Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T20:58:08.061Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T20:58:08.061Z] ---> b2aa39c304c2 [2023-03-14T20:58:08.061Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-14T20:58:08.319Z] ---> Running in 6e6394b2ffed [2023-03-14T20:58:08.319Z] Removing intermediate container 6e6394b2ffed [2023-03-14T20:58:08.319Z] ---> f01c992f3e70 [2023-03-14T20:58:08.319Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-14T20:58:08.319Z] ---> Running in ac6e49fe54d5 [2023-03-14T20:58:08.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:58:08.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:58:08.835Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-03-14T20:58:08.835Z] (2/86) Installing sdl2 (2.26.3-r0) [2023-03-14T20:58:08.835Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-03-14T20:58:09.093Z] (4/86) Installing libxau (1.0.10-r0) [2023-03-14T20:58:09.093Z] (5/86) Installing libmd (1.0.4-r0) [2023-03-14T20:58:09.093Z] (6/86) Installing libbsd (0.11.7-r0) [2023-03-14T20:58:09.093Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-03-14T20:58:09.093Z] (8/86) Installing libxcb (1.15-r0) [2023-03-14T20:58:09.093Z] (9/86) Installing libx11 (1.8.4-r0) [2023-03-14T20:58:09.093Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-03-14T20:58:09.093Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-03-14T20:58:09.093Z] (12/86) Installing libexpat (2.5.0-r0) [2023-03-14T20:58:09.093Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-03-14T20:58:09.093Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-03-14T20:58:09.093Z] (15/86) Installing libpng (1.6.38-r0) [2023-03-14T20:58:09.093Z] (16/86) Installing freetype (2.12.1-r0) [2023-03-14T20:58:09.093Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-03-14T20:58:09.093Z] (18/86) Installing fribidi (1.0.12-r0) [2023-03-14T20:58:09.093Z] (19/86) Installing libffi (3.4.4-r0) [2023-03-14T20:58:09.093Z] (20/86) Installing libintl (0.21.1-r1) [2023-03-14T20:58:09.093Z] (21/86) Installing libblkid (2.38.1-r1) [2023-03-14T20:58:09.093Z] (22/86) Installing libmount (2.38.1-r1) [2023-03-14T20:58:09.093Z] (23/86) Installing pcre2 (10.42-r0) [2023-03-14T20:58:09.351Z] (24/86) Installing glib (2.74.6-r0) [2023-03-14T20:58:09.351Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-03-14T20:58:09.351Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-03-14T20:58:09.351Z] (27/86) Installing libass (0.16.0-r1) [2023-03-14T20:58:09.351Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-03-14T20:58:09.351Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-03-14T20:58:09.351Z] (30/86) Installing libpciaccess (0.17-r0) [2023-03-14T20:58:09.351Z] (31/86) Installing libdrm (2.4.114-r0) [2023-03-14T20:58:09.351Z] (32/86) Installing gmp (6.2.1-r2) [2023-03-14T20:58:09.351Z] (33/86) Installing nettle (3.8.1-r0) [2023-03-14T20:58:09.351Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-03-14T20:58:09.351Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-03-14T20:58:09.351Z] (36/86) Installing libunistring (1.1-r0) [2023-03-14T20:58:09.351Z] (37/86) Installing gnutls (3.7.8-r3) [2023-03-14T20:58:09.351Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-03-14T20:58:09.351Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-03-14T20:58:09.351Z] (40/86) Installing lame (3.100-r2) [2023-03-14T20:58:09.351Z] (41/86) Installing opus (1.3.1-r1) [2023-03-14T20:58:09.351Z] (42/86) Installing libasyncns (0.8-r1) [2023-03-14T20:58:09.351Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-03-14T20:58:09.609Z] (44/86) Installing libltdl (2.4.7-r1) [2023-03-14T20:58:09.609Z] (45/86) Installing orc (0.4.33-r0) [2023-03-14T20:58:09.609Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-03-14T20:58:09.609Z] (47/86) Installing libogg (1.3.5-r2) [2023-03-14T20:58:09.609Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-03-14T20:58:09.609Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-03-14T20:58:09.609Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-03-14T20:58:09.609Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-03-14T20:58:09.609Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-03-14T20:58:09.609Z] (53/86) Installing soxr (0.1.3-r3) [2023-03-14T20:58:09.609Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-03-14T20:58:09.609Z] (55/86) Installing tdb-libs (1.4.7-r0) [2023-03-14T20:58:09.609Z] (56/86) Installing libpulse (16.1-r6) [2023-03-14T20:58:09.609Z] (57/86) Installing cjson (1.7.15-r3) [2023-03-14T20:58:09.609Z] (58/86) Installing mbedtls (2.28.2-r0) [2023-03-14T20:58:09.609Z] (59/86) Installing librist (0.2.7-r0) [2023-03-14T20:58:09.609Z] (60/86) Installing libsrt (1.5.1-r0) [2023-03-14T20:58:09.609Z] (61/86) Installing libssh (0.10.4-r0) [2023-03-14T20:58:09.609Z] (62/86) Installing libtheora (1.1.1-r16) [2023-03-14T20:58:09.609Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-03-14T20:58:09.609Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-03-14T20:58:09.609Z] (65/86) Installing libxext (1.3.5-r0) [2023-03-14T20:58:09.609Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-03-14T20:58:09.609Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-03-14T20:58:09.609Z] (68/86) Installing libva (2.16.0-r0) [2023-03-14T20:58:09.609Z] (69/86) Installing libvdpau (1.5-r0) [2023-03-14T20:58:09.609Z] (70/86) Installing vidstab (1.1.0-r2) [2023-03-14T20:58:09.609Z] (71/86) Installing libvpx (1.12.0-r1) [2023-03-14T20:58:09.869Z] (72/86) Installing libwebp (1.2.4-r1) [2023-03-14T20:58:09.869Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-03-14T20:58:09.869Z] (74/86) Installing numactl (2.0.16-r1) [2023-03-14T20:58:09.869Z] (75/86) Installing x265-libs (3.5-r3) [2023-03-14T20:58:09.869Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-03-14T20:58:09.869Z] (77/86) Installing libsodium (1.0.18-r2) [2023-03-14T20:58:09.869Z] (78/86) Installing libzmq (4.3.4-r1) [2023-03-14T20:58:09.869Z] (79/86) Installing ffmpeg-libs (5.1.2-r1) [2023-03-14T20:58:10.127Z] (80/86) Installing ffmpeg (5.1.2-r1) [2023-03-14T20:58:10.127Z] (81/86) Installing udev-init-scripts (35-r1) [2023-03-14T20:58:10.127Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-03-14T20:58:10.127Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-03-14T20:58:10.127Z] (84/86) Installing zstd-libs (1.5.2-r9) [2023-03-14T20:58:10.127Z] (85/86) Installing kmod-libs (30-r1) [2023-03-14T20:58:10.127Z] (86/86) Installing eudev (3.2.11-r4) [2023-03-14T20:58:10.127Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:58:10.127Z] Executing eudev-3.2.11-r4.trigger [2023-03-14T20:58:10.127Z] OK: 111 MiB in 101 packages [2023-03-14T20:58:11.504Z] Removing intermediate container ac6e49fe54d5 [2023-03-14T20:58:11.504Z] ---> 37835590d1c3 [2023-03-14T20:58:11.504Z] Step 18/35 : WORKDIR / [2023-03-14T20:58:11.763Z] ---> Running in 1267cc9f6142 [2023-03-14T20:58:11.763Z] Removing intermediate container 1267cc9f6142 [2023-03-14T20:58:11.763Z] ---> 23dd5c6d6597 [2023-03-14T20:58:11.763Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-14T20:58:12.331Z] ---> 003314c2fa84 [2023-03-14T20:58:12.331Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-14T20:58:12.331Z] ---> f44c955de346 [2023-03-14T20:58:12.331Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-14T20:58:12.590Z] ---> 3b2f47573c5d [2023-03-14T20:58:12.590Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-14T20:58:12.590Z] ---> a6fe7f0ad7d2 [2023-03-14T20:58:12.590Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-14T20:58:12.849Z] ---> d0315ecb4369 [2023-03-14T20:58:12.849Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-14T20:58:12.849Z] ---> 1f077fc630c6 [2023-03-14T20:58:12.849Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-14T20:58:13.424Z] ---> d44be48b3b72 [2023-03-14T20:58:13.424Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-14T20:58:13.424Z] ---> Running in f095549a640e [2023-03-14T20:58:13.990Z] Removing intermediate container f095549a640e [2023-03-14T20:58:13.990Z] ---> 95ea174c40b1 [2023-03-14T20:58:13.990Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-14T20:58:13.990Z] ---> Running in 172038d131ea [2023-03-14T20:58:14.925Z] Removing intermediate container 172038d131ea [2023-03-14T20:58:14.925Z] ---> be675f5b81ac [2023-03-14T20:58:14.925Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-14T20:58:14.925Z] ---> Running in 9fa4349adac7 [2023-03-14T20:58:15.490Z] Removing intermediate container 9fa4349adac7 [2023-03-14T20:58:15.491Z] ---> a6d5bd604cfa [2023-03-14T20:58:15.491Z] Step 29/35 : EXPOSE 59983 [2023-03-14T20:58:15.491Z] ---> Running in f378dcb2a7a0 [2023-03-14T20:58:15.748Z] Removing intermediate container f378dcb2a7a0 [2023-03-14T20:58:15.748Z] ---> 0d9a06808cbb [2023-03-14T20:58:15.748Z] Step 30/35 : EXPOSE 8554 [2023-03-14T20:58:15.748Z] ---> Running in 3dfa852ec5db [2023-03-14T20:58:15.748Z] Removing intermediate container 3dfa852ec5db [2023-03-14T20:58:15.748Z] ---> d15e3a07b079 [2023-03-14T20:58:15.748Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-14T20:58:15.748Z] ---> Running in 081024df1223 [2023-03-14T20:58:15.748Z] Removing intermediate container 081024df1223 [2023-03-14T20:58:15.748Z] ---> 498bdb5979d2 [2023-03-14T20:58:15.748Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-14T20:58:15.748Z] ---> Running in 06ac11d11889 [2023-03-14T20:58:16.007Z] Removing intermediate container 06ac11d11889 [2023-03-14T20:58:16.007Z] ---> 4b99c274dd8c [2023-03-14T20:58:16.007Z] Step 33/35 : LABEL arch=amd64 [2023-03-14T20:58:16.007Z] ---> Running in 0ad24f1f6e29 [2023-03-14T20:58:16.007Z] Removing intermediate container 0ad24f1f6e29 [2023-03-14T20:58:16.007Z] ---> 9f2091cfe9f4 [2023-03-14T20:58:16.007Z] Step 34/35 : LABEL git_sha=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [2023-03-14T20:58:16.007Z] ---> Running in 6d9e64cf1b8a [2023-03-14T20:58:16.264Z] Removing intermediate container 6d9e64cf1b8a [2023-03-14T20:58:16.264Z] ---> 3ca3e18d611f [2023-03-14T20:58:16.264Z] Step 35/35 : LABEL version=0.0.0 [2023-03-14T20:58:16.264Z] ---> Running in 0002ff1a2f02 [2023-03-14T20:58:16.264Z] Removing intermediate container 0002ff1a2f02 [2023-03-14T20:58:16.264Z] ---> c19f669dc3ab [2023-03-14T20:58:16.264Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T20:58:16.264Z] Successfully built c19f669dc3ab [2023-03-14T20:58:16.264Z] 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-03-14T20:58:17.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:58:17.096Z] [2023-03-14T20:58:17.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:17.465Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:58:17.465Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T20:58:17.465Z] 5eb5b503b376: Pulling fs layer [2023-03-14T20:58:17.465Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T20:58:17.465Z] ec43610c2a17: Pulling fs layer [2023-03-14T20:58:17.465Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T20:58:17.465Z] 33b1e0a273af: Pulling fs layer [2023-03-14T20:58:17.465Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T20:58:17.465Z] 2f39f015ded8: Pulling fs layer [2023-03-14T20:58:17.465Z] 33b1e0a273af: Waiting [2023-03-14T20:58:17.465Z] 5d3b04190fa2: Waiting [2023-03-14T20:58:17.465Z] 2f39f015ded8: Waiting [2023-03-14T20:58:17.465Z] 3a2ae6a8a46f: Waiting [2023-03-14T20:58:17.465Z] 5c69ac0246d0: Download complete [2023-03-14T20:58:17.465Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T20:58:17.465Z] 3a2ae6a8a46f: Download complete [2023-03-14T20:58:17.724Z] 33b1e0a273af: Verifying Checksum [2023-03-14T20:58:17.724Z] 33b1e0a273af: Download complete [2023-03-14T20:58:17.724Z] ec43610c2a17: Verifying Checksum [2023-03-14T20:58:17.724Z] ec43610c2a17: Download complete [2023-03-14T20:58:17.724Z] 5d3b04190fa2: Download complete [2023-03-14T20:58:17.724Z] 5eb5b503b376: Verifying Checksum [2023-03-14T20:58:17.724Z] 5eb5b503b376: Download complete [2023-03-14T20:58:18.289Z] 2f39f015ded8: Download complete [2023-03-14T20:58:18.854Z] 5eb5b503b376: Pull complete [2023-03-14T20:58:18.854Z] 5c69ac0246d0: Pull complete [2023-03-14T20:58:19.422Z] ec43610c2a17: Pull complete [2023-03-14T20:58:19.422Z] 3a2ae6a8a46f: Pull complete [2023-03-14T20:58:19.682Z] 33b1e0a273af: Pull complete [2023-03-14T20:58:19.682Z] 5d3b04190fa2: Pull complete [2023-03-14T20:58:23.863Z] 2f39f015ded8: Pull complete [2023-03-14T20:58:23.863Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T20:58:23.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:58:23.863Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:58:24.067Z] prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container [2023-03-14T20:58:24.098Z] $ 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-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T20:58:25.567Z] $ docker top 51c6674d8df653079ed8ffd72902122527b8667208ac500ebdaa0e5dbe912062 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:58:26.005Z] ---> job-cost.sh [2023-03-14T20:58:26.005Z] lf-activate-venv: SKIPPING [2023-03-14T20:58:26.005Z] INFO: No Stack... [2023-03-14T20:58:26.264Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T20:58:26.522Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T20:58:26.844Z] + cat /w/workspace/foundry_device-usb-camera_PR-183/archives/cost.csv [2023-03-14T20:58:26.844Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T20:58:26.881Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [2023-03-14T20:58:26.886Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] did not exist. Created. [2023-03-14T20:58:26.886Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T20:58:27.271Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T20:58:27.323Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T20:58:27.350Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T20:58:27.431Z] $ docker stop --time=1 51c6674d8df653079ed8ffd72902122527b8667208ac500ebdaa0e5dbe912062 [2023-03-14T20:58:28.601Z] $ docker rm -f --volumes 51c6674d8df653079ed8ffd72902122527b8667208ac500ebdaa0e5dbe912062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T20:59:19.035Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-262 in /w/workspace/foundry_device-usb-camera_PR-183 [Pipeline] { [Pipeline] ws [2023-03-14T20:59:19.089Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-14T20:59:19.173Z] Selected Git installation does not exist. Using Default [2023-03-14T20:59:19.173Z] The recommended git tool is: NONE [2023-03-14T20:59:25.561Z] using credential edgex-jenkins-ssh [2023-03-14T20:59:25.577Z] Cloning the remote Git repository [2023-03-14T20:59:25.629Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-14T20:59:25.734Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-14T20:59:25.904Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-14T20:59:25.906Z] > git --version # timeout=10 [2023-03-14T20:59:25.928Z] > git --version # 'git version 2.25.1' [2023-03-14T20:59:25.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T20:59:26.133Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T20:59:26.964Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-14T20:59:27.000Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T20:59:28.796Z] Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [2023-03-14T20:59:29.108Z] Merge succeeded, producing 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [2023-03-14T20:59:29.108Z] Checking out Revision 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e (PR-183) [2023-03-14T20:59:28.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-14T20:59:28.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-14T20:59:28.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T20:59:28.220Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T20:59:28.820Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T20:59:28.895Z] > git checkout -f 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e # timeout=10 [2023-03-14T20:59:28.999Z] > git remote # timeout=10 [2023-03-14T20:59:29.021Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T20:59:29.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T20:59:29.061Z] > git merge ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 [2023-03-14T20:59:29.091Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T20:59:29.119Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T20:59:29.136Z] > git checkout -f 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e # timeout=10 [2023-03-14T20:59:32.661Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [2023-03-14T20:59:32.732Z] > git --version # timeout=10 [2023-03-14T20:59:32.747Z] > git --version # 'git version 2.25.1' [2023-03-14T20:59:32.770Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T20:59:34.053Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T20:59:34.053Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T20:59:34.053Z] Dload Upload Total Spent Left Speed [2023-03-14T20:59:34.053Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72039 0 --:--:-- --:--:-- --:--:-- 72039 100 12751 100 12751 0 0 71634 0 --:--:-- --:--:-- --:--:-- 71234 [Pipeline] sh [2023-03-14T20:59:34.917Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T20:59:35.262Z] + sudo tee /etc/docker/daemon.new [2023-03-14T20:59:35.262Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T20:59:35.262Z] { [2023-03-14T20:59:35.262Z] "registry-mirrors": [ [2023-03-14T20:59:35.262Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T20:59:35.262Z] ], [2023-03-14T20:59:35.262Z] "bip": "10.250.0.254/24", [2023-03-14T20:59:35.262Z] "hosts": [ [2023-03-14T20:59:35.262Z] "tcp://0.0.0.0:5555", [2023-03-14T20:59:35.262Z] "unix:///var/run/docker.sock" [2023-03-14T20:59:35.262Z] ], [2023-03-14T20:59:35.262Z] "mtu": 1458, [2023-03-14T20:59:35.262Z] "selinux-enabled": true, [2023-03-14T20:59:35.262Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T20:59:35.262Z] } [Pipeline] sh [2023-03-14T20:59:35.615Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T20:59:35.983Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T20:59:54.355Z] provisioning config files... [2023-03-14T20:59:54.393Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config11771141017648542692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:59:54.810Z] ---> docker-login.sh [2023-03-14T20:59:54.810Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:59:55.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:55.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:55.402Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:55.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:55.402Z] [2023-03-14T20:59:55.402Z] Login Succeeded [2023-03-14T20:59:55.673Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:59:55.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:55.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:55.945Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:55.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:55.945Z] [2023-03-14T20:59:55.945Z] Login Succeeded [2023-03-14T20:59:55.945Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:59:56.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:56.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:56.490Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:56.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:56.490Z] [2023-03-14T20:59:56.490Z] Login Succeeded [2023-03-14T20:59:56.490Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:59:56.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:56.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:56.761Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:56.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:56.761Z] [2023-03-14T20:59:56.761Z] Login Succeeded [2023-03-14T20:59:56.761Z] docker.io [2023-03-14T20:59:57.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:57.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:57.302Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:57.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:57.302Z] [2023-03-14T20:59:57.302Z] Login Succeeded [2023-03-14T20:59:57.302Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:59:57.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T20:59:57.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:59:57.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:59:57.855Z] ========================================================= [2023-03-14T20:59:57.855Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T20:59:57.855Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:58.369Z] + 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-03-14T20:59:58.639Z] Sending build context to Docker daemon 1.184MB [2023-03-14T20:59:58.639Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:59:58.639Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-14T20:59:58.916Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T20:59:58.916Z] af6eaf76a39c: Pulling fs layer [2023-03-14T20:59:58.916Z] 55522c791124: Pulling fs layer [2023-03-14T20:59:58.916Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T20:59:58.916Z] 169dfbe0d373: Pulling fs layer [2023-03-14T20:59:58.916Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T20:59:58.916Z] 169dfbe0d373: Waiting [2023-03-14T20:59:58.916Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T20:59:58.916Z] e1ff8fa3b103: Waiting [2023-03-14T20:59:58.916Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T20:59:58.916Z] 52ebb69f0ebf: Waiting [2023-03-14T20:59:58.916Z] 5abe8eddf0d5: Waiting [2023-03-14T20:59:58.916Z] 55522c791124: Verifying Checksum [2023-03-14T20:59:58.916Z] 55522c791124: Download complete [2023-03-14T20:59:58.916Z] 169dfbe0d373: Verifying Checksum [2023-03-14T20:59:58.916Z] 169dfbe0d373: Download complete [2023-03-14T20:59:58.916Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T20:59:58.916Z] e1ff8fa3b103: Download complete [2023-03-14T20:59:59.200Z] af6eaf76a39c: Download complete [2023-03-14T21:00:00.201Z] af6eaf76a39c: Pull complete [2023-03-14T21:00:00.201Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T21:00:00.201Z] 5abe8eddf0d5: Download complete [2023-03-14T21:00:00.805Z] 55522c791124: Pull complete [2023-03-14T21:00:01.803Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T21:00:01.803Z] 52ebb69f0ebf: Download complete [2023-03-14T21:00:01.803Z] ce5c4a1c91eb: Download complete [2023-03-14T21:00:14.169Z] ce5c4a1c91eb: Pull complete [2023-03-14T21:00:14.169Z] 169dfbe0d373: Pull complete [2023-03-14T21:00:14.169Z] e1ff8fa3b103: Pull complete [2023-03-14T21:00:20.866Z] 52ebb69f0ebf: Pull complete [2023-03-14T21:00:22.841Z] 5abe8eddf0d5: Pull complete [2023-03-14T21:00:22.841Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T21:00:22.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T21:00:22.841Z] ---> 6cb57ee374ae [2023-03-14T21:00:22.841Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:00:24.812Z] ---> Running in aa396b4e3f7d [2023-03-14T21:00:25.413Z] Removing intermediate container aa396b4e3f7d [2023-03-14T21:00:25.413Z] ---> 3f7269a45083 [2023-03-14T21:00:25.413Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:00:25.413Z] ---> Running in 0ae6bf2a2ebb [2023-03-14T21:00:25.684Z] Removing intermediate container 0ae6bf2a2ebb [2023-03-14T21:00:25.684Z] ---> e889b1126168 [2023-03-14T21:00:25.684Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-14T21:00:25.684Z] ---> Running in af87986867a9 [2023-03-14T21:00:26.271Z] Removing intermediate container af87986867a9 [2023-03-14T21:00:26.271Z] ---> 1c8f22a61826 [2023-03-14T21:00:26.271Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-14T21:00:26.271Z] ---> Running in 970dd524c024 [2023-03-14T21:00:26.543Z] Removing intermediate container 970dd524c024 [2023-03-14T21:00:26.543Z] ---> e7fd308b8327 [2023-03-14T21:00:26.543Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T21:00:26.543Z] ---> Running in 11c7a9275765 [2023-03-14T21:00:27.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:00:28.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:00:29.512Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-14T21:00:29.512Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-14T21:00:29.512Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-14T21:00:29.512Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-14T21:00:29.512Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-14T21:00:29.512Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-14T21:00:29.512Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-14T21:00:29.512Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-14T21:00:29.512Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-14T21:00:29.786Z] (10/14) Installing kmod-libs (30-r1) [2023-03-14T21:00:29.786Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-14T21:00:29.786Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-14T21:00:29.786Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-14T21:00:29.786Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-14T21:00:29.786Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:00:29.786Z] Executing eudev-3.2.11-r4.trigger [2023-03-14T21:00:29.786Z] OK: 271 MiB in 67 packages [2023-03-14T21:00:31.204Z] Removing intermediate container 11c7a9275765 [2023-03-14T21:00:31.204Z] ---> da13b195e247 [2023-03-14T21:00:31.204Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-14T21:00:31.204Z] ---> Running in 4199c249e679 [2023-03-14T21:00:31.493Z] Removing intermediate container 4199c249e679 [2023-03-14T21:00:31.493Z] ---> cd2d8015c5eb [2023-03-14T21:00:31.493Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-14T21:00:32.086Z] ---> 15cd43427bed [2023-03-14T21:00:32.086Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:00:32.372Z] ---> Running in b52fcd7ffcbd [2023-03-14T21:01:40.298Z] Removing intermediate container b52fcd7ffcbd [2023-03-14T21:01:40.298Z] ---> d339af4b6faa [2023-03-14T21:01:40.298Z] Step 11/13 : COPY . . [2023-03-14T21:01:40.298Z] ---> 923b0acd4be7 [2023-03-14T21:01:40.298Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-14T21:01:40.298Z] ---> Running in 459f46c24caf [2023-03-14T21:01:40.298Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:01:40.299Z] Dload Upload Total Spent Left Speed [2023-03-14T21:01:40.299Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100  1062 100 1062 0 0 3425 0 --:--:-- --:--:-- --:--:-- 3436 [2023-03-14T21:01:40.299Z] Removing intermediate container 459f46c24caf [2023-03-14T21:01:40.299Z] ---> 45ea5a60c7b6 [2023-03-14T21:01:40.299Z] Step 13/13 : RUN ${MAKE} [2023-03-14T21:01:40.299Z] ---> Running in e105dd00a6ae [2023-03-14T21:01:40.299Z] noop [2023-03-14T21:01:40.299Z] Removing intermediate container e105dd00a6ae [2023-03-14T21:01:40.299Z] ---> cdda5c0ce894 [2023-03-14T21:01:40.299Z] Successfully built cdda5c0ce894 [2023-03-14T21:01:40.299Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:01:40.777Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T21:01:40.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:01:41.057Z] prd-ubuntu20.04-docker-arm64-4c-16g-262 does not seem to be running inside a container [2023-03-14T21:01:41.128Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T21:01:42.367Z] $ docker top 5e9060fcbb358be5602cad23b550f83d0873a15301580d9fb1ee18c57a723562 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:01:43.294Z] + go version [2023-03-14T21:01:43.294Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T21:01:43.332Z] $ docker stop --time=1 5e9060fcbb358be5602cad23b550f83d0873a15301580d9fb1ee18c57a723562 [2023-03-14T21:01:45.008Z] $ docker rm -f --volumes 5e9060fcbb358be5602cad23b550f83d0873a15301580d9fb1ee18c57a723562 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:01:45.871Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T21:01:45.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:01:46.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-262 does not seem to be running inside a container [2023-03-14T21:01:46.219Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T21:01:47.444Z] $ docker top 80b3b754eb67240f81b774c69988e2570fe95459e06fde2c51567b0722cf7186 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:01:48.324Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T21:01:49.047Z] + make test [2023-03-14T21:01:49.047Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T21:02:27.936Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-14T21:05:04.674Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-14T21:05:04.674Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.078s coverage: 2.0% of statements [2023-03-14T21:05:04.674Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T21:05:04.674Z] go vet ./... [2023-03-14T21:05:31.389Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T21:05:31.389Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T21:05:31.389Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T21:05:31.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T21:05:31.459Z] $ docker stop --time=1 80b3b754eb67240f81b774c69988e2570fe95459e06fde2c51567b0722cf7186 [2023-03-14T21:05:33.331Z] $ docker rm -f --volumes 80b3b754eb67240f81b774c69988e2570fe95459e06fde2c51567b0722cf7186 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T21:05:34.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T21:05:34.697Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T21:05:35.264Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T21:05:35.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T21:05:36.332Z] + ls -al . [2023-03-14T21:05:36.332Z] total 184 [2023-03-14T21:05:36.332Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 21:01 . [2023-03-14T21:05:36.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:59 .. [2023-03-14T21:05:36.332Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:59 .git [2023-03-14T21:05:36.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:59 .github [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 14 20:59 .gitignore [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 20:59 .golangci.yml [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 14 20:59 .hadolint.yml [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 14 20:59 Attribution.txt [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 14 20:59 CHANGELOG.md [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 14 20:59 Dockerfile [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 20:59 GOVERNANCE.md [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 14 20:59 Jenkinsfile [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 14 20:59 LICENSE [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 2364 Mar 14 20:59 Makefile [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:59 OWNERS.md [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 5271 Mar 14 20:59 README.md [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:56 VERSION [2023-03-14T21:05:36.332Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:59 bin [2023-03-14T21:05:36.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:59 cmd [2023-03-14T21:05:36.332Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 14 21:04 coverage.out [2023-03-14T21:05:36.332Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 14 20:59 docker-entrypoint.sh [2023-03-14T21:05:36.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:59 docs [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 14 20:59 go.mod [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 31546 Mar 14 20:59 go.sum [2023-03-14T21:05:36.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:59 internal [2023-03-14T21:05:36.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:59 snap [2023-03-14T21:05:36.332Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 14 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:05:36.769Z] + 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=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e --label arch=arm64 --label version=0.0.0 . [2023-03-14T21:05:37.042Z] Sending build context to Docker daemon 1.213MB [2023-03-14T21:05:37.042Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:05:37.042Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-14T21:05:37.042Z] ---> cdda5c0ce894 [2023-03-14T21:05:37.042Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:05:37.313Z] ---> Running in 5aa0db78edb7 [2023-03-14T21:05:37.607Z] Removing intermediate container 5aa0db78edb7 [2023-03-14T21:05:37.607Z] ---> 14c47d2732d4 [2023-03-14T21:05:37.607Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:05:37.607Z] ---> Running in 819b1f91b73a [2023-03-14T21:05:38.238Z] Removing intermediate container 819b1f91b73a [2023-03-14T21:05:38.238Z] ---> 07c6440872f5 [2023-03-14T21:05:38.238Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-14T21:05:38.238Z] ---> Running in ca35fe71b94d [2023-03-14T21:05:38.516Z] Removing intermediate container ca35fe71b94d [2023-03-14T21:05:38.516Z] ---> d84b7990e970 [2023-03-14T21:05:38.516Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-14T21:05:38.516Z] ---> Running in 8389618466ba [2023-03-14T21:05:42.790Z] Removing intermediate container 8389618466ba [2023-03-14T21:05:42.790Z] ---> 352d367f7f02 [2023-03-14T21:05:42.790Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T21:05:42.790Z] ---> Running in 4fa68f5483de [2023-03-14T21:05:43.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:05:44.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:05:45.772Z] OK: 271 MiB in 67 packages [2023-03-14T21:05:46.362Z] Removing intermediate container 4fa68f5483de [2023-03-14T21:05:46.362Z] ---> a310a51ace24 [2023-03-14T21:05:46.362Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-14T21:05:46.632Z] ---> Running in 2f189b9a9d0b [2023-03-14T21:05:46.902Z] Removing intermediate container 2f189b9a9d0b [2023-03-14T21:05:46.902Z] ---> e244795f3055 [2023-03-14T21:05:46.902Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-14T21:05:47.500Z] ---> 5288f8c47485 [2023-03-14T21:05:47.500Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:05:47.500Z] ---> Running in 24ce07ab015a [2023-03-14T21:05:52.891Z] Removing intermediate container 24ce07ab015a [2023-03-14T21:05:52.891Z] ---> 6f226aae36d2 [2023-03-14T21:05:52.891Z] Step 11/35 : COPY . . [2023-03-14T21:05:53.487Z] ---> ccf5b727100f [2023-03-14T21:05:53.487Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-14T21:05:53.487Z] ---> Running in 5cd40d9ff7fd [2023-03-14T21:05:54.914Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:05:54.914Z] Dload Upload Total Spent Left Speed [2023-03-14T21:05:54.914Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2553 0 --:--:-- --:--:-- --:--:-- 2565 [2023-03-14T21:05:55.888Z] Removing intermediate container 5cd40d9ff7fd [2023-03-14T21:05:55.888Z] ---> b97e554f5736 [2023-03-14T21:05:55.888Z] Step 13/35 : RUN ${MAKE} [2023-03-14T21:05:55.888Z] ---> Running in 79d0615ee09b [2023-03-14T21:05:57.316Z] 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-03-14T21:08:49.138Z] Removing intermediate container 79d0615ee09b [2023-03-14T21:08:49.138Z] ---> b7663edcfb16 [2023-03-14T21:08:49.138Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-14T21:08:49.138Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-14T21:08:49.138Z] 8766b47fe142: Pulling fs layer [2023-03-14T21:08:49.138Z] 8766b47fe142: Verifying Checksum [2023-03-14T21:08:49.138Z] 8766b47fe142: Download complete [2023-03-14T21:08:49.138Z] 8766b47fe142: Pull complete [2023-03-14T21:08:49.138Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-14T21:08:49.138Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-14T21:08:49.138Z] ---> 69d40e2cb93c [2023-03-14T21:08:49.138Z] Step 15/35 : FROM alpine:3.17 [2023-03-14T21:08:49.723Z] 3.17: Pulling from library/alpine [2023-03-14T21:08:49.723Z] af6eaf76a39c: Already exists [2023-03-14T21:08:49.990Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T21:08:49.990Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T21:08:49.990Z] ---> d74e625d9115 [2023-03-14T21:08:49.990Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-14T21:08:50.258Z] ---> Running in e81b19122467 [2023-03-14T21:08:50.535Z] Removing intermediate container e81b19122467 [2023-03-14T21:08:50.535Z] ---> 3a96886fb832 [2023-03-14T21:08:50.535Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-14T21:08:50.535Z] ---> Running in 46d2c28a4e7b [2023-03-14T21:08:51.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:08:52.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:08:53.431Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-03-14T21:08:53.431Z] (2/83) Installing sdl2 (2.26.3-r0) [2023-03-14T21:08:53.431Z] (3/83) Installing libxau (1.0.10-r0) [2023-03-14T21:08:53.698Z] (4/83) Installing libmd (1.0.4-r0) [2023-03-14T21:08:53.698Z] (5/83) Installing libbsd (0.11.7-r0) [2023-03-14T21:08:53.698Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-03-14T21:08:53.698Z] (7/83) Installing libxcb (1.15-r0) [2023-03-14T21:08:53.698Z] (8/83) Installing libx11 (1.8.4-r0) [2023-03-14T21:08:53.698Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-03-14T21:08:53.964Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-03-14T21:08:53.964Z] (11/83) Installing libexpat (2.5.0-r0) [2023-03-14T21:08:53.964Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-03-14T21:08:53.964Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-03-14T21:08:53.964Z] (14/83) Installing libpng (1.6.38-r0) [2023-03-14T21:08:53.964Z] (15/83) Installing freetype (2.12.1-r0) [2023-03-14T21:08:54.231Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-03-14T21:08:54.231Z] (17/83) Installing fribidi (1.0.12-r0) [2023-03-14T21:08:54.231Z] (18/83) Installing libffi (3.4.4-r0) [2023-03-14T21:08:54.231Z] (19/83) Installing libintl (0.21.1-r1) [2023-03-14T21:08:54.231Z] (20/83) Installing libblkid (2.38.1-r1) [2023-03-14T21:08:54.231Z] (21/83) Installing libmount (2.38.1-r1) [2023-03-14T21:08:54.231Z] (22/83) Installing pcre2 (10.42-r0) [2023-03-14T21:08:54.231Z] (23/83) Installing glib (2.74.6-r0) [2023-03-14T21:08:54.231Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-03-14T21:08:54.498Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-03-14T21:08:54.498Z] (26/83) Installing libass (0.16.0-r1) [2023-03-14T21:08:54.498Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-03-14T21:08:54.498Z] (28/83) Installing libdrm (2.4.114-r0) [2023-03-14T21:08:54.498Z] (29/83) Installing gmp (6.2.1-r2) [2023-03-14T21:08:54.498Z] (30/83) Installing nettle (3.8.1-r0) [2023-03-14T21:08:54.498Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-03-14T21:08:54.498Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-03-14T21:08:54.498Z] (33/83) Installing libunistring (1.1-r0) [2023-03-14T21:08:54.766Z] (34/83) Installing gnutls (3.7.8-r3) [2023-03-14T21:08:54.766Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-03-14T21:08:54.766Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-03-14T21:08:54.766Z] (37/83) Installing lame (3.100-r2) [2023-03-14T21:08:54.766Z] (38/83) Installing opus (1.3.1-r1) [2023-03-14T21:08:54.766Z] (39/83) Installing libasyncns (0.8-r1) [2023-03-14T21:08:54.766Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-03-14T21:08:54.766Z] (41/83) Installing libltdl (2.4.7-r1) [2023-03-14T21:08:54.766Z] (42/83) Installing orc (0.4.33-r0) [2023-03-14T21:08:54.766Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-03-14T21:08:54.766Z] (44/83) Installing libogg (1.3.5-r2) [2023-03-14T21:08:54.766Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-03-14T21:08:55.035Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-03-14T21:08:55.035Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-03-14T21:08:55.035Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-03-14T21:08:55.035Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-03-14T21:08:55.035Z] (50/83) Installing soxr (0.1.3-r3) [2023-03-14T21:08:55.035Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-03-14T21:08:55.035Z] (52/83) Installing tdb-libs (1.4.7-r0) [2023-03-14T21:08:55.035Z] (53/83) Installing libpulse (16.1-r6) [2023-03-14T21:08:55.035Z] (54/83) Installing cjson (1.7.15-r3) [2023-03-14T21:08:55.035Z] (55/83) Installing mbedtls (2.28.2-r0) [2023-03-14T21:08:55.035Z] (56/83) Installing librist (0.2.7-r0) [2023-03-14T21:08:55.304Z] (57/83) Installing libsrt (1.5.1-r0) [2023-03-14T21:08:55.304Z] (58/83) Installing libssh (0.10.4-r0) [2023-03-14T21:08:55.304Z] (59/83) Installing libtheora (1.1.1-r16) [2023-03-14T21:08:55.304Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-03-14T21:08:55.304Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-03-14T21:08:55.304Z] (62/83) Installing libxext (1.3.5-r0) [2023-03-14T21:08:55.304Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-03-14T21:08:55.304Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-03-14T21:08:55.304Z] (65/83) Installing libva (2.16.0-r0) [2023-03-14T21:08:55.304Z] (66/83) Installing libvdpau (1.5-r0) [2023-03-14T21:08:55.304Z] (67/83) Installing vidstab (1.1.0-r2) [2023-03-14T21:08:55.304Z] (68/83) Installing libvpx (1.12.0-r1) [2023-03-14T21:08:55.571Z] (69/83) Installing libwebp (1.2.4-r1) [2023-03-14T21:08:55.571Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-03-14T21:08:55.571Z] (71/83) Installing numactl (2.0.16-r1) [2023-03-14T21:08:55.571Z] (72/83) Installing x265-libs (3.5-r3) [2023-03-14T21:08:55.838Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-03-14T21:08:55.838Z] (74/83) Installing libsodium (1.0.18-r2) [2023-03-14T21:08:55.838Z] (75/83) Installing libzmq (4.3.4-r1) [2023-03-14T21:08:55.838Z] (76/83) Installing ffmpeg-libs (5.1.2-r1) [2023-03-14T21:08:56.431Z] (77/83) Installing ffmpeg (5.1.2-r1) [2023-03-14T21:08:56.431Z] (78/83) Installing udev-init-scripts (35-r1) [2023-03-14T21:08:56.431Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-03-14T21:08:56.431Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-03-14T21:08:56.431Z] (81/83) Installing zstd-libs (1.5.2-r9) [2023-03-14T21:08:56.431Z] (82/83) Installing kmod-libs (30-r1) [2023-03-14T21:08:56.431Z] (83/83) Installing eudev (3.2.11-r4) [2023-03-14T21:08:56.431Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:08:56.431Z] Executing eudev-3.2.11-r4.trigger [2023-03-14T21:08:56.431Z] OK: 86 MiB in 98 packages [2023-03-14T21:08:59.788Z] Removing intermediate container 46d2c28a4e7b [2023-03-14T21:08:59.788Z] ---> 5de8b23a1ba9 [2023-03-14T21:08:59.788Z] Step 18/35 : WORKDIR / [2023-03-14T21:09:00.056Z] ---> Running in 1009cede73f3 [2023-03-14T21:09:00.324Z] Removing intermediate container 1009cede73f3 [2023-03-14T21:09:00.324Z] ---> 02552c832b0b [2023-03-14T21:09:00.324Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-14T21:09:01.733Z] ---> 76423082bf88 [2023-03-14T21:09:01.733Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-14T21:09:02.319Z] ---> 01c507e38106 [2023-03-14T21:09:02.319Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-14T21:09:02.901Z] ---> cf652de57e28 [2023-03-14T21:09:02.901Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-14T21:09:03.490Z] ---> 5db96d33525d [2023-03-14T21:09:03.490Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-14T21:09:04.091Z] ---> 9c723f81da38 [2023-03-14T21:09:04.091Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-14T21:09:04.675Z] ---> d017df0b2449 [2023-03-14T21:09:04.675Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-14T21:09:06.087Z] ---> 05f3308c7754 [2023-03-14T21:09:06.087Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-14T21:09:06.087Z] ---> Running in 1204e9b6d45d [2023-03-14T21:09:08.045Z] Removing intermediate container 1204e9b6d45d [2023-03-14T21:09:08.045Z] ---> 36408976bdf0 [2023-03-14T21:09:08.045Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-14T21:09:08.045Z] ---> Running in 94ff1263f29a [2023-03-14T21:09:09.998Z] Removing intermediate container 94ff1263f29a [2023-03-14T21:09:09.998Z] ---> a63fe7ba20dc [2023-03-14T21:09:09.998Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-14T21:09:09.998Z] ---> Running in 543bf0a1aa94 [2023-03-14T21:09:11.416Z] Removing intermediate container 543bf0a1aa94 [2023-03-14T21:09:11.416Z] ---> 788fd6ad2f41 [2023-03-14T21:09:11.416Z] Step 29/35 : EXPOSE 59983 [2023-03-14T21:09:11.684Z] ---> Running in 048713cbbd9c [2023-03-14T21:09:11.951Z] Removing intermediate container 048713cbbd9c [2023-03-14T21:09:11.951Z] ---> 51593eebe180 [2023-03-14T21:09:11.951Z] Step 30/35 : EXPOSE 8554 [2023-03-14T21:09:11.951Z] ---> Running in 7a3942479a5f [2023-03-14T21:09:12.224Z] Removing intermediate container 7a3942479a5f [2023-03-14T21:09:12.224Z] ---> a6ad88206fa5 [2023-03-14T21:09:12.224Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-14T21:09:12.491Z] ---> Running in 543b18ef2f4a [2023-03-14T21:09:12.759Z] Removing intermediate container 543b18ef2f4a [2023-03-14T21:09:12.759Z] ---> 9d10f86a6753 [2023-03-14T21:09:12.759Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-14T21:09:12.759Z] ---> Running in 857617a65e4b [2023-03-14T21:09:13.026Z] Removing intermediate container 857617a65e4b [2023-03-14T21:09:13.026Z] ---> 509b00a2835b [2023-03-14T21:09:13.026Z] Step 33/35 : LABEL arch=arm64 [2023-03-14T21:09:13.026Z] ---> Running in 7943ad3a2823 [2023-03-14T21:09:13.295Z] Removing intermediate container 7943ad3a2823 [2023-03-14T21:09:13.295Z] ---> 632abe15092c [2023-03-14T21:09:13.295Z] Step 34/35 : LABEL git_sha=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [2023-03-14T21:09:13.561Z] ---> Running in a74d5bb1ee57 [2023-03-14T21:09:13.830Z] Removing intermediate container a74d5bb1ee57 [2023-03-14T21:09:13.830Z] ---> df3c2a77534c [2023-03-14T21:09:13.830Z] Step 35/35 : LABEL version=0.0.0 [2023-03-14T21:09:13.830Z] ---> Running in a18772c3394a [2023-03-14T21:09:14.098Z] Removing intermediate container a18772c3394a [2023-03-14T21:09:14.098Z] ---> 1ab55af3cac5 [2023-03-14T21:09:14.098Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T21:09:14.098Z] Successfully built 1ab55af3cac5 [2023-03-14T21:09:14.380Z] 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-03-14T21:09:15.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:09:15.180Z] [2023-03-14T21:09:15.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:15.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:09:15.587Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T21:09:15.587Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T21:09:15.587Z] 04944245beec: Pulling fs layer [2023-03-14T21:09:15.587Z] 699f458cf7ca: Pulling fs layer [2023-03-14T21:09:15.587Z] 765212b225bb: Pulling fs layer [2023-03-14T21:09:15.587Z] f23df028b6ca: Pulling fs layer [2023-03-14T21:09:15.587Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T21:09:15.587Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T21:09:15.587Z] 765212b225bb: Waiting [2023-03-14T21:09:15.587Z] f23df028b6ca: Waiting [2023-03-14T21:09:15.857Z] d65c8cfc05b1: Waiting [2023-03-14T21:09:15.857Z] 2437ff75d9bd: Waiting [2023-03-14T21:09:15.857Z] 04944245beec: Verifying Checksum [2023-03-14T21:09:15.857Z] 04944245beec: Download complete [2023-03-14T21:09:15.857Z] 765212b225bb: Verifying Checksum [2023-03-14T21:09:15.857Z] 765212b225bb: Download complete [2023-03-14T21:09:15.857Z] f23df028b6ca: Verifying Checksum [2023-03-14T21:09:15.857Z] f23df028b6ca: Download complete [2023-03-14T21:09:15.857Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T21:09:15.857Z] d65c8cfc05b1: Download complete [2023-03-14T21:09:16.126Z] 699f458cf7ca: Verifying Checksum [2023-03-14T21:09:16.126Z] 699f458cf7ca: Download complete [2023-03-14T21:09:16.396Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T21:09:16.396Z] 8998bd30e6a1: Download complete [2023-03-14T21:09:18.989Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T21:09:18.989Z] 2437ff75d9bd: Download complete [2023-03-14T21:09:20.937Z] 8998bd30e6a1: Pull complete [2023-03-14T21:09:21.524Z] 04944245beec: Pull complete [2023-03-14T21:09:22.936Z] 699f458cf7ca: Pull complete [2023-03-14T21:09:22.936Z] 765212b225bb: Pull complete [2023-03-14T21:09:23.901Z] f23df028b6ca: Pull complete [2023-03-14T21:09:24.168Z] d65c8cfc05b1: Pull complete [2023-03-14T21:09:39.177Z] 2437ff75d9bd: Pull complete [2023-03-14T21:09:39.177Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T21:09:39.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:09:39.177Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:09:39.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-262 does not seem to be running inside a container [2023-03-14T21:09:39.578Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T21:09:42.563Z] $ docker top b63a41a115085e7c9cc94e83c4cbb9860e4645010094f15c31c6805c93971ff1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:43.484Z] ---> job-cost.sh [2023-03-14T21:09:43.484Z] lf-activate-venv: SKIPPING [2023-03-14T21:09:43.484Z] INFO: No Stack... [2023-03-14T21:09:44.067Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T21:09:45.026Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T21:09:45.691Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-14T21:09:45.691Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T21:09:45.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [2023-03-14T21:09:45.786Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] did not exist. Created. [2023-03-14T21:09:45.786Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T21:09:46.513Z] /w/workspace/device-usb-camera/1@tmp/durable-37cd93c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T21:09:47.196Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T21:09:47.233Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T21:09:47.294Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T21:09:47.308Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T21:09:47.390Z] $ docker stop --time=1 b63a41a115085e7c9cc94e83c4cbb9860e4645010094f15c31c6805c93971ff1 [2023-03-14T21:09:48.959Z] $ docker rm -f --volumes b63a41a115085e7c9cc94e83c4cbb9860e4645010094f15c31c6805c93971ff1 [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-03-14T21:09:49.967Z] provisioning config files... [2023-03-14T21:09:49.974Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-183@tmp/config3878925887570499474tmp [Pipeline] { [Pipeline] sh [2023-03-14T21:09:50.310Z] + set +x [2023-03-14T21:09:50.310Z] + curl -s https://codecov.io/bash [2023-03-14T21:09:50.310Z] + bash -s -- [2023-03-14T21:09:50.310Z] [2023-03-14T21:09:50.310Z] _____ _ [2023-03-14T21:09:50.310Z] / ____| | | [2023-03-14T21:09:50.310Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T21:09:50.310Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T21:09:50.310Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T21:09:50.310Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T21:09:50.310Z] Bash-1.0.6 [2023-03-14T21:09:50.310Z] [2023-03-14T21:09:50.310Z] [2023-03-14T21:09:50.310Z] ==> git version 2.25.1 found [2023-03-14T21:09:50.310Z] ==> 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-03-14T21:09:50.310Z] Release-Date: 2020-01-08 [2023-03-14T21:09:50.310Z] 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-03-14T21:09:50.310Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T21:09:50.310Z] ==> Jenkins CI detected. [2023-03-14T21:09:50.310Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-183 [2023-03-14T21:09:50.310Z] project root: . [2023-03-14T21:09:50.310Z] --> token set from env [2023-03-14T21:09:50.310Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T21:09:50.310Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T21:09:50.310Z] ==> Python coveragepy not found [2023-03-14T21:09:50.310Z] ==> Searching for coverage reports in: [2023-03-14T21:09:50.310Z] + . [2023-03-14T21:09:50.310Z] -> Found 1 reports [2023-03-14T21:09:50.310Z] ==> Detecting git/mercurial file structure [2023-03-14T21:09:50.310Z] ==> Reading reports [2023-03-14T21:09:50.310Z] + ./coverage.out bytes=28352 [2023-03-14T21:09:50.310Z] ==> Appending adjustments [2023-03-14T21:09:50.310Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T21:09:50.568Z] + Found adjustments [2023-03-14T21:09:50.568Z] ==> Gzipping contents [2023-03-14T21:09:50.568Z] 4.0K /tmp/codecov.IYSYFc.gz [2023-03-14T21:09:50.568Z] ==> Uploading reports [2023-03-14T21:09:50.568Z] url: https://codecov.io [2023-03-14T21:09:50.568Z] query: branch=PR-183&commit=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=183&job=&cmd_args= [2023-03-14T21:09:50.568Z] -> Pinging Codecov [2023-03-14T21:09:50.568Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-183&commit=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=183&job=&cmd_args= [2023-03-14T21:09:50.568Z] -> Uploading to [2023-03-14T21:09:50.568Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/73D8F5FF140700D3E01443B452E23636/90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e/f7d6115b-cf9d-4418-9d0c-e70e93a97afe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T210950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=222447f6ea309ecc8cc2fc3af37e3ea284f8fae6a65a9d5436fe45fd9b6ff712 [2023-03-14T21:09:50.568Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:09:50.568Z] Dload Upload Total Spent Left Speed [2023-03-14T21:09:51.136Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3919 0 0 100 3919 0 12480 --:--:-- --:--:-- --:--:-- 12480 [2023-03-14T21:09:51.136Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] } [2023-03-14T21:09:51.164Z] 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-03-14T21:09:52.854Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-183/archives ] [2023-03-14T21:09:52.854Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-183/archives [2023-03-14T21:09:52.854Z] total 16 [2023-03-14T21:09:52.854Z] drwxr-xr-x 3 root root 4096 Mar 14 20:58 . [2023-03-14T21:09:52.854Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 20:58 .. [2023-03-14T21:09:52.854Z] drwxr-xr-x 2 root root 4096 Mar 14 20:58 cost [2023-03-14T21:09:52.854Z] -rw-r--r-- 1 root root 89 Mar 14 20:58 cost.csv [2023-03-14T21:09:52.854Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-183/archives [2023-03-14T21:09:52.854Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-183/archives [2023-03-14T21:09:52.854Z] total 16 [2023-03-14T21:09:52.854Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:58 . [2023-03-14T21:09:52.854Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 20:58 .. [2023-03-14T21:09:52.854Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:58 cost [2023-03-14T21:09:52.854Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 14 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:53.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:54.065Z] ---> package-listing.sh [2023-03-14T21:09:54.066Z] ++ facter osfamily [2023-03-14T21:09:54.066Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T21:09:54.325Z] + OS_FAMILY=debian [2023-03-14T21:09:54.325Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-183 [2023-03-14T21:09:54.325Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T21:09:54.325Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T21:09:54.325Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T21:09:54.325Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T21:09:54.325Z] + '[' /w/workspace/foundry_device-usb-camera_PR-183 ']' [2023-03-14T21:09:54.325Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T21:09:54.325Z] + case "${OS_FAMILY}" in [2023-03-14T21:09:54.325Z] + dpkg -l [2023-03-14T21:09:54.325Z] + grep '^ii' [2023-03-14T21:09:54.325Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T21:09:54.325Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T21:09:54.325Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T21:09:54.325Z] + '[' /w/workspace/foundry_device-usb-camera_PR-183 ']' [2023-03-14T21:09:54.325Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-183/archives/ [2023-03-14T21:09:54.325Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-183/archives/ [Pipeline] echo [2023-03-14T21:09:54.360Z] 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-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T21:09:54.650Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:09:55.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T21:09:55.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:09:55.466Z] prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container [2023-03-14T21:09:55.497Z] $ 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-183/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-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T21:09:55.708Z] $ docker top 006f68d25964172ccc4beda237726fcf88439b2db102d2a3c4cf37a272020544 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:09:56.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T21:09:56.399Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T21:09:56.705Z] + ls /var/log/sa-host [2023-03-14T21:09:56.705Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:09:56.835Z] provisioning config files... [2023-03-14T21:09:56.844Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-183@tmp/config16545243651235734970tmp [Pipeline] { [Pipeline] echo [2023-03-14T21:09:56.894Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:57.213Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T21:09:57.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:57.629Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T21:09:57.664Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:57.973Z] ---> sudo-logs.sh [2023-03-14T21:09:57.973Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T21:09:58.060Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:58.373Z] ---> job-cost.sh [2023-03-14T21:09:58.374Z] lf-activate-venv: SKIPPING [2023-03-14T21:09:58.374Z] DEBUG: total: 0.2199999988079071 [2023-03-14T21:09:58.374Z] INFO: Retrieving Stack Cost... [2023-03-14T21:09:58.942Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T21:09:59.201Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T21:09:59.234Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:09:59.544Z] ---> logs-deploy.sh [2023-03-14T21:09:59.544Z] lf-activate-venv: SKIPPING [2023-03-14T21:09:59.544Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-183/1 [2023-03-14T21:09:59.544Z] INFO: archiving workspace using pattern(s): [2023-03-14T21:10:00.481Z] Archives upload complete. [2023-03-14T21:10:00.481Z] INFO: archiving logs to Nexus