Pull request #145 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f0256c80fcff79beb2a2f9b1aefb8cf564377e06+ad81b6791089a5483c30c2e43f91131867ddea47 (983f6ed97e91641c77265f93815244a999fd8795) 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-ssh7721181072452316292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11778608519488044651.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-145/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-145/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9582216702170584175.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-145/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6507928995298549476.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2446575546777005757.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-145/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-145/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17276127024963266875.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-5584’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5586 in /w/workspace/foundry_device-usb-camera_PR-145 [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-145 # 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/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ad81b6791089a5483c30c2e43f91131867ddea47 into PR head commit f0256c80fcff79beb2a2f9b1aefb8cf564377e06 Merge succeeded, producing f0256c80fcff79beb2a2f9b1aefb8cf564377e06 Checking out Revision f0256c80fcff79beb2a2f9b1aefb8cf564377e06 (PR-145) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T18:25:39.689Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T18:25:39.871Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T18:25:39.972Z] ========================================================= [2023-02-13T18:25:39.972Z] EdgeX Global Pipelines Version Info [2023-02-13T18:25:39.972Z] ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f f0256c80fcff79beb2a2f9b1aefb8cf564377e06 # 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 ad81b6791089a5483c30c2e43f91131867ddea47 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f0256c80fcff79beb2a2f9b1aefb8cf564377e06 # timeout=10 [Pipeline] sh [2023-02-13T18:25:40.713Z] ------------------- [2023-02-13T18:25:40.713Z] stable info: [2023-02-13T18:25:40.713Z] ------------------- [2023-02-13T18:25:40.713Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T18:25:40.713Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T18:25:40.713Z] Message: update stable to v1.0.244 [2023-02-13T18:25:41.286Z] ------------------- [2023-02-13T18:25:41.286Z] experimental info: [2023-02-13T18:25:41.286Z] ------------------- [2023-02-13T18:25:41.286Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T18:25:41.286Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T18:25:41.286Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T18:25:41.579Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-02-13T18:25:41.618Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-02-13T18:25:41.661Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T18:25:41.702Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T18:25:41.745Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T18:25:41.789Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T18:25:41.831Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T18:25:41.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T18:25:41.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T18:25:41.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T18:25:41.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T18:25:42.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-02-13T18:25:42.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T18:25:42.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T18:25:42.168Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T18:25:42.213Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T18:25:42.257Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T18:25:42.297Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T18:25:42.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T18:25:42.455Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T18:25:42.493Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T18:25:42.536Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T18:25:42.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T18:25:42.622Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T18:25:42.664Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T18:25:42.713Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T18:25:42.756Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T18:25:42.795Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-145 [Pipeline] echo [2023-02-13T18:25:42.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-145 [Pipeline] echo [2023-02-13T18:25:42.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-145 [Pipeline] echo [2023-02-13T18:25:42.923Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [Pipeline] echo [2023-02-13T18:25:42.968Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f0256c8 [Pipeline] echo [2023-02-13T18:25:43.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T18:25:43.142Z] provisioning config files... [2023-02-13T18:25:43.158Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-145@tmp/config3595513872915408415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:25:43.502Z] ---> docker-login.sh [2023-02-13T18:25:43.502Z] nexus3.edgexfoundry.org:10001 [2023-02-13T18:25:43.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:25:43.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:25:43.761Z] Configure a credential helper to remove this warning. See [2023-02-13T18:25:43.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:25:43.761Z] [2023-02-13T18:25:43.761Z] Login Succeeded [2023-02-13T18:25:43.761Z] nexus3.edgexfoundry.org:10002 [2023-02-13T18:25:43.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:25:44.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:25:44.020Z] Configure a credential helper to remove this warning. See [2023-02-13T18:25:44.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:25:44.020Z] [2023-02-13T18:25:44.020Z] Login Succeeded [2023-02-13T18:25:44.020Z] nexus3.edgexfoundry.org:10003 [2023-02-13T18:25:44.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:25:44.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:25:44.020Z] Configure a credential helper to remove this warning. See [2023-02-13T18:25:44.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:25:44.020Z] [2023-02-13T18:25:44.020Z] Login Succeeded [2023-02-13T18:25:44.020Z] nexus3.edgexfoundry.org:10004 [2023-02-13T18:25:44.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:25:44.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:25:44.281Z] Configure a credential helper to remove this warning. See [2023-02-13T18:25:44.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:25:44.281Z] [2023-02-13T18:25:44.281Z] Login Succeeded [2023-02-13T18:25:44.281Z] docker.io [2023-02-13T18:25:44.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:25:44.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:25:44.541Z] Configure a credential helper to remove this warning. See [2023-02-13T18:25:44.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:25:44.541Z] [2023-02-13T18:25:44.541Z] Login Succeeded [2023-02-13T18:25:44.541Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T18:25:44.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T18:25:45.176Z] + git rev-list -1 --merges f0256c80fcff79beb2a2f9b1aefb8cf564377e06~1..f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [Pipeline] echo [2023-02-13T18:25:45.250Z] -----------> git rev-list -1 --merges f0256c80fcff79beb2a2f9b1aefb8cf564377e06~1..f0256c80fcff79beb2a2f9b1aefb8cf564377e06 f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [false] [Pipeline] sh [2023-02-13T18:25:45.558Z] + git log --format=format:%s -1 f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [Pipeline] echo [2023-02-13T18:25:45.594Z] ========================================================= [2023-02-13T18:25:45.594Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T18:25:45.594Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T18:25:46.030Z] + git log --format=format:%s -1 f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [Pipeline] echo [2023-02-13T18:25:46.060Z] [semverPrep] GIT_COMMIT: f0256c80fcff79beb2a2f9b1aefb8cf564377e06, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-13T18:25:46.092Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T18:25:46.462Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T18:25:46.462Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T18:25:46.462Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T18:25:46.462Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T18:25:46.462Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T18:25:46.462Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T18:25:46.463Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:25:46.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T18:25:46.883Z] [2023-02-13T18:25:46.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:25:47.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T18:25:47.258Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T18:25:47.258Z] b85a868b505f: Pulling fs layer [2023-02-13T18:25:47.258Z] e2be974225ed: Pulling fs layer [2023-02-13T18:25:47.258Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T18:25:47.258Z] 988bab9f4d93: Pulling fs layer [2023-02-13T18:25:47.258Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T18:25:47.258Z] eaf3925da568: Pulling fs layer [2023-02-13T18:25:47.258Z] bab4dde63d76: Pulling fs layer [2023-02-13T18:25:47.258Z] bde34c3a00c8: Pulling fs layer [2023-02-13T18:25:47.258Z] b352a97aabf1: Pulling fs layer [2023-02-13T18:25:47.258Z] 4872d77fe225: Pulling fs layer [2023-02-13T18:25:47.258Z] 5851b861e8e6: Pulling fs layer [2023-02-13T18:25:47.258Z] bab4dde63d76: Waiting [2023-02-13T18:25:47.258Z] bde34c3a00c8: Waiting [2023-02-13T18:25:47.258Z] 988bab9f4d93: Waiting [2023-02-13T18:25:47.258Z] b352a97aabf1: Waiting [2023-02-13T18:25:47.258Z] 1469e6f7b9e6: Waiting [2023-02-13T18:25:47.258Z] eaf3925da568: Waiting [2023-02-13T18:25:47.258Z] 4872d77fe225: Waiting [2023-02-13T18:25:47.258Z] 5851b861e8e6: Waiting [2023-02-13T18:25:47.258Z] e2be974225ed: Verifying Checksum [2023-02-13T18:25:47.258Z] e2be974225ed: Download complete [2023-02-13T18:25:47.258Z] 988bab9f4d93: Download complete [2023-02-13T18:25:47.524Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T18:25:47.525Z] 339a4e72a1f5: Download complete [2023-02-13T18:25:47.525Z] 1469e6f7b9e6: Download complete [2023-02-13T18:25:47.525Z] eaf3925da568: Verifying Checksum [2023-02-13T18:25:47.525Z] eaf3925da568: Download complete [2023-02-13T18:25:47.525Z] bde34c3a00c8: Verifying Checksum [2023-02-13T18:25:47.525Z] bde34c3a00c8: Download complete [2023-02-13T18:25:47.785Z] b352a97aabf1: Verifying Checksum [2023-02-13T18:25:47.785Z] 4872d77fe225: Verifying Checksum [2023-02-13T18:25:47.785Z] 4872d77fe225: Download complete [2023-02-13T18:25:47.785Z] 5851b861e8e6: Download complete [2023-02-13T18:25:47.785Z] b85a868b505f: Download complete [2023-02-13T18:25:48.364Z] bab4dde63d76: Verifying Checksum [2023-02-13T18:25:48.364Z] bab4dde63d76: Download complete [2023-02-13T18:25:48.930Z] b85a868b505f: Pull complete [2023-02-13T18:25:49.188Z] e2be974225ed: Pull complete [2023-02-13T18:25:49.447Z] 339a4e72a1f5: Pull complete [2023-02-13T18:25:49.705Z] 988bab9f4d93: Pull complete [2023-02-13T18:25:49.964Z] 1469e6f7b9e6: Pull complete [2023-02-13T18:25:49.964Z] eaf3925da568: Pull complete [2023-02-13T18:25:51.868Z] bab4dde63d76: Pull complete [2023-02-13T18:25:51.868Z] bde34c3a00c8: Pull complete [2023-02-13T18:25:51.868Z] b352a97aabf1: Pull complete [2023-02-13T18:25:51.868Z] 4872d77fe225: Pull complete [2023-02-13T18:25:51.868Z] 5851b861e8e6: Pull complete [2023-02-13T18:25:51.868Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T18:25:51.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T18:25:51.868Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T18:25:52.088Z] prd-ubuntu20.04-docker-8c-8g-5586 does not seem to be running inside a container [2023-02-13T18:25:52.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-145 -v /w/workspace/foundry_device-usb-camera_PR-145:/w/workspace/foundry_device-usb-camera_PR-145:rw,z -v /w/workspace/foundry_device-usb-camera_PR-145@tmp:/w/workspace/foundry_device-usb-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T18:25:54.319Z] $ docker top ed1c794b58762e1128d3f11844fd2aaf2627df0c4054c634b937c6b0620e5c90 -eo pid,comm [2023-02-13T18:25:54.368Z] 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-02-13T18:25:54.368Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T18:25:54.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T18:25:54.502Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T18:25:54.622Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T18:25:54.627Z] $ docker exec ed1c794b58762e1128d3f11844fd2aaf2627df0c4054c634b937c6b0620e5c90 ssh-agent [2023-02-13T18:25:54.743Z] SSH_AUTH_SOCK=/tmp/ssh-qyLH55FcrNS0/agent.31 [2023-02-13T18:25:54.743Z] SSH_AGENT_PID=37 [2023-02-13T18:25:54.749Z] Running ssh-add (command line suppressed) [2023-02-13T18:25:54.854Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-145@tmp/private_key_12686031189290005925.key (/w/workspace/foundry_device-usb-camera_PR-145@tmp/private_key_12686031189290005925.key) [2023-02-13T18:25:54.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T18:25:55.195Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T18:25:55.229Z] $ docker exec --env ******** --env ******** ed1c794b58762e1128d3f11844fd2aaf2627df0c4054c634b937c6b0620e5c90 ssh-agent -k [2023-02-13T18:25:55.323Z] unset SSH_AUTH_SOCK; [2023-02-13T18:25:55.323Z] unset SSH_AGENT_PID; [2023-02-13T18:25:55.323Z] echo Agent pid 37 killed; [2023-02-13T18:25:55.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T18:25:55.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T18:25:55.426Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T18:25:55.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T18:25:55.538Z] $ docker exec ed1c794b58762e1128d3f11844fd2aaf2627df0c4054c634b937c6b0620e5c90 ssh-agent [2023-02-13T18:25:55.654Z] SSH_AUTH_SOCK=/tmp/ssh-HgwDwoOsncBE/agent.69 [2023-02-13T18:25:55.654Z] SSH_AGENT_PID=75 [2023-02-13T18:25:55.659Z] Running ssh-add (command line suppressed) [2023-02-13T18:25:55.761Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-145@tmp/private_key_17702707908829231390.key (/w/workspace/foundry_device-usb-camera_PR-145@tmp/private_key_17702707908829231390.key) [2023-02-13T18:25:55.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T18:25:56.106Z] + git semver init [2023-02-13T18:25:56.368Z] 2023-02-13 18:25:56,281 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T18:25:56.368Z] 2023-02-13 18:25:56,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-145/.semver [2023-02-13T18:25:56.368Z] 2023-02-13 18:25:56,282 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-145/.semver [2023-02-13T18:25:56.368Z] 2023-02-13 18:25:56,282 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-145/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-145, universal_newlines=False, shell=None, istream=None) [2023-02-13T18:25:57.308Z] 2023-02-13 18:25:57,086 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-145/.git/info/exclude [2023-02-13T18:25:57.308Z] 2023-02-13 18:25:57,086 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-145/.semver/PR-145 with force:False [2023-02-13T18:25:57.308Z] 2023-02-13 18:25:57,086 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-145/.semver/PR-145 [2023-02-13T18:25:57.308Z] 2023-02-13 18:25:57,090 [execute] INFO git cat-file --batch-check [2023-02-13T18:25:57.308Z] 2023-02-13 18:25:57,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-145/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T18:25:57.308Z] 2023-02-13 18:25:57,096 [execute] INFO git cat-file --batch [2023-02-13T18:25:57.308Z] 2023-02-13 18:25:57,097 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-145/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T18:25:57.308Z] 2023-02-13 18:25:57,102 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-145/.semver/PR-145 [2023-02-13T18:25:57.308Z] 0.0.0 [Pipeline] } [2023-02-13T18:25:57.335Z] $ docker exec --env ******** --env ******** ed1c794b58762e1128d3f11844fd2aaf2627df0c4054c634b937c6b0620e5c90 ssh-agent -k [2023-02-13T18:25:57.432Z] unset SSH_AUTH_SOCK; [2023-02-13T18:25:57.433Z] unset SSH_AGENT_PID; [2023-02-13T18:25:57.433Z] echo Agent pid 75 killed; [2023-02-13T18:25:57.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T18:25:57.858Z] + git semver [Pipeline] } [2023-02-13T18:25:58.143Z] $ docker stop --time=1 ed1c794b58762e1128d3f11844fd2aaf2627df0c4054c634b937c6b0620e5c90 [2023-02-13T18:25:59.509Z] $ docker rm -f --volumes ed1c794b58762e1128d3f11844fd2aaf2627df0c4054c634b937c6b0620e5c90 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T18:25:59.917Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T18:26:00.180Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T18:26:00.197Z] [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-02-13T18:26:00.735Z] provisioning config files... [2023-02-13T18:26:00.744Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-145@tmp/config16489281349710897113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:26:01.092Z] ---> docker-login.sh [2023-02-13T18:26:01.092Z] nexus3.edgexfoundry.org:10001 [2023-02-13T18:26:01.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:26:01.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:26:01.092Z] Configure a credential helper to remove this warning. See [2023-02-13T18:26:01.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:26:01.092Z] [2023-02-13T18:26:01.092Z] Login Succeeded [2023-02-13T18:26:01.092Z] nexus3.edgexfoundry.org:10002 [2023-02-13T18:26:01.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:26:01.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:26:01.092Z] Configure a credential helper to remove this warning. See [2023-02-13T18:26:01.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:26:01.092Z] [2023-02-13T18:26:01.092Z] Login Succeeded [2023-02-13T18:26:01.092Z] nexus3.edgexfoundry.org:10003 [2023-02-13T18:26:01.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:26:01.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:26:01.351Z] Configure a credential helper to remove this warning. See [2023-02-13T18:26:01.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:26:01.351Z] [2023-02-13T18:26:01.351Z] Login Succeeded [2023-02-13T18:26:01.351Z] nexus3.edgexfoundry.org:10004 [2023-02-13T18:26:01.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:26:01.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:26:01.351Z] Configure a credential helper to remove this warning. See [2023-02-13T18:26:01.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:26:01.351Z] [2023-02-13T18:26:01.351Z] Login Succeeded [2023-02-13T18:26:01.351Z] docker.io [2023-02-13T18:26:01.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:26:01.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:26:01.612Z] Configure a credential helper to remove this warning. See [2023-02-13T18:26:01.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:26:01.612Z] [2023-02-13T18:26:01.612Z] Login Succeeded [2023-02-13T18:26:01.612Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T18:26:01.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T18:26:01.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T18:26:01.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T18:26:01.895Z] ========================================================= [2023-02-13T18:26:01.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T18:26:01.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:26:02.355Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T18:26:02.355Z] Sending build context to Docker daemon 1.723MB [2023-02-13T18:26:02.355Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T18:26:02.355Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-13T18:26:02.355Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T18:26:02.355Z] 213ec9aee27d: Pulling fs layer [2023-02-13T18:26:02.355Z] 4583459ba037: Pulling fs layer [2023-02-13T18:26:02.355Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T18:26:02.355Z] 53926ce57604: Pulling fs layer [2023-02-13T18:26:02.355Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T18:26:02.355Z] 22ff95d597cd: Pulling fs layer [2023-02-13T18:26:02.355Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T18:26:02.355Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T18:26:02.355Z] a7acece74701: Pulling fs layer [2023-02-13T18:26:02.355Z] 53926ce57604: Waiting [2023-02-13T18:26:02.355Z] 21b2b0c7a3f4: Waiting [2023-02-13T18:26:02.355Z] 22ff95d597cd: Waiting [2023-02-13T18:26:02.355Z] 12d6caf4c0d1: Waiting [2023-02-13T18:26:02.355Z] 96b7cbca73a9: Waiting [2023-02-13T18:26:02.355Z] a7acece74701: Waiting [2023-02-13T18:26:02.355Z] 93c1e223e6f2: Download complete [2023-02-13T18:26:02.355Z] 4583459ba037: Download complete [2023-02-13T18:26:02.355Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T18:26:02.355Z] 21b2b0c7a3f4: Download complete [2023-02-13T18:26:02.618Z] 22ff95d597cd: Verifying Checksum [2023-02-13T18:26:02.618Z] 22ff95d597cd: Download complete [2023-02-13T18:26:02.618Z] 213ec9aee27d: Verifying Checksum [2023-02-13T18:26:02.618Z] 213ec9aee27d: Download complete [2023-02-13T18:26:02.618Z] 12d6caf4c0d1: Download complete [2023-02-13T18:26:02.618Z] 213ec9aee27d: Pull complete [2023-02-13T18:26:02.880Z] 4583459ba037: Pull complete [2023-02-13T18:26:02.880Z] 93c1e223e6f2: Pull complete [2023-02-13T18:26:03.858Z] a7acece74701: Verifying Checksum [2023-02-13T18:26:03.858Z] a7acece74701: Download complete [2023-02-13T18:26:03.858Z] 53926ce57604: Verifying Checksum [2023-02-13T18:26:03.858Z] 53926ce57604: Download complete [2023-02-13T18:26:03.858Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T18:26:03.858Z] 96b7cbca73a9: Download complete [2023-02-13T18:26:07.153Z] 53926ce57604: Pull complete [2023-02-13T18:26:07.153Z] 21b2b0c7a3f4: Pull complete [2023-02-13T18:26:07.412Z] 22ff95d597cd: Pull complete [2023-02-13T18:26:07.412Z] 12d6caf4c0d1: Pull complete [2023-02-13T18:26:09.312Z] 96b7cbca73a9: Pull complete [2023-02-13T18:26:10.249Z] a7acece74701: Pull complete [2023-02-13T18:26:10.249Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T18:26:10.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T18:26:10.249Z] ---> db6d94c90886 [2023-02-13T18:26:10.249Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-13T18:26:15.525Z] ---> Running in 8f9cdb59830a [2023-02-13T18:26:15.525Z] Removing intermediate container 8f9cdb59830a [2023-02-13T18:26:15.525Z] ---> 61e8d93c8baf [2023-02-13T18:26:15.525Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T18:26:15.525Z] ---> Running in cb9ec7cd9508 [2023-02-13T18:26:15.525Z] Removing intermediate container cb9ec7cd9508 [2023-02-13T18:26:15.525Z] ---> 96d3141be25a [2023-02-13T18:26:15.525Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-13T18:26:15.525Z] ---> Running in 305136e24d57 [2023-02-13T18:26:15.525Z] Removing intermediate container 305136e24d57 [2023-02-13T18:26:15.525Z] ---> 3d84f257f644 [2023-02-13T18:26:15.525Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-13T18:26:15.525Z] ---> Running in da93148691d2 [2023-02-13T18:26:15.573Z] Still waiting to schedule task [2023-02-13T18:26:15.573Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5587’ is offline [2023-02-13T18:26:15.788Z] Removing intermediate container da93148691d2 [2023-02-13T18:26:15.788Z] ---> 81571b721c59 [2023-02-13T18:26:15.788Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T18:26:15.788Z] ---> Running in a9f3be7e8ca5 [2023-02-13T18:26:16.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T18:26:16.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T18:26:16.569Z] (1/80) Installing mesa (21.3.9-r0) [2023-02-13T18:26:16.569Z] (2/80) Installing libxau (1.0.9-r0) [2023-02-13T18:26:16.569Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-02-13T18:26:16.569Z] (4/80) Installing libxcb (1.15-r0) [2023-02-13T18:26:16.569Z] (5/80) Installing libx11 (1.8-r0) [2023-02-13T18:26:16.569Z] (6/80) Installing libxext (1.3.4-r0) [2023-02-13T18:26:16.569Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-02-13T18:26:16.569Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-02-13T18:26:16.569Z] (9/80) Installing libpciaccess (0.16-r0) [2023-02-13T18:26:16.569Z] (10/80) Installing libdrm (2.4.110-r0) [2023-02-13T18:26:16.569Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-02-13T18:26:16.569Z] (12/80) Installing libxshmfence (1.3-r1) [2023-02-13T18:26:16.569Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-02-13T18:26:16.569Z] (14/80) Installing icu-data-full (71.1-r2) [2023-02-13T18:26:16.829Z] (15/80) Installing libice (1.0.10-r0) [2023-02-13T18:26:16.829Z] (16/80) Installing libuuid (2.38-r1) [2023-02-13T18:26:16.829Z] (17/80) Installing libsm (1.2.3-r0) [2023-02-13T18:26:16.829Z] (18/80) Installing libxt (1.2.1-r0) [2023-02-13T18:26:16.829Z] (19/80) Installing libxmu (1.1.3-r0) [2023-02-13T18:26:16.829Z] (20/80) Installing xset (1.2.4-r0) [2023-02-13T18:26:16.829Z] (21/80) Installing xprop (1.2.5-r0) [2023-02-13T18:26:16.829Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-02-13T18:26:16.829Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-02-13T18:26:16.829Z] (24/80) Installing libffi (3.4.2-r1) [2023-02-13T18:26:16.829Z] (25/80) Installing libintl (0.21-r2) [2023-02-13T18:26:16.829Z] (26/80) Installing libblkid (2.38-r1) [2023-02-13T18:26:16.829Z] (27/80) Installing libmount (2.38-r1) [2023-02-13T18:26:16.829Z] (28/80) Installing pcre (8.45-r2) [2023-02-13T18:26:16.829Z] (29/80) Installing glib (2.72.1-r0) [2023-02-13T18:26:16.829Z] (30/80) Installing icu-libs (71.1-r2) [2023-02-13T18:26:16.829Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-02-13T18:26:16.829Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-02-13T18:26:16.829Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-02-13T18:26:17.089Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-02-13T18:26:17.089Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-02-13T18:26:17.089Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-02-13T18:26:17.089Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-13T18:26:17.089Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-02-13T18:26:17.089Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-02-13T18:26:17.089Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-02-13T18:26:17.089Z] (41/80) Installing libpng (1.6.37-r1) [2023-02-13T18:26:17.089Z] (42/80) Installing freetype (2.12.1-r0) [2023-02-13T18:26:17.089Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-02-13T18:26:17.089Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-02-13T18:26:17.089Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-02-13T18:26:17.089Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-02-13T18:26:17.348Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-02-13T18:26:17.348Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-02-13T18:26:17.348Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-02-13T18:26:17.348Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-02-13T18:26:17.348Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-02-13T18:26:17.348Z] (52/80) Installing avahi-libs (0.8-r6) [2023-02-13T18:26:17.348Z] (53/80) Installing nettle (3.7.3-r0) [2023-02-13T18:26:17.348Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-02-13T18:26:17.348Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-02-13T18:26:17.348Z] (56/80) Installing libunistring (1.0-r0) [2023-02-13T18:26:17.348Z] (57/80) Installing gnutls (3.7.7-r1) [2023-02-13T18:26:17.348Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-02-13T18:26:17.348Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-02-13T18:26:17.348Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-02-13T18:26:17.348Z] (61/80) Installing libevdev (1.12.1-r0) [2023-02-13T18:26:17.348Z] (62/80) Installing mtdev (1.1.6-r0) [2023-02-13T18:26:17.348Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-02-13T18:26:17.348Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-02-13T18:26:17.348Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-13T18:26:17.348Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-02-13T18:26:17.348Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-02-13T18:26:17.348Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-02-13T18:26:17.348Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-02-13T18:26:17.348Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-02-13T18:26:17.607Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-02-13T18:26:17.607Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-02-13T18:26:17.607Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-13T18:26:17.607Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-02-13T18:26:17.607Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-13T18:26:17.607Z] Executing udev-init-scripts-35-r0.post-install [2023-02-13T18:26:17.607Z] (76/80) Installing kmod-libs (29-r2) [2023-02-13T18:26:17.607Z] (77/80) Installing eudev (3.2.11-r0) [2023-02-13T18:26:17.607Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-02-13T18:26:17.607Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-13T18:26:17.607Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-02-13T18:26:17.607Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T18:26:17.607Z] Executing eudev-3.2.11-r0.trigger [2023-02-13T18:26:17.607Z] OK: 331 MiB in 131 packages [2023-02-13T18:26:24.188Z] Removing intermediate container a9f3be7e8ca5 [2023-02-13T18:26:24.188Z] ---> 321fcc142515 [2023-02-13T18:26:24.188Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-13T18:26:24.448Z] ---> Running in a457639e8b6d [2023-02-13T18:26:25.025Z] Removing intermediate container a457639e8b6d [2023-02-13T18:26:25.025Z] ---> 86556feecd91 [2023-02-13T18:26:25.025Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-13T18:26:25.595Z] ---> 8f92a1c3815d [2023-02-13T18:26:25.595Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T18:26:25.857Z] ---> Running in 5c95f15f4fef [2023-02-13T18:27:13.112Z] Removing intermediate container 5c95f15f4fef [2023-02-13T18:27:13.112Z] ---> 4dc88d0a9029 [2023-02-13T18:27:13.112Z] Step 11/13 : COPY . . [2023-02-13T18:27:13.112Z] ---> e40cc67bce79 [2023-02-13T18:27:13.112Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-13T18:27:13.112Z] ---> Running in 62b3293207d3 [2023-02-13T18:27:13.112Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T18:27:13.112Z]  Dload Upload  Total Spent Left Speed [2023-02-13T18:27:13.112Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 47412 0 --:--:-- --:--:-- --:--:-- 48272 [2023-02-13T18:27:13.681Z] Removing intermediate container 62b3293207d3 [2023-02-13T18:27:13.681Z] ---> d9784eaf9f69 [2023-02-13T18:27:13.681Z] Step 13/13 : RUN ${MAKE} [2023-02-13T18:27:13.681Z] ---> Running in 3f4fd0b5f1a1 [2023-02-13T18:27:13.941Z] noop [2023-02-13T18:27:14.201Z] Removing intermediate container 3f4fd0b5f1a1 [2023-02-13T18:27:14.201Z] ---> 596bc1b1e603 [2023-02-13T18:27:14.201Z] Successfully built 596bc1b1e603 [2023-02-13T18:27:14.201Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:27:14.644Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T18:27:14.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T18:27:14.795Z] prd-ubuntu20.04-docker-8c-8g-5586 does not seem to be running inside a container [2023-02-13T18:27:14.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-145 -v /w/workspace/foundry_device-usb-camera_PR-145:/w/workspace/foundry_device-usb-camera_PR-145:rw,z -v /w/workspace/foundry_device-usb-camera_PR-145@tmp:/w/workspace/foundry_device-usb-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T18:27:15.297Z] $ docker top 7ea2a30c087b66aab54713f649e3624f2eb9e72b565d39b6df35550f81b8603b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T18:27:15.698Z] + go version [2023-02-13T18:27:15.698Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T18:27:15.729Z] $ docker stop --time=1 7ea2a30c087b66aab54713f649e3624f2eb9e72b565d39b6df35550f81b8603b [2023-02-13T18:27:17.451Z] $ docker rm -f --volumes 7ea2a30c087b66aab54713f649e3624f2eb9e72b565d39b6df35550f81b8603b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:27:18.204Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T18:27:18.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T18:27:18.377Z] prd-ubuntu20.04-docker-8c-8g-5586 does not seem to be running inside a container [2023-02-13T18:27:18.412Z] $ 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-145 -v /w/workspace/foundry_device-usb-camera_PR-145:/w/workspace/foundry_device-usb-camera_PR-145:rw,z -v /w/workspace/foundry_device-usb-camera_PR-145@tmp:/w/workspace/foundry_device-usb-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T18:27:19.269Z] $ docker top f397cb5a2af9453be6ad8d6916cde8de4cc3483e79f5d13c3b5d3074ad93406b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T18:27:19.655Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-145 [Pipeline] fileExists [Pipeline] sh [2023-02-13T18:27:20.014Z] + make test [2023-02-13T18:27:20.015Z] go test ./... -coverprofile=coverage.out ./... [2023-02-13T18:27:20.273Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-13T18:27:30.245Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-13T18:27:30.245Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.010s coverage: 1.9% of statements [2023-02-13T18:27:36.925Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-13T18:27:36.925Z] go vet ./... [2023-02-13T18:27:38.908Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T18:27:38.908Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T18:27:38.908Z] ./bin/test-attribution-txt.sh [2023-02-13T18:27:39.167Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T18:27:39.167Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T18:27:39.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T18:27:39.235Z] $ docker stop --time=1 f397cb5a2af9453be6ad8d6916cde8de4cc3483e79f5d13c3b5d3074ad93406b [2023-02-13T18:27:41.366Z] $ docker rm -f --volumes f397cb5a2af9453be6ad8d6916cde8de4cc3483e79f5d13c3b5d3074ad93406b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T18:27:41.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T18:27:41.914Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T18:27:42.562Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T18:27:42.869Z] + ls -al . [2023-02-13T18:27:42.870Z] total 196 [2023-02-13T18:27:42.870Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 18:27 . [2023-02-13T18:27:42.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 18:25 .. [2023-02-13T18:27:42.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 18:27 .git [2023-02-13T18:27:42.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 18:25 .github [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 13 18:25 .gitignore [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 18:25 .golangci.yml [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 13 18:25 .hadolint.yml [2023-02-13T18:27:42.870Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 18:25 .semver [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 9442 Feb 13 18:25 Attribution.txt [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 13 18:25 CHANGELOG.md [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 13 18:25 Dockerfile [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 13 18:25 GOVERNANCE.md [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 13 18:25 Jenkinsfile [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 13 18:25 LICENSE [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 13 18:25 Makefile [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 18:25 OWNERS.md [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 13 18:25 README.md [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 18:25 VERSION [2023-02-13T18:27:42.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 18:25 bin [2023-02-13T18:27:42.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 18:25 cmd [2023-02-13T18:27:42.870Z] -rw-r--r-- 1 jenkins jenkins 30666 Feb 13 18:27 coverage.out [2023-02-13T18:27:42.870Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 13 18:25 docker-entrypoint.sh [2023-02-13T18:27:42.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 18:25 docs [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 3486 Feb 13 18:25 go.mod [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 33526 Feb 13 18:25 go.sum [2023-02-13T18:27:42.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 18:25 internal [2023-02-13T18:27:42.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 18:25 snap [2023-02-13T18:27:42.870Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 13 18:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:27:43.269Z] + 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=f0256c80fcff79beb2a2f9b1aefb8cf564377e06 --label arch=amd64 --label version=0.0.0 . [2023-02-13T18:27:43.269Z] Sending build context to Docker daemon 1.755MB [2023-02-13T18:27:43.269Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T18:27:43.269Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-13T18:27:43.269Z] ---> 596bc1b1e603 [2023-02-13T18:27:43.269Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-13T18:27:43.269Z] ---> Running in ada8e87054a2 [2023-02-13T18:27:43.530Z] Removing intermediate container ada8e87054a2 [2023-02-13T18:27:43.530Z] ---> eafd596397e4 [2023-02-13T18:27:43.530Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T18:27:43.530Z] ---> Running in 320d22001a70 [2023-02-13T18:27:43.530Z] Removing intermediate container 320d22001a70 [2023-02-13T18:27:43.530Z] ---> 49796256ef8a [2023-02-13T18:27:43.530Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-13T18:27:43.530Z] ---> Running in 63cff055491e [2023-02-13T18:27:43.530Z] Removing intermediate container 63cff055491e [2023-02-13T18:27:43.530Z] ---> 3660dc277de3 [2023-02-13T18:27:43.530Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-13T18:27:43.789Z] ---> Running in f5ee93de9e45 [2023-02-13T18:27:43.789Z] Removing intermediate container f5ee93de9e45 [2023-02-13T18:27:43.789Z] ---> 7189808fb114 [2023-02-13T18:27:43.789Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T18:27:43.789Z] ---> Running in 803149a834ca [2023-02-13T18:27:44.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T18:27:44.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T18:27:44.566Z] OK: 331 MiB in 131 packages [2023-02-13T18:27:44.825Z] Removing intermediate container 803149a834ca [2023-02-13T18:27:44.826Z] ---> c12fb0f8d811 [2023-02-13T18:27:44.826Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-13T18:27:44.826Z] ---> Running in 77f75122a191 [2023-02-13T18:27:44.826Z] Removing intermediate container 77f75122a191 [2023-02-13T18:27:44.826Z] ---> 0fc41c3a0df2 [2023-02-13T18:27:44.826Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-13T18:27:45.084Z] ---> 7bd6b5634e3c [2023-02-13T18:27:45.084Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T18:27:45.084Z] ---> Running in f28f87ecdf58 [2023-02-13T18:27:46.018Z] Removing intermediate container f28f87ecdf58 [2023-02-13T18:27:46.018Z] ---> 0f7ef750725a [2023-02-13T18:27:46.018Z] Step 11/35 : COPY . . [2023-02-13T18:27:46.018Z] ---> 660e76121d47 [2023-02-13T18:27:46.018Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-13T18:27:46.018Z] ---> Running in 925edd1dab3d [2023-02-13T18:27:46.277Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T18:27:46.277Z] Dload Upload Total Spent Left Speed [2023-02-13T18:27:46.540Z] 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45970 0 --:--:-- --:--:-- --:--:-- 46173 [2023-02-13T18:27:46.798Z] Removing intermediate container 925edd1dab3d [2023-02-13T18:27:46.798Z] ---> d1665649f0e1 [2023-02-13T18:27:46.798Z] Step 13/35 : RUN ${MAKE} [2023-02-13T18:27:46.798Z] ---> Running in 4f468d8c35b3 [2023-02-13T18:27:47.057Z] 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-02-13T18:28:08.979Z] Removing intermediate container 4f468d8c35b3 [2023-02-13T18:28:08.979Z] ---> 563f81d2b335 [2023-02-13T18:28:08.979Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-13T18:28:08.979Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-13T18:28:08.979Z] af6660deedbd: Pulling fs layer [2023-02-13T18:28:08.979Z] 97cd0a44c592: Pulling fs layer [2023-02-13T18:28:08.979Z] 97cd0a44c592: Download complete [2023-02-13T18:28:08.979Z] af6660deedbd: Verifying Checksum [2023-02-13T18:28:08.979Z] af6660deedbd: Pull complete [2023-02-13T18:28:08.979Z] 97cd0a44c592: Pull complete [2023-02-13T18:28:08.979Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-13T18:28:08.979Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-13T18:28:08.979Z] ---> fea57e182299 [2023-02-13T18:28:08.979Z] Step 15/35 : FROM alpine:3.16 [2023-02-13T18:28:08.979Z] 3.16: Pulling from library/alpine [2023-02-13T18:28:08.979Z] ef5531b6e74e: Pulling fs layer [2023-02-13T18:28:08.979Z] ef5531b6e74e: Verifying Checksum [2023-02-13T18:28:08.979Z] ef5531b6e74e: Pull complete [2023-02-13T18:28:08.979Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T18:28:08.979Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T18:28:08.979Z] ---> dfd21b5a31f5 [2023-02-13T18:28:08.979Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-13T18:28:08.979Z] ---> Running in 72e915e9366e [2023-02-13T18:28:08.979Z] Removing intermediate container 72e915e9366e [2023-02-13T18:28:08.979Z] ---> 19634ddd9d78 [2023-02-13T18:28:08.979Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-13T18:28:08.979Z] ---> Running in 2601dda2dfd0 [2023-02-13T18:28:08.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T18:28:08.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T18:28:08.979Z] (1/80) Installing dumb-init (1.2.5-r1) [2023-02-13T18:28:08.979Z] (2/80) Installing sdl2 (2.0.22-r0) [2023-02-13T18:28:08.979Z] (3/80) Installing libxau (1.0.9-r0) [2023-02-13T18:28:08.979Z] (4/80) Installing libxdmcp (1.1.3-r0) [2023-02-13T18:28:08.979Z] (5/80) Installing libxcb (1.15-r0) [2023-02-13T18:28:08.979Z] (6/80) Installing libx11 (1.8-r0) [2023-02-13T18:28:08.979Z] (7/80) Installing aom-libs (3.3.0-r0) [2023-02-13T18:28:08.979Z] (8/80) Installing alsa-lib (1.2.7.2-r0) [2023-02-13T18:28:08.979Z] (9/80) Installing expat (2.5.0-r0) [2023-02-13T18:28:08.979Z] (10/80) Installing brotli-libs (1.0.9-r6) [2023-02-13T18:28:08.979Z] (11/80) Installing libbz2 (1.0.8-r1) [2023-02-13T18:28:08.979Z] (12/80) Installing libpng (1.6.37-r1) [2023-02-13T18:28:08.979Z] (13/80) Installing freetype (2.12.1-r0) [2023-02-13T18:28:08.979Z] (14/80) Installing fontconfig (2.14.0-r0) [2023-02-13T18:28:08.979Z] (15/80) Installing fribidi (1.0.12-r0) [2023-02-13T18:28:08.979Z] (16/80) Installing libffi (3.4.2-r1) [2023-02-13T18:28:08.979Z] (17/80) Installing libintl (0.21-r2) [2023-02-13T18:28:08.979Z] (18/80) Installing libblkid (2.38-r1) [2023-02-13T18:28:08.979Z] (19/80) Installing libmount (2.38-r1) [2023-02-13T18:28:08.979Z] (20/80) Installing pcre (8.45-r2) [2023-02-13T18:28:08.979Z] (21/80) Installing glib (2.72.1-r0) [2023-02-13T18:28:08.979Z] (22/80) Installing graphite2 (1.3.14-r1) [2023-02-13T18:28:08.979Z] (23/80) Installing harfbuzz (4.3.0-r0) [2023-02-13T18:28:08.979Z] (24/80) Installing libass (0.16.0-r0) [2023-02-13T18:28:08.979Z] (25/80) Installing libdav1d (1.0.0-r0) [2023-02-13T18:28:08.979Z] (26/80) Installing libpciaccess (0.16-r0) [2023-02-13T18:28:08.979Z] (27/80) Installing libdrm (2.4.110-r0) [2023-02-13T18:28:08.979Z] (28/80) Installing gmp (6.2.1-r2) [2023-02-13T18:28:08.979Z] (29/80) Installing nettle (3.7.3-r0) [2023-02-13T18:28:08.979Z] (30/80) Installing p11-kit (0.24.1-r0) [2023-02-13T18:28:08.979Z] (31/80) Installing libtasn1 (4.18.0-r1) [2023-02-13T18:28:08.979Z] (32/80) Installing libunistring (1.0-r0) [2023-02-13T18:28:08.979Z] (33/80) Installing gnutls (3.7.7-r1) [2023-02-13T18:28:08.979Z] (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-13T18:28:08.979Z] (35/80) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-13T18:28:08.979Z] (36/80) Installing lame (3.100-r0) [2023-02-13T18:28:08.979Z] (37/80) Installing opus (1.3.1-r1) [2023-02-13T18:28:08.979Z] (38/80) Installing libasyncns (0.8-r1) [2023-02-13T18:28:08.979Z] (39/80) Installing dbus-libs (1.14.4-r0) [2023-02-13T18:28:08.979Z] (40/80) Installing libltdl (2.4.7-r0) [2023-02-13T18:28:08.979Z] (41/80) Installing orc (0.4.32-r0) [2023-02-13T18:28:08.979Z] (42/80) Installing libgcc (11.2.1_git20220219-r2) [2023-02-13T18:28:08.979Z] (43/80) Installing libogg (1.3.5-r1) [2023-02-13T18:28:08.979Z] (44/80) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-13T18:28:08.979Z] (45/80) Installing flac (1.3.4-r0) [2023-02-13T18:28:08.979Z] (46/80) Installing libvorbis (1.3.7-r0) [2023-02-13T18:28:08.979Z] (47/80) Installing libsndfile (1.1.0-r0) [2023-02-13T18:28:08.979Z] (48/80) Installing libgomp (11.2.1_git20220219-r2) [2023-02-13T18:28:08.979Z] (49/80) Installing soxr (0.1.3-r2) [2023-02-13T18:28:08.979Z] (50/80) Installing speexdsp (1.2.0-r0) [2023-02-13T18:28:08.979Z] (51/80) Installing tdb-libs (1.4.6-r0) [2023-02-13T18:28:08.979Z] (52/80) Installing libpulse (15.0-r2) [2023-02-13T18:28:08.979Z] (53/80) Installing cjson (1.7.15-r3) [2023-02-13T18:28:08.979Z] (54/80) Installing mbedtls (2.28.2-r0) [2023-02-13T18:28:08.979Z] (55/80) Installing librist (0.2.6-r1) [2023-02-13T18:28:08.979Z] (56/80) Installing libsrt (1.4.4-r0) [2023-02-13T18:28:08.979Z] (57/80) Installing libssh (0.9.6-r1) [2023-02-13T18:28:08.979Z] (58/80) Installing libtheora (1.1.1-r16) [2023-02-13T18:28:08.979Z] (59/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-13T18:28:08.979Z] (60/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-13T18:28:08.979Z] (61/80) Installing libxext (1.3.4-r0) [2023-02-13T18:28:08.979Z] (62/80) Installing libxfixes (6.0.0-r0) [2023-02-13T18:28:08.979Z] (63/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-13T18:28:08.979Z] (64/80) Installing libva (2.14.0-r0) [2023-02-13T18:28:08.979Z] (65/80) Installing libvdpau (1.5-r0) [2023-02-13T18:28:08.979Z] (66/80) Installing vidstab (1.1.0-r1) [2023-02-13T18:28:08.980Z] (67/80) Installing libvpx (1.11.0-r1) [2023-02-13T18:28:08.980Z] (68/80) Installing libwebp (1.2.3-r0) [2023-02-13T18:28:08.980Z] (69/80) Installing x264-libs (0.163_git20210613-r0) [2023-02-13T18:28:09.237Z] (70/80) Installing numactl (2.0.14-r0) [2023-02-13T18:28:09.237Z] (71/80) Installing x265-libs (3.5-r3) [2023-02-13T18:28:09.237Z] (72/80) Installing xvidcore (1.3.7-r1) [2023-02-13T18:28:09.237Z] (73/80) Installing ffmpeg-libs (5.0.1-r1) [2023-02-13T18:28:09.237Z] (74/80) Installing ffmpeg (5.0.1-r1) [2023-02-13T18:28:09.496Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-13T18:28:09.496Z] Executing udev-init-scripts-35-r0.post-install [2023-02-13T18:28:09.496Z] (76/80) Installing eudev-libs (3.2.11-r0) [2023-02-13T18:28:09.496Z] (77/80) Installing xz-libs (5.2.5-r1) [2023-02-13T18:28:09.496Z] (78/80) Installing zstd-libs (1.5.2-r1) [2023-02-13T18:28:09.496Z] (79/80) Installing kmod-libs (29-r2) [2023-02-13T18:28:09.496Z] (80/80) Installing eudev (3.2.11-r0) [2023-02-13T18:28:09.496Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T18:28:09.496Z] Executing eudev-3.2.11-r0.trigger [2023-02-13T18:28:09.496Z] OK: 100 MiB in 94 packages [2023-02-13T18:28:11.399Z] Removing intermediate container 2601dda2dfd0 [2023-02-13T18:28:11.399Z] ---> eff031de96fd [2023-02-13T18:28:11.399Z] Step 18/35 : WORKDIR / [2023-02-13T18:28:11.399Z] ---> Running in 78d49bf941ac [2023-02-13T18:28:11.399Z] Removing intermediate container 78d49bf941ac [2023-02-13T18:28:11.399Z] ---> 406fbf2c8187 [2023-02-13T18:28:11.399Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-13T18:28:11.658Z] ---> 97d664fec59c [2023-02-13T18:28:11.658Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-13T18:28:11.916Z] ---> 682edfa0a428 [2023-02-13T18:28:11.916Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-13T18:28:11.916Z] ---> 830adbe15034 [2023-02-13T18:28:11.916Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-13T18:28:12.173Z] ---> bd18dfd3bc20 [2023-02-13T18:28:12.173Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-13T18:28:12.173Z] ---> 3cbbcb6c3155 [2023-02-13T18:28:12.173Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-13T18:28:12.430Z] ---> 770e25937a69 [2023-02-13T18:28:12.430Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-13T18:28:12.689Z] ---> aebc7a111f48 [2023-02-13T18:28:12.689Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-13T18:28:12.689Z] ---> Running in bbdb2a95d6c5 [2023-02-13T18:28:13.257Z] Removing intermediate container bbdb2a95d6c5 [2023-02-13T18:28:13.257Z] ---> 7166dfa9dd98 [2023-02-13T18:28:13.257Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-13T18:28:13.257Z] ---> Running in f2ef1199aecb [2023-02-13T18:28:13.823Z] Removing intermediate container f2ef1199aecb [2023-02-13T18:28:13.823Z] ---> 82c0bf941758 [2023-02-13T18:28:13.823Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-13T18:28:13.823Z] ---> Running in 6d9a85b57d64 [2023-02-13T18:28:14.391Z] Removing intermediate container 6d9a85b57d64 [2023-02-13T18:28:14.391Z] ---> 13bbc722aaac [2023-02-13T18:28:14.391Z] Step 29/35 : EXPOSE 59983 [2023-02-13T18:28:14.391Z] ---> Running in ea7bed9a8d29 [2023-02-13T18:28:14.651Z] Removing intermediate container ea7bed9a8d29 [2023-02-13T18:28:14.651Z] ---> 6f7c764d1499 [2023-02-13T18:28:14.651Z] Step 30/35 : EXPOSE 8554 [2023-02-13T18:28:14.651Z] ---> Running in 3daef5f0aaf1 [2023-02-13T18:28:14.651Z] Removing intermediate container 3daef5f0aaf1 [2023-02-13T18:28:14.651Z] ---> e10fca77a6f0 [2023-02-13T18:28:14.651Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-13T18:28:14.651Z] ---> Running in f064472cee00 [2023-02-13T18:28:14.911Z] Removing intermediate container f064472cee00 [2023-02-13T18:28:14.911Z] ---> 88ea9d41c3be [2023-02-13T18:28:14.911Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-13T18:28:14.911Z] ---> Running in 33847686b706 [2023-02-13T18:28:14.911Z] Removing intermediate container 33847686b706 [2023-02-13T18:28:14.911Z] ---> e35c0f495d6d [2023-02-13T18:28:14.911Z] Step 33/35 : LABEL arch=amd64 [2023-02-13T18:28:14.911Z] ---> Running in 9e2a1fcd9e39 [2023-02-13T18:28:14.911Z] Removing intermediate container 9e2a1fcd9e39 [2023-02-13T18:28:14.911Z] ---> 811302c64441 [2023-02-13T18:28:14.911Z] Step 34/35 : LABEL git_sha=f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [2023-02-13T18:28:14.911Z] ---> Running in f6efd60fc954 [2023-02-13T18:28:15.169Z] Removing intermediate container f6efd60fc954 [2023-02-13T18:28:15.169Z] ---> 7d0ebcb1b3d3 [2023-02-13T18:28:15.169Z] Step 35/35 : LABEL version=0.0.0 [2023-02-13T18:28:15.169Z] ---> Running in 9c1d59ec3987 [2023-02-13T18:28:15.169Z] Removing intermediate container 9c1d59ec3987 [2023-02-13T18:28:15.169Z] ---> b620c60d9554 [2023-02-13T18:28:15.169Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T18:28:15.169Z] Successfully built b620c60d9554 [2023-02-13T18:28:15.169Z] 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-02-13T18:28:15.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T18:28:15.984Z] [2023-02-13T18:28:15.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:28:16.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T18:28:16.360Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T18:28:16.360Z] 5eb5b503b376: Pulling fs layer [2023-02-13T18:28:16.360Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T18:28:16.360Z] ec43610c2a17: Pulling fs layer [2023-02-13T18:28:16.360Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T18:28:16.360Z] 33b1e0a273af: Pulling fs layer [2023-02-13T18:28:16.360Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T18:28:16.360Z] 2f39f015ded8: Pulling fs layer [2023-02-13T18:28:16.360Z] 33b1e0a273af: Waiting [2023-02-13T18:28:16.360Z] 3a2ae6a8a46f: Waiting [2023-02-13T18:28:16.360Z] 5d3b04190fa2: Waiting [2023-02-13T18:28:16.360Z] 2f39f015ded8: Waiting [2023-02-13T18:28:16.360Z] 5c69ac0246d0: Download complete [2023-02-13T18:28:16.360Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T18:28:16.360Z] 3a2ae6a8a46f: Download complete [2023-02-13T18:28:16.623Z] 33b1e0a273af: Verifying Checksum [2023-02-13T18:28:16.623Z] 33b1e0a273af: Download complete [2023-02-13T18:28:16.623Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T18:28:16.623Z] 5d3b04190fa2: Download complete [2023-02-13T18:28:16.623Z] ec43610c2a17: Verifying Checksum [2023-02-13T18:28:16.623Z] ec43610c2a17: Download complete [2023-02-13T18:28:16.886Z] 5eb5b503b376: Verifying Checksum [2023-02-13T18:28:16.886Z] 5eb5b503b376: Download complete [2023-02-13T18:28:17.457Z] 2f39f015ded8: Download complete [2023-02-13T18:28:17.715Z] 5eb5b503b376: Pull complete [2023-02-13T18:28:17.982Z] 5c69ac0246d0: Pull complete [2023-02-13T18:28:18.241Z] ec43610c2a17: Pull complete [2023-02-13T18:28:18.241Z] 3a2ae6a8a46f: Pull complete [2023-02-13T18:28:18.499Z] 33b1e0a273af: Pull complete [2023-02-13T18:28:18.757Z] 5d3b04190fa2: Pull complete [2023-02-13T18:28:22.945Z] 2f39f015ded8: Pull complete [2023-02-13T18:28:22.945Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T18:28:22.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T18:28:22.945Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T18:28:23.172Z] prd-ubuntu20.04-docker-8c-8g-5586 does not seem to be running inside a container [2023-02-13T18:28:23.201Z] $ 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-145 -v /w/workspace/foundry_device-usb-camera_PR-145:/w/workspace/foundry_device-usb-camera_PR-145:rw,z -v /w/workspace/foundry_device-usb-camera_PR-145@tmp:/w/workspace/foundry_device-usb-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T18:28:25.522Z] $ docker top 6493a6ed27d4fb1887f6d0e8e68452abc2f542efd93541be119f48ff3cfab7b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:28:25.962Z] ---> job-cost.sh [2023-02-13T18:28:25.962Z] lf-activate-venv: SKIPPING [2023-02-13T18:28:25.962Z] INFO: No Stack... [2023-02-13T18:28:27.862Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T18:28:27.862Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T18:28:28.177Z] + cat /w/workspace/foundry_device-usb-camera_PR-145/archives/cost.csv [2023-02-13T18:28:28.178Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T18:28:28.228Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-145-1-stack-cost] [2023-02-13T18:28:28.233Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-145-1-stack-cost] did not exist. Created. [2023-02-13T18:28:28.233Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T18:28:28.619Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T18:28:28.670Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T18:28:28.705Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T18:28:28.791Z] $ docker stop --time=1 6493a6ed27d4fb1887f6d0e8e68452abc2f542efd93541be119f48ff3cfab7b7 [2023-02-13T18:28:29.929Z] $ docker rm -f --volumes 6493a6ed27d4fb1887f6d0e8e68452abc2f542efd93541be119f48ff3cfab7b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T18:29:08.648Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5589 in /w/workspace/foundry_device-usb-camera_PR-145 [Pipeline] { [Pipeline] ws [2023-02-13T18:29:08.713Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-13T18:29:08.796Z] Selected Git installation does not exist. Using Default [2023-02-13T18:29:08.796Z] The recommended git tool is: NONE [2023-02-13T18:29:18.228Z] using credential edgex-jenkins-ssh [2023-02-13T18:29:18.245Z] Cloning the remote Git repository [2023-02-13T18:29:18.336Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-02-13T18:29:18.493Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-02-13T18:29:18.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-13T18:29:18.808Z] > git --version # timeout=10 [2023-02-13T18:29:18.914Z] > git --version # 'git version 2.25.1' [2023-02-13T18:29:18.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T18:29:19.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T18:29:20.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-13T18:29:20.079Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T18:29:22.069Z] Merging remotes/origin/main commit ad81b6791089a5483c30c2e43f91131867ddea47 into PR head commit f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [2023-02-13T18:29:21.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-13T18:29:21.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-13T18:29:21.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T18:29:21.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T18:29:22.092Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T18:29:22.131Z] > git checkout -f f0256c80fcff79beb2a2f9b1aefb8cf564377e06 # timeout=10 [2023-02-13T18:29:22.462Z] Merge succeeded, producing f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [2023-02-13T18:29:22.462Z] Checking out Revision f0256c80fcff79beb2a2f9b1aefb8cf564377e06 (PR-145) [2023-02-13T18:29:23.224Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-13T18:29:23.325Z] > git --version # timeout=10 [2023-02-13T18:29:23.381Z] > git --version # 'git version 2.25.1' [2023-02-13T18:29:23.458Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T18:29:22.254Z] > git remote # timeout=10 [2023-02-13T18:29:22.308Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T18:29:22.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T18:29:22.359Z] > git merge ad81b6791089a5483c30c2e43f91131867ddea47 # timeout=10 [2023-02-13T18:29:22.425Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T18:29:22.469Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T18:29:22.496Z] > git checkout -f f0256c80fcff79beb2a2f9b1aefb8cf564377e06 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T18:29:24.681Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T18:29:24.681Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T18:29:24.681Z] Dload Upload Total Spent Left Speed [2023-02-13T18:29:24.681Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2023-02-13T18:29:25.524Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T18:29:25.878Z] + sudo tee /etc/docker/daemon.new [2023-02-13T18:29:25.878Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T18:29:25.878Z] { [2023-02-13T18:29:25.878Z] "registry-mirrors": [ [2023-02-13T18:29:25.878Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T18:29:25.878Z] ], [2023-02-13T18:29:25.878Z] "bip": "10.250.0.254/24", [2023-02-13T18:29:25.878Z] "hosts": [ [2023-02-13T18:29:25.878Z] "tcp://0.0.0.0:5555", [2023-02-13T18:29:25.878Z] "unix:///var/run/docker.sock" [2023-02-13T18:29:25.878Z] ], [2023-02-13T18:29:25.878Z] "mtu": 1458, [2023-02-13T18:29:25.878Z] "selinux-enabled": true, [2023-02-13T18:29:25.878Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T18:29:25.878Z] } [Pipeline] sh [2023-02-13T18:29:26.252Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T18:29:26.610Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T18:29:44.960Z] provisioning config files... [2023-02-13T18:29:44.987Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config4178620524347507260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:29:45.377Z] ---> docker-login.sh [2023-02-13T18:29:45.377Z] nexus3.edgexfoundry.org:10001 [2023-02-13T18:29:45.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:29:45.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:29:45.973Z] Configure a credential helper to remove this warning. See [2023-02-13T18:29:45.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:29:45.973Z] [2023-02-13T18:29:45.973Z] Login Succeeded [2023-02-13T18:29:45.973Z] nexus3.edgexfoundry.org:10002 [2023-02-13T18:29:46.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:29:46.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:29:46.520Z] Configure a credential helper to remove this warning. See [2023-02-13T18:29:46.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:29:46.520Z] [2023-02-13T18:29:46.520Z] Login Succeeded [2023-02-13T18:29:46.520Z] nexus3.edgexfoundry.org:10003 [2023-02-13T18:29:46.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:29:46.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:29:46.792Z] Configure a credential helper to remove this warning. See [2023-02-13T18:29:46.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:29:46.792Z] [2023-02-13T18:29:46.792Z] Login Succeeded [2023-02-13T18:29:46.792Z] nexus3.edgexfoundry.org:10004 [2023-02-13T18:29:47.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:29:47.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:29:47.339Z] Configure a credential helper to remove this warning. See [2023-02-13T18:29:47.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:29:47.339Z] [2023-02-13T18:29:47.339Z] Login Succeeded [2023-02-13T18:29:47.339Z] docker.io [2023-02-13T18:29:47.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T18:29:47.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T18:29:47.883Z] Configure a credential helper to remove this warning. See [2023-02-13T18:29:47.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T18:29:47.883Z] [2023-02-13T18:29:47.883Z] Login Succeeded [2023-02-13T18:29:47.883Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T18:29:47.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T18:29:48.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T18:29:48.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T18:29:48.503Z] ========================================================= [2023-02-13T18:29:48.503Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T18:29:48.503Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:29:49.058Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T18:29:49.325Z] Sending build context to Docker daemon 1.12MB [2023-02-13T18:29:49.325Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T18:29:49.325Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-13T18:29:49.596Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T18:29:49.596Z] 9b18e9b68314: Pulling fs layer [2023-02-13T18:29:49.596Z] 35d82f9e3411: Pulling fs layer [2023-02-13T18:29:49.596Z] e16973657156: Pulling fs layer [2023-02-13T18:29:49.596Z] fc693d55d65f: Pulling fs layer [2023-02-13T18:29:49.596Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T18:29:49.596Z] dda99020689f: Pulling fs layer [2023-02-13T18:29:49.596Z] db1c61fa0a46: Pulling fs layer [2023-02-13T18:29:49.596Z] 891c053d2c06: Pulling fs layer [2023-02-13T18:29:49.596Z] dda99020689f: Waiting [2023-02-13T18:29:49.596Z] db1c61fa0a46: Waiting [2023-02-13T18:29:49.596Z] 891c053d2c06: Waiting [2023-02-13T18:29:49.596Z] fc693d55d65f: Waiting [2023-02-13T18:29:49.596Z] 7e9fc2657dce: Waiting [2023-02-13T18:29:49.596Z] e16973657156: Verifying Checksum [2023-02-13T18:29:49.596Z] e16973657156: Download complete [2023-02-13T18:29:49.596Z] 35d82f9e3411: Verifying Checksum [2023-02-13T18:29:49.596Z] 35d82f9e3411: Download complete [2023-02-13T18:29:49.869Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T18:29:49.869Z] 7e9fc2657dce: Download complete [2023-02-13T18:29:49.869Z] dda99020689f: Verifying Checksum [2023-02-13T18:29:49.869Z] dda99020689f: Download complete [2023-02-13T18:29:49.869Z] 9b18e9b68314: Verifying Checksum [2023-02-13T18:29:49.869Z] 9b18e9b68314: Download complete [2023-02-13T18:29:50.845Z] 9b18e9b68314: Pull complete [2023-02-13T18:29:50.845Z] 891c053d2c06: Verifying Checksum [2023-02-13T18:29:50.845Z] 891c053d2c06: Download complete [2023-02-13T18:29:51.431Z] 35d82f9e3411: Pull complete [2023-02-13T18:29:51.699Z] e16973657156: Pull complete [2023-02-13T18:29:52.284Z] db1c61fa0a46: Verifying Checksum [2023-02-13T18:29:52.284Z] db1c61fa0a46: Download complete [2023-02-13T18:29:52.867Z] fc693d55d65f: Verifying Checksum [2023-02-13T18:29:52.867Z] fc693d55d65f: Download complete [2023-02-13T18:30:02.953Z] fc693d55d65f: Pull complete [2023-02-13T18:30:03.221Z] 7e9fc2657dce: Pull complete [2023-02-13T18:30:03.488Z] dda99020689f: Pull complete [2023-02-13T18:30:08.828Z] db1c61fa0a46: Pull complete [2023-02-13T18:30:10.240Z] 891c053d2c06: Pull complete [2023-02-13T18:30:10.240Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T18:30:10.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T18:30:10.240Z] ---> f96f9c87975a [2023-02-13T18:30:10.240Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-13T18:30:12.358Z] ---> Running in 166814895e0f [2023-02-13T18:30:12.358Z] Removing intermediate container 166814895e0f [2023-02-13T18:30:12.358Z] ---> 849e20007811 [2023-02-13T18:30:12.358Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T18:30:12.358Z] ---> Running in f49bd9959a95 [2023-02-13T18:30:12.634Z] Removing intermediate container f49bd9959a95 [2023-02-13T18:30:12.634Z] ---> 73bde1fcff74 [2023-02-13T18:30:12.634Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-13T18:30:12.904Z] ---> Running in 82659bba8770 [2023-02-13T18:30:13.173Z] Removing intermediate container 82659bba8770 [2023-02-13T18:30:13.173Z] ---> d579aca82864 [2023-02-13T18:30:13.173Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-13T18:30:13.173Z] ---> Running in 6fd68a8d716d [2023-02-13T18:30:13.441Z] Removing intermediate container 6fd68a8d716d [2023-02-13T18:30:13.441Z] ---> 8df798cc1822 [2023-02-13T18:30:13.441Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T18:30:13.441Z] ---> Running in 2230d2f651f5 [2023-02-13T18:30:14.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T18:30:14.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T18:30:15.819Z] (1/14) Installing libintl (0.21-r2) [2023-02-13T18:30:15.819Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-02-13T18:30:15.819Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-02-13T18:30:15.819Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-02-13T18:30:15.819Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-02-13T18:30:16.089Z] (6/14) Installing udev-init-scripts (35-r0) [2023-02-13T18:30:16.089Z] Executing udev-init-scripts-35-r0.post-install [2023-02-13T18:30:16.089Z] (7/14) Installing libblkid (2.38-r1) [2023-02-13T18:30:16.089Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-02-13T18:30:16.089Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-02-13T18:30:16.089Z] (10/14) Installing kmod-libs (29-r2) [2023-02-13T18:30:16.089Z] (11/14) Installing eudev (3.2.11-r0) [2023-02-13T18:30:16.089Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-02-13T18:30:16.089Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-13T18:30:16.089Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-02-13T18:30:16.089Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T18:30:16.089Z] Executing eudev-3.2.11-r0.trigger [2023-02-13T18:30:16.089Z] OK: 228 MiB in 65 packages [2023-02-13T18:30:17.513Z] Removing intermediate container 2230d2f651f5 [2023-02-13T18:30:17.513Z] ---> c9736db679f1 [2023-02-13T18:30:17.513Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-13T18:30:17.513Z] ---> Running in 1bfa3f36e0a1 [2023-02-13T18:30:17.782Z] Removing intermediate container 1bfa3f36e0a1 [2023-02-13T18:30:17.782Z] ---> 4468139ce928 [2023-02-13T18:30:17.782Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-13T18:30:18.369Z] ---> 41e49cc09d27 [2023-02-13T18:30:18.369Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T18:30:18.369Z] ---> Running in bf52976ad8c6 [2023-02-13T18:31:40.023Z] Removing intermediate container bf52976ad8c6 [2023-02-13T18:31:40.023Z] ---> 57bd151737fe [2023-02-13T18:31:40.023Z] Step 11/13 : COPY . . [2023-02-13T18:31:40.023Z] ---> a502b9ea5dc5 [2023-02-13T18:31:40.023Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-13T18:31:40.023Z] ---> Running in 49d6095f401e [2023-02-13T18:31:40.023Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-02-13T18:31:40.023Z]  Dload Upload Total Spent Left Speed [2023-02-13T18:31:40.023Z]  0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6557 0 --:--:-- --:--:-- --:--:-- 6596 [2023-02-13T18:31:40.023Z] Removing intermediate container 49d6095f401e [2023-02-13T18:31:40.023Z] ---> 1b0f5fa3c98b [2023-02-13T18:31:40.023Z] Step 13/13 : RUN ${MAKE} [2023-02-13T18:31:40.023Z] ---> Running in 696c41205a76 [2023-02-13T18:31:40.023Z] noop [2023-02-13T18:31:40.023Z] Removing intermediate container 696c41205a76 [2023-02-13T18:31:40.023Z] ---> daf9780f0a0c [2023-02-13T18:31:40.023Z] Successfully built daf9780f0a0c [2023-02-13T18:31:40.023Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:31:40.505Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T18:31:40.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T18:31:40.790Z] prd-ubuntu20.04-docker-arm64-4c-16g-5589 does not seem to be running inside a container [2023-02-13T18:31:40.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T18:31:42.022Z] $ docker top f5321f84faeef5ed4c6cfc5c03a7624a72983533d4d4955d7b958795f9e8ac9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T18:31:42.899Z] + go version [2023-02-13T18:31:42.899Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T18:31:42.935Z] $ docker stop --time=1 f5321f84faeef5ed4c6cfc5c03a7624a72983533d4d4955d7b958795f9e8ac9f [2023-02-13T18:31:44.527Z] $ docker rm -f --volumes f5321f84faeef5ed4c6cfc5c03a7624a72983533d4d4955d7b958795f9e8ac9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:31:45.342Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T18:31:45.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T18:31:45.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-5589 does not seem to be running inside a container [2023-02-13T18:31:45.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T18:31:46.823Z] $ docker top 831b9a5708d78c942707f2b599291bd40754d23d470e762c20b3384c54544210 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T18:31:47.400Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T18:31:48.372Z] + make test [2023-02-13T18:31:48.372Z] go test ./... -coverprofile=coverage.out ./... [2023-02-13T18:31:49.786Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-13T18:33:26.460Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-13T18:33:26.460Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.060s coverage: 1.9% of statements [2023-02-13T18:33:26.461Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T18:33:26.461Z] go vet ./... [2023-02-13T18:33:38.790Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T18:33:38.790Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T18:33:38.790Z] ./bin/test-attribution-txt.sh [2023-02-13T18:33:39.373Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T18:33:39.373Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T18:33:39.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T18:33:39.446Z] $ docker stop --time=1 831b9a5708d78c942707f2b599291bd40754d23d470e762c20b3384c54544210 [2023-02-13T18:33:43.222Z] $ docker rm -f --volumes 831b9a5708d78c942707f2b599291bd40754d23d470e762c20b3384c54544210 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T18:33:44.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T18:33:44.235Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T18:33:44.686Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T18:33:45.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T18:33:45.671Z] + ls -al . [2023-02-13T18:33:45.672Z] total 192 [2023-02-13T18:33:45.672Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 18:31 . [2023-02-13T18:33:45.672Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 18:29 .. [2023-02-13T18:33:45.672Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 18:29 .git [2023-02-13T18:33:45.672Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 18:29 .github [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 13 18:29 .gitignore [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 18:29 .golangci.yml [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 13 18:29 .hadolint.yml [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 9442 Feb 13 18:29 Attribution.txt [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 13 18:29 CHANGELOG.md [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 13 18:29 Dockerfile [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 13 18:29 GOVERNANCE.md [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 13 18:29 Jenkinsfile [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 13 18:29 LICENSE [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 13 18:29 Makefile [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 18:29 OWNERS.md [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 13 18:29 README.md [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 18:25 VERSION [2023-02-13T18:33:45.672Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 18:29 bin [2023-02-13T18:33:45.672Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 18:29 cmd [2023-02-13T18:33:45.672Z] -rw-r--r-- 1 jenkins jenkins 30666 Feb 13 18:33 coverage.out [2023-02-13T18:33:45.672Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 13 18:29 docker-entrypoint.sh [2023-02-13T18:33:45.672Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 18:29 docs [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 3486 Feb 13 18:29 go.mod [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 33526 Feb 13 18:29 go.sum [2023-02-13T18:33:45.672Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 18:29 internal [2023-02-13T18:33:45.672Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 18:29 snap [2023-02-13T18:33:45.672Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 13 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:33:46.082Z] + 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=f0256c80fcff79beb2a2f9b1aefb8cf564377e06 --label arch=arm64 --label version=0.0.0 . [2023-02-13T18:33:46.365Z] Sending build context to Docker daemon 1.151MB [2023-02-13T18:33:46.366Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T18:33:46.366Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-13T18:33:46.366Z] ---> daf9780f0a0c [2023-02-13T18:33:46.366Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-13T18:33:46.366Z] ---> Running in 1a3a0e6a4796 [2023-02-13T18:33:46.633Z] Removing intermediate container 1a3a0e6a4796 [2023-02-13T18:33:46.633Z] ---> 2941013747f2 [2023-02-13T18:33:46.633Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T18:33:46.903Z] ---> Running in 2b2e372c9ea6 [2023-02-13T18:33:47.170Z] Removing intermediate container 2b2e372c9ea6 [2023-02-13T18:33:47.170Z] ---> 01b2a9e2b538 [2023-02-13T18:33:47.170Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-13T18:33:47.170Z] ---> Running in d69a8fcac520 [2023-02-13T18:33:47.437Z] Removing intermediate container d69a8fcac520 [2023-02-13T18:33:47.437Z] ---> 290e979c85e8 [2023-02-13T18:33:47.437Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-13T18:33:47.437Z] ---> Running in b3bdcd826405 [2023-02-13T18:33:47.704Z] Removing intermediate container b3bdcd826405 [2023-02-13T18:33:47.704Z] ---> 182d96580865 [2023-02-13T18:33:47.704Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T18:33:47.974Z] ---> Running in a4f8eab2966d [2023-02-13T18:33:48.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T18:33:49.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T18:33:50.166Z] OK: 228 MiB in 65 packages [2023-02-13T18:33:51.136Z] Removing intermediate container a4f8eab2966d [2023-02-13T18:33:51.136Z] ---> 2471c9b91f69 [2023-02-13T18:33:51.136Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-13T18:33:51.136Z] ---> Running in bbbfb13d1674 [2023-02-13T18:33:51.404Z] Removing intermediate container bbbfb13d1674 [2023-02-13T18:33:51.404Z] ---> 06aba82027c1 [2023-02-13T18:33:51.404Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-13T18:33:51.673Z] ---> b2f14032f413 [2023-02-13T18:33:51.673Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T18:33:51.941Z] ---> Running in f7cf07d6e7f9 [2023-02-13T18:33:55.290Z] Removing intermediate container f7cf07d6e7f9 [2023-02-13T18:33:55.290Z] ---> 03095a3c5e61 [2023-02-13T18:33:55.290Z] Step 11/35 : COPY . . [2023-02-13T18:33:55.564Z] ---> d0258c8ad984 [2023-02-13T18:33:55.564Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-13T18:33:55.837Z] ---> Running in 19e804f15982 [2023-02-13T18:33:56.805Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T18:33:56.805Z] Dload Upload Total Spent Left Speed [2023-02-13T18:33:56.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14618 0 --:--:-- --:--:-- --:--:-- 14750 [2023-02-13T18:33:57.399Z] Removing intermediate container 19e804f15982 [2023-02-13T18:33:57.399Z] ---> 2a4acb7ec199 [2023-02-13T18:33:57.399Z] Step 13/35 : RUN ${MAKE} [2023-02-13T18:33:57.399Z] ---> Running in 7928d49a5273 [2023-02-13T18:33:58.363Z] 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-02-13T18:36:20.068Z] Removing intermediate container 7928d49a5273 [2023-02-13T18:36:20.068Z] ---> 58d8cf4fa6e4 [2023-02-13T18:36:20.068Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-13T18:36:20.068Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-13T18:36:20.068Z] eab2503cf8f4: Pulling fs layer [2023-02-13T18:36:20.068Z] 97cd0a44c592: Pulling fs layer [2023-02-13T18:36:20.068Z] 97cd0a44c592: Download complete [2023-02-13T18:36:20.068Z] eab2503cf8f4: Verifying Checksum [2023-02-13T18:36:20.068Z] eab2503cf8f4: Download complete [2023-02-13T18:36:20.068Z] eab2503cf8f4: Pull complete [2023-02-13T18:36:20.068Z] 97cd0a44c592: Pull complete [2023-02-13T18:36:20.068Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-13T18:36:20.068Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-13T18:36:20.068Z] ---> 7f763cca56b3 [2023-02-13T18:36:20.068Z] Step 15/35 : FROM alpine:3.16 [2023-02-13T18:36:20.068Z] 3.16: Pulling from library/alpine [2023-02-13T18:36:20.068Z] 3760b48202b3: Pulling fs layer [2023-02-13T18:36:20.068Z] 3760b48202b3: Download complete [2023-02-13T18:36:20.068Z] 3760b48202b3: Pull complete [2023-02-13T18:36:20.068Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T18:36:20.068Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T18:36:20.068Z] ---> 4c81e5bf8899 [2023-02-13T18:36:20.068Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-13T18:36:20.068Z] ---> Running in 96e419bab590 [2023-02-13T18:36:20.068Z] Removing intermediate container 96e419bab590 [2023-02-13T18:36:20.068Z] ---> b04fd0391189 [2023-02-13T18:36:20.068Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-13T18:36:20.068Z] ---> Running in b3afdbfe2dbc [2023-02-13T18:36:20.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T18:36:20.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T18:36:20.068Z] (1/79) Installing dumb-init (1.2.5-r1) [2023-02-13T18:36:20.068Z] (2/79) Installing sdl2 (2.0.22-r0) [2023-02-13T18:36:20.068Z] (3/79) Installing libxau (1.0.9-r0) [2023-02-13T18:36:20.068Z] (4/79) Installing libxdmcp (1.1.3-r0) [2023-02-13T18:36:20.068Z] (5/79) Installing libxcb (1.15-r0) [2023-02-13T18:36:20.068Z] (6/79) Installing libx11 (1.8-r0) [2023-02-13T18:36:20.068Z] (7/79) Installing aom-libs (3.3.0-r0) [2023-02-13T18:36:20.068Z] (8/79) Installing alsa-lib (1.2.7.2-r0) [2023-02-13T18:36:20.068Z] (9/79) Installing expat (2.5.0-r0) [2023-02-13T18:36:20.068Z] (10/79) Installing brotli-libs (1.0.9-r6) [2023-02-13T18:36:20.068Z] (11/79) Installing libbz2 (1.0.8-r1) [2023-02-13T18:36:20.068Z] (12/79) Installing libpng (1.6.37-r1) [2023-02-13T18:36:20.068Z] (13/79) Installing freetype (2.12.1-r0) [2023-02-13T18:36:20.068Z] (14/79) Installing fontconfig (2.14.0-r0) [2023-02-13T18:36:20.068Z] (15/79) Installing fribidi (1.0.12-r0) [2023-02-13T18:36:20.068Z] (16/79) Installing libffi (3.4.2-r1) [2023-02-13T18:36:20.068Z] (17/79) Installing libintl (0.21-r2) [2023-02-13T18:36:20.068Z] (18/79) Installing libblkid (2.38-r1) [2023-02-13T18:36:20.068Z] (19/79) Installing libmount (2.38-r1) [2023-02-13T18:36:20.068Z] (20/79) Installing pcre (8.45-r2) [2023-02-13T18:36:20.068Z] (21/79) Installing glib (2.72.1-r0) [2023-02-13T18:36:20.068Z] (22/79) Installing graphite2 (1.3.14-r1) [2023-02-13T18:36:20.068Z] (23/79) Installing harfbuzz (4.3.0-r0) [2023-02-13T18:36:20.068Z] (24/79) Installing libass (0.16.0-r0) [2023-02-13T18:36:20.068Z] (25/79) Installing libdav1d (1.0.0-r0) [2023-02-13T18:36:20.068Z] (26/79) Installing libdrm (2.4.110-r0) [2023-02-13T18:36:20.068Z] (27/79) Installing gmp (6.2.1-r2) [2023-02-13T18:36:20.068Z] (28/79) Installing nettle (3.7.3-r0) [2023-02-13T18:36:20.068Z] (29/79) Installing p11-kit (0.24.1-r0) [2023-02-13T18:36:20.068Z] (30/79) Installing libtasn1 (4.18.0-r1) [2023-02-13T18:36:20.068Z] (31/79) Installing libunistring (1.0-r0) [2023-02-13T18:36:20.068Z] (32/79) Installing gnutls (3.7.7-r1) [2023-02-13T18:36:20.068Z] (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-13T18:36:20.068Z] (34/79) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-13T18:36:20.068Z] (35/79) Installing lame (3.100-r0) [2023-02-13T18:36:20.068Z] (36/79) Installing opus (1.3.1-r1) [2023-02-13T18:36:20.068Z] (37/79) Installing libasyncns (0.8-r1) [2023-02-13T18:36:20.068Z] (38/79) Installing dbus-libs (1.14.4-r0) [2023-02-13T18:36:20.068Z] (39/79) Installing libltdl (2.4.7-r0) [2023-02-13T18:36:20.068Z] (40/79) Installing orc (0.4.32-r0) [2023-02-13T18:36:20.068Z] (41/79) Installing libgcc (11.2.1_git20220219-r2) [2023-02-13T18:36:20.068Z] (42/79) Installing libogg (1.3.5-r1) [2023-02-13T18:36:20.068Z] (43/79) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-13T18:36:20.068Z] (44/79) Installing flac (1.3.4-r0) [2023-02-13T18:36:20.068Z] (45/79) Installing libvorbis (1.3.7-r0) [2023-02-13T18:36:20.068Z] (46/79) Installing libsndfile (1.1.0-r0) [2023-02-13T18:36:20.068Z] (47/79) Installing libgomp (11.2.1_git20220219-r2) [2023-02-13T18:36:20.068Z] (48/79) Installing soxr (0.1.3-r2) [2023-02-13T18:36:20.068Z] (49/79) Installing speexdsp (1.2.0-r0) [2023-02-13T18:36:20.068Z] (50/79) Installing tdb-libs (1.4.6-r0) [2023-02-13T18:36:20.068Z] (51/79) Installing libpulse (15.0-r2) [2023-02-13T18:36:20.068Z] (52/79) Installing cjson (1.7.15-r3) [2023-02-13T18:36:20.068Z] (53/79) Installing mbedtls (2.28.2-r0) [2023-02-13T18:36:20.068Z] (54/79) Installing librist (0.2.6-r1) [2023-02-13T18:36:20.068Z] (55/79) Installing libsrt (1.4.4-r0) [2023-02-13T18:36:20.068Z] (56/79) Installing libssh (0.9.6-r1) [2023-02-13T18:36:20.068Z] (57/79) Installing libtheora (1.1.1-r16) [2023-02-13T18:36:20.068Z] (58/79) Installing libjpeg-turbo (2.1.3-r1) [2023-02-13T18:36:20.068Z] (59/79) Installing v4l-utils-libs (1.22.1-r1) [2023-02-13T18:36:20.068Z] (60/79) Installing libxext (1.3.4-r0) [2023-02-13T18:36:20.068Z] (61/79) Installing libxfixes (6.0.0-r0) [2023-02-13T18:36:20.068Z] (62/79) Installing wayland-libs-client (1.20.0-r0) [2023-02-13T18:36:20.068Z] (63/79) Installing libva (2.14.0-r0) [2023-02-13T18:36:20.068Z] (64/79) Installing libvdpau (1.5-r0) [2023-02-13T18:36:20.068Z] (65/79) Installing vidstab (1.1.0-r1) [2023-02-13T18:36:20.068Z] (66/79) Installing libvpx (1.11.0-r1) [2023-02-13T18:36:20.068Z] (67/79) Installing libwebp (1.2.3-r0) [2023-02-13T18:36:20.068Z] (68/79) Installing x264-libs (0.163_git20210613-r0) [2023-02-13T18:36:20.068Z] (69/79) Installing numactl (2.0.14-r0) [2023-02-13T18:36:20.068Z] (70/79) Installing x265-libs (3.5-r3) [2023-02-13T18:36:20.068Z] (71/79) Installing xvidcore (1.3.7-r1) [2023-02-13T18:36:20.068Z] (72/79) Installing ffmpeg-libs (5.0.1-r1) [2023-02-13T18:36:20.068Z] (73/79) Installing ffmpeg (5.0.1-r1) [2023-02-13T18:36:20.068Z] (74/79) Installing udev-init-scripts (35-r0) [2023-02-13T18:36:20.068Z] Executing udev-init-scripts-35-r0.post-install [2023-02-13T18:36:20.068Z] (75/79) Installing eudev-libs (3.2.11-r0) [2023-02-13T18:36:20.068Z] (76/79) Installing xz-libs (5.2.5-r1) [2023-02-13T18:36:20.068Z] (77/79) Installing zstd-libs (1.5.2-r1) [2023-02-13T18:36:20.068Z] (78/79) Installing kmod-libs (29-r2) [2023-02-13T18:36:20.068Z] (79/79) Installing eudev (3.2.11-r0) [2023-02-13T18:36:20.068Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T18:36:20.068Z] Executing eudev-3.2.11-r0.trigger [2023-02-13T18:36:20.068Z] OK: 77 MiB in 93 packages [2023-02-13T18:36:23.416Z] Removing intermediate container b3afdbfe2dbc [2023-02-13T18:36:23.416Z] ---> a32cc79375ac [2023-02-13T18:36:23.416Z] Step 18/35 : WORKDIR / [2023-02-13T18:36:23.416Z] ---> Running in 9cd92c26401b [2023-02-13T18:36:23.684Z] Removing intermediate container 9cd92c26401b [2023-02-13T18:36:23.684Z] ---> ab07abb4566b [2023-02-13T18:36:23.684Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-13T18:36:25.092Z] ---> dfc3c32d955b [2023-02-13T18:36:25.092Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-13T18:36:25.358Z] ---> 40d3eac8edbb [2023-02-13T18:36:25.358Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-13T18:36:25.948Z] ---> dcb4a28f32fc [2023-02-13T18:36:25.948Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-13T18:36:26.539Z] ---> 663b0e266c59 [2023-02-13T18:36:26.539Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-13T18:36:26.807Z] ---> c99f00dbd6b9 [2023-02-13T18:36:26.807Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-13T18:36:27.389Z] ---> 88b96bdbbaa8 [2023-02-13T18:36:27.389Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-13T18:36:28.806Z] ---> d6536d1f60a1 [2023-02-13T18:36:28.806Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-13T18:36:28.806Z] ---> Running in c6ef70adbbd7 [2023-02-13T18:36:32.167Z] Removing intermediate container c6ef70adbbd7 [2023-02-13T18:36:32.167Z] ---> 98066214b657 [2023-02-13T18:36:32.167Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-13T18:36:32.167Z] ---> Running in 6a7e69b9ce62 [2023-02-13T18:36:33.602Z] Removing intermediate container 6a7e69b9ce62 [2023-02-13T18:36:33.602Z] ---> 4ebac0a23ea5 [2023-02-13T18:36:33.602Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-13T18:36:33.602Z] ---> Running in 340a1219da3a [2023-02-13T18:36:35.547Z] Removing intermediate container 340a1219da3a [2023-02-13T18:36:35.547Z] ---> 6ab9cf09611b [2023-02-13T18:36:35.547Z] Step 29/35 : EXPOSE 59983 [2023-02-13T18:36:35.547Z] ---> Running in 6e635d3cd834 [2023-02-13T18:36:35.547Z] Removing intermediate container 6e635d3cd834 [2023-02-13T18:36:35.547Z] ---> a389cedf2754 [2023-02-13T18:36:35.547Z] Step 30/35 : EXPOSE 8554 [2023-02-13T18:36:35.547Z] ---> Running in 53007b4ff94f [2023-02-13T18:36:35.815Z] Removing intermediate container 53007b4ff94f [2023-02-13T18:36:35.815Z] ---> 91213f807316 [2023-02-13T18:36:35.815Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-13T18:36:36.081Z] ---> Running in 8e0114b33740 [2023-02-13T18:36:36.349Z] Removing intermediate container 8e0114b33740 [2023-02-13T18:36:36.349Z] ---> 17a0faefc134 [2023-02-13T18:36:36.349Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-13T18:36:36.349Z] ---> Running in 6610306e7f27 [2023-02-13T18:36:36.616Z] Removing intermediate container 6610306e7f27 [2023-02-13T18:36:36.616Z] ---> adcd056c3b3d [2023-02-13T18:36:36.616Z] Step 33/35 : LABEL arch=arm64 [2023-02-13T18:36:36.616Z] ---> Running in 69b411340c5c [2023-02-13T18:36:36.884Z] Removing intermediate container 69b411340c5c [2023-02-13T18:36:36.884Z] ---> 1e3848c890ce [2023-02-13T18:36:36.884Z] Step 34/35 : LABEL git_sha=f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [2023-02-13T18:36:36.884Z] ---> Running in fbe72cded55c [2023-02-13T18:36:37.152Z] Removing intermediate container fbe72cded55c [2023-02-13T18:36:37.152Z] ---> 4a8d8e4cbd09 [2023-02-13T18:36:37.152Z] Step 35/35 : LABEL version=0.0.0 [2023-02-13T18:36:37.420Z] ---> Running in fd9f1a721f7c [2023-02-13T18:36:37.688Z] Removing intermediate container fd9f1a721f7c [2023-02-13T18:36:37.688Z] ---> f53e1c890bd9 [2023-02-13T18:36:37.688Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T18:36:37.688Z] Successfully built f53e1c890bd9 [2023-02-13T18:36:37.688Z] 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-02-13T18:36:38.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T18:36:38.475Z] [2023-02-13T18:36:38.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:36:38.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T18:36:38.887Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T18:36:38.887Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T18:36:38.887Z] 04944245beec: Pulling fs layer [2023-02-13T18:36:38.887Z] 699f458cf7ca: Pulling fs layer [2023-02-13T18:36:38.887Z] 765212b225bb: Pulling fs layer [2023-02-13T18:36:38.887Z] f23df028b6ca: Pulling fs layer [2023-02-13T18:36:38.887Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T18:36:38.887Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T18:36:38.887Z] 765212b225bb: Waiting [2023-02-13T18:36:38.887Z] f23df028b6ca: Waiting [2023-02-13T18:36:38.887Z] d65c8cfc05b1: Waiting [2023-02-13T18:36:39.229Z] 04944245beec: Verifying Checksum [2023-02-13T18:36:39.229Z] 04944245beec: Download complete [2023-02-13T18:36:39.229Z] 765212b225bb: Verifying Checksum [2023-02-13T18:36:39.229Z] 765212b225bb: Download complete [2023-02-13T18:36:39.508Z] f23df028b6ca: Verifying Checksum [2023-02-13T18:36:39.508Z] f23df028b6ca: Download complete [2023-02-13T18:36:39.508Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T18:36:39.508Z] d65c8cfc05b1: Download complete [2023-02-13T18:36:39.508Z] 699f458cf7ca: Verifying Checksum [2023-02-13T18:36:39.508Z] 699f458cf7ca: Download complete [2023-02-13T18:36:39.788Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T18:36:39.788Z] 8998bd30e6a1: Download complete [2023-02-13T18:36:42.430Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T18:36:42.430Z] 2437ff75d9bd: Download complete [2023-02-13T18:36:43.877Z] 8998bd30e6a1: Pull complete [2023-02-13T18:36:44.460Z] 04944245beec: Pull complete [2023-02-13T18:36:45.869Z] 699f458cf7ca: Pull complete [2023-02-13T18:36:45.869Z] 765212b225bb: Pull complete [2023-02-13T18:36:46.452Z] f23df028b6ca: Pull complete [2023-02-13T18:36:46.718Z] d65c8cfc05b1: Pull complete [2023-02-13T18:37:01.712Z] 2437ff75d9bd: Pull complete [2023-02-13T18:37:01.712Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T18:37:01.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T18:37:01.712Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T18:37:02.012Z] prd-ubuntu20.04-docker-arm64-4c-16g-5589 does not seem to be running inside a container [2023-02-13T18:37:02.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T18:37:04.632Z] $ docker top bea6133ebb1d62c1db0cd592e380bde29956364b5f8eb6a4a226dbeaf4065cd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:37:05.538Z] ---> job-cost.sh [2023-02-13T18:37:05.538Z] lf-activate-venv: SKIPPING [2023-02-13T18:37:05.538Z] INFO: No Stack... [2023-02-13T18:37:05.804Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T18:37:06.765Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T18:37:07.106Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-02-13T18:37:07.106Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T18:37:07.452Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-145-1-stack-cost] [2023-02-13T18:37:07.456Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-145-1-stack-cost] did not exist. Created. [2023-02-13T18:37:07.456Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T18:37:08.175Z] /w/workspace/device-usb-camera/1@tmp/durable-9044ff5a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T18:37:08.530Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T18:37:08.566Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T18:37:08.620Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T18:37:08.635Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T18:37:08.703Z] $ docker stop --time=1 bea6133ebb1d62c1db0cd592e380bde29956364b5f8eb6a4a226dbeaf4065cd0 [2023-02-13T18:37:10.200Z] $ docker rm -f --volumes bea6133ebb1d62c1db0cd592e380bde29956364b5f8eb6a4a226dbeaf4065cd0 [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-02-13T18:37:11.199Z] provisioning config files... [2023-02-13T18:37:11.207Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-145@tmp/config3439257207223309176tmp [Pipeline] { [Pipeline] sh [2023-02-13T18:37:11.548Z] + set +x [2023-02-13T18:37:11.548Z] + curl -s https://codecov.io/bash [2023-02-13T18:37:11.548Z] + bash -s -- [2023-02-13T18:37:11.548Z] [2023-02-13T18:37:11.548Z] _____ _ [2023-02-13T18:37:11.548Z] / ____| | | [2023-02-13T18:37:11.548Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T18:37:11.548Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T18:37:11.548Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T18:37:11.548Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T18:37:11.548Z] Bash-1.0.6 [2023-02-13T18:37:11.548Z] [2023-02-13T18:37:11.548Z] [2023-02-13T18:37:11.548Z] ==> git version 2.25.1 found [2023-02-13T18:37:11.548Z] ==> 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-02-13T18:37:11.548Z] Release-Date: 2020-01-08 [2023-02-13T18:37:11.548Z] 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-02-13T18:37:11.548Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T18:37:11.548Z] ==> Jenkins CI detected. [2023-02-13T18:37:11.548Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-145 [2023-02-13T18:37:11.548Z] project root: . [2023-02-13T18:37:11.548Z] --> token set from env [2023-02-13T18:37:11.548Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T18:37:11.548Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T18:37:11.548Z] ==> Python coveragepy not found [2023-02-13T18:37:11.548Z] ==> Searching for coverage reports in: [2023-02-13T18:37:11.548Z] + . [2023-02-13T18:37:11.548Z] -> Found 1 reports [2023-02-13T18:37:11.548Z] ==> Detecting git/mercurial file structure [2023-02-13T18:37:11.548Z] ==> Reading reports [2023-02-13T18:37:11.548Z] + ./coverage.out bytes=30666 [2023-02-13T18:37:11.548Z] ==> Appending adjustments [2023-02-13T18:37:11.548Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T18:37:11.807Z] + Found adjustments [2023-02-13T18:37:11.807Z] ==> Gzipping contents [2023-02-13T18:37:11.807Z] 8.0K /tmp/codecov.PwwHUc.gz [2023-02-13T18:37:11.807Z] ==> Uploading reports [2023-02-13T18:37:11.807Z] url: https://codecov.io [2023-02-13T18:37:11.807Z] query: branch=PR-145&commit=f0256c80fcff79beb2a2f9b1aefb8cf564377e06&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=145&job=&cmd_args= [2023-02-13T18:37:11.807Z] -> Pinging Codecov [2023-02-13T18:37:11.807Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-145&commit=f0256c80fcff79beb2a2f9b1aefb8cf564377e06&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=145&job=&cmd_args= [2023-02-13T18:37:12.068Z] -> Uploading to [2023-02-13T18:37:12.068Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/73D8F5FF140700D3E01443B452E23636/f0256c80fcff79beb2a2f9b1aefb8cf564377e06/ecf6daa5-86f1-4c88-9da4-2a6e4a882ff8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T183711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e38a36c023677061fa24fbd0ff13546c230ddfeafef919e4eea8b655659422b4 [2023-02-13T18:37:12.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T18:37:12.068Z] Dload Upload Total Spent Left Speed [2023-02-13T18:37:12.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4290 0 0 100 4290 0 15431 --:--:-- --:--:-- --:--:-- 15431 [2023-02-13T18:37:12.327Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/f0256c80fcff79beb2a2f9b1aefb8cf564377e06 [Pipeline] } [2023-02-13T18:37:12.354Z] 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-02-13T18:37:14.111Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-145/archives ] [2023-02-13T18:37:14.111Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-145/archives [2023-02-13T18:37:14.111Z] total 16 [2023-02-13T18:37:14.111Z] drwxr-xr-x 3 root root 4096 Feb 13 18:28 . [2023-02-13T18:37:14.111Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 18:28 .. [2023-02-13T18:37:14.111Z] drwxr-xr-x 2 root root 4096 Feb 13 18:28 cost [2023-02-13T18:37:14.111Z] -rw-r--r-- 1 root root 89 Feb 13 18:28 cost.csv [2023-02-13T18:37:14.111Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-145/archives [2023-02-13T18:37:14.111Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-145/archives [2023-02-13T18:37:14.111Z] total 16 [2023-02-13T18:37:14.111Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 18:28 . [2023-02-13T18:37:14.111Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 18:28 .. [2023-02-13T18:37:14.111Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 18:28 cost [2023-02-13T18:37:14.111Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 13 18:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:37:14.439Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:37:15.337Z] ---> package-listing.sh [2023-02-13T18:37:15.337Z] ++ facter osfamily [2023-02-13T18:37:15.337Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T18:37:15.597Z] + OS_FAMILY=debian [2023-02-13T18:37:15.597Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-145 [2023-02-13T18:37:15.597Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T18:37:15.597Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T18:37:15.597Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T18:37:15.597Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T18:37:15.597Z] + '[' /w/workspace/foundry_device-usb-camera_PR-145 ']' [2023-02-13T18:37:15.597Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T18:37:15.597Z] + case "${OS_FAMILY}" in [2023-02-13T18:37:15.597Z] + dpkg -l [2023-02-13T18:37:15.597Z] + grep '^ii' [2023-02-13T18:37:15.597Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T18:37:15.597Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T18:37:15.597Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T18:37:15.597Z] + '[' /w/workspace/foundry_device-usb-camera_PR-145 ']' [2023-02-13T18:37:15.597Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-145/archives/ [2023-02-13T18:37:15.597Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-145/archives/ [Pipeline] echo [2023-02-13T18:37:15.638Z] 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-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T18:37:15.934Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T18:37:16.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T18:37:16.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T18:37:16.719Z] prd-ubuntu20.04-docker-8c-8g-5586 does not seem to be running inside a container [2023-02-13T18:37:16.750Z] $ 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-145/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-145 -v /w/workspace/foundry_device-usb-camera_PR-145:/w/workspace/foundry_device-usb-camera_PR-145:rw,z -v /w/workspace/foundry_device-usb-camera_PR-145@tmp:/w/workspace/foundry_device-usb-camera_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T18:37:16.940Z] $ docker top 34083f91e8546547cb234a4f5f68f616c088989539dfd7473f173d0da8444a26 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T18:37:17.336Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T18:37:17.647Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T18:37:17.961Z] + ls /var/log/sa-host [2023-02-13T18:37:17.961Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T18:37:18.193Z] provisioning config files... [2023-02-13T18:37:18.200Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-145@tmp/config15451466341059427344tmp [Pipeline] { [Pipeline] echo [2023-02-13T18:37:18.256Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:37:18.570Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T18:37:18.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:37:19.013Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T18:37:19.048Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:37:19.367Z] ---> sudo-logs.sh [2023-02-13T18:37:19.367Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T18:37:19.445Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:37:19.768Z] ---> job-cost.sh [2023-02-13T18:37:19.768Z] lf-activate-venv: SKIPPING [2023-02-13T18:37:19.768Z] DEBUG: total: 0.2199999988079071 [2023-02-13T18:37:19.768Z] INFO: Retrieving Stack Cost... [2023-02-13T18:37:20.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T18:37:20.596Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T18:37:20.636Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T18:37:20.950Z] ---> logs-deploy.sh [2023-02-13T18:37:20.950Z] lf-activate-venv: SKIPPING [2023-02-13T18:37:20.950Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-145/1 [2023-02-13T18:37:20.950Z] INFO: archiving workspace using pattern(s): [2023-02-13T18:37:21.887Z] Archives upload complete. [2023-02-13T18:37:21.887Z] INFO: archiving logs to Nexus