Image

Laravel Version: 5.5
Voyager Version: v1.1.0
PHP Version: 7+
Database Driver & Version: -

Description:
Image is not showing, in new custom module.
I have already put default value while doing database table for it.
So if I am viewing View detail page of it at admin side, I am able to see image. Thinking that image path problem there, is there anything do i need to do coding for it please specify.
Can you please suggest me on same please.
Steps To Reproduce:

If you see the image on a view page, everything looks fine.
What is a "custom module"?

no i am not able to see on view page?
even where is code for view page in this package for particular page of a module?

Hi Nick,
I am sorry for wrong English. But I believe and understand, communication really doesn't matter if we are talking on some technical things. What matters is logic or mutual understanding what topic is going on. Moreover in this world everybody has their own primary language, but still everybody tries to speak/write/read English which is required/necessary. Fluency shouldn't be compulsion. hope you didn't mind for this.
Anyways,
I am again explaining my problem as below :
We have the modules like post, category etc at admin side in voyager package.
Same way if I have created another custom module which contains few basic fields like City, Code and Image.
So on like add/edit this functionality we are blocking for admin user. But admin can see view detail for this module.
So on view detail/page, admin is not able to see the Image for that city.
We are directly adding image, city, code into database table.
So can you please now give me the solution.
Any help would be highly appreciated.

Hi,
Secondly, whatever new modules I am creating from backend only by creating its database structure and everything properly, I am not able to add/insert the values of it into database through Add New form from backend.
Is there any extra settings I need to do. I have created its module, policy and required files.
So can you please now give me the solution.
Any help would be highly appreciated.

@navalevivek it would be better if you post some pics of your problem! Maybe we can figure out what's going on only seeing the screenshot!

Sure and thanks for the updates will do soon.

Can you help me out with these 2 errors

I guess Nick is not happy with my comments I wrote on his post.
Nick I am sorry if that is so.
But could you please help me with above issues.

If you mean me then no, what comments do you mean?
Your second problem: There seems to be some things missing.
The method getLocales() is here

Ok thanks.
Can you also let me know about the data_row, data_types or settings kind of table :  how do I update them while committing the change son GIT, because whenever I am committing the code, these db-tables are not getting committed and my colleagues are not recieving any lates changes which I am making at admin side specially creating menu, creating any module etc from admin backend side.

Hello Nick,
I am getting to see such kind of error at admin panel side when I click on Add new user.
Almost all label in this form, are showing like
voyager::generic.add User  or
voyager::generic.email or
oyager::generic.password
etc...
So can you please help me with this. Is it something related to translation or what.
Also on Admin dashboard page, I am getting to see double dimmer. means for Post / User / Page, double boxes I get to see.
Please suggest and any help would be highly appreciated.

@emptynick  :
Any solution you found on my post?


[Choose username] Styling fixes

[x] 1. Change header font style to Display Large (Matter, 24px) There's an issue for this in the ui library.
[x] 2. Maybe we can autofocus this field?
[x] 4. Padding-left and right 24px
[x] 5. Powered by Blockstack caption regular instead of caption medium. 6px margin between "powered by" and logo
[x] 6. Button height 48px, this goes for all buttons except the 'continue' on sign in (sorry I previously said 40, my bad)

@jasperjansz This looks good the only thing I noticed is button height was 46 not 48 not sure if that makes a large difference.
Header font 24

Button height set to 46 NOT 48

Padding set to 24


Update osbuild/images to v0.105.0 (COMPOSER-2357, COMPOSER-2400)

This brings a lot of new stuff, among others:

Internal image types for RHEL-10 (COMPOSER-2357)
Support for Swap partitions in DiskCustomizations (COMPOSER-2400)
Support for new partitioning customizations for CS and RHEL
Fix for RHEL 8 and 9 AMI boot mode (RHEL-69628)

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the READMEs listed here
[ ] submit a PR for the osbuild.org website repository if this PR changed any behavior not covered by the automatically updated READMEs

I've updated the PR to use the latest osbuild/images release v0.105.0 and also modified Weldr API and one test to not set OSTree options for non-OSTree image types.


add map_dowanstream_data_flow.md

Thanks Annika.  Just reviewed and believe we may need to adjust some URLs on: https://bcgov.github.io/data-publication/pages/dps_webmapping.html
These all get 404s currently.
ArcGIS Online Digital Application - Terms of use
ArcGIS Online Digital Application - Glossary
ArcGIS Online Digital Application - User account details

@NicoledeGreef @annikaLiving I'll take a look soon :)

I have adjusted the names in the data-pub side so that they are consistent with the naming standard and jekyll requirements. Sona and I spent some time reviewing and she will bring comments to the team today. all links are working.


Need example

[Enter feedback here]
Providing a detailed open source project may help developers understand these APIs

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 98de0162-dc53-a39d-0bba-e7f9b1662519
Version Independent ID: fd54c26c-d272-89c4-3f55-1c3ba5ab5c6a
Content: Windows Hello and unlocking with companion devices - UWP applications
Content Source: windows-apps-src/security/companion-device-unlock.md
Product: uwp
Technology: platform
GitHub Login: @hickeys
Microsoft Alias: hickeys

Thanks for taking the time to let us know about this and we sincerely apologize for the delayed response. This API has been deprecated, so we won't be adding any examples or making other changes to these docs. Though the Issue will be marked as Closed, we will monitor any replies that come afterwards so feel free to treat this like an open Issue. Many thanks!


npm ERR! notarget No matching version found for<EMAIL_ADDRESS>

maybe the latest version is 2.0.0-beta.21, not 2.0.0.beta.21 ?

Latest: https://github.com/facebook/docusaurus/releases/tag/v2.0.0-beta.21
I use this package on 2.0.0-beta.20


Add deleted objects to overwrite confirm popup

Previously, "reset local" would automatically recreate objects that had been deleted locally. Now user has to confirm these cases on the overwrite popup.
Includes new unit tests for overwrite popup and closes https://github.com/larshp/abapGit/issues/2845

Updated popup text:


change logic to screening completed users

https://github.com/howtohireme/give-me-poc/issues/452
Description
change logic to screening completed users
Testing steps
Explain how to test your PR manually

Step 1
Step 2
Step 3

Features PR URL
PR #ID
Checklist
Make sure that all steps a checked before the merge

[x] RSpec tests are passing on CI
[x] Cucumber features are passing localy
[x] bin/cop -a does not return any warnings
[x] Tested manually

Screenshots
Provide screenshots of implemented functionality

возможно. Передавать в запрос positions, и получать список тестовых заданий
вс, 2 сент. 2018 г. в 15:27, Aleksandr Dyuzhikov<EMAIL_ADDRESS>
@reabiliti commented on this pull request.
In app/operations/ops/member/assign_test_tasks.rb
https://github.com/howtohireme/give-me-poc/pull/454#discussion_r214539075
:

     # TODO: potentially unsafe picking just first role

     # we need probably to pass which role do we want to assign.
     # ATM not sure how to figure out that.

   (1..@positions).inject([]) do |test_tasks, position|

     test_tasks << ::Member::TestTask.active.where(

       position: position,

       role_name: @user.roles_name.first,

       skill_id: @user.primary_skill.id

     ).sample

   end.compact

   ctx[:test_tasks] = []

   (1..positions).each do |position|

     ctx[:test_tasks] << TestTasks::ByPositionRoleAndSkillQuery.new(position, user).call.sample

Получается, цикл туда тоже переместить?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/howtohireme/give-me-poc/pull/454#discussion_r214539075,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgGiTW2G2eY6cr3oPYgmUEDnl4LYficks5uW86agaJpZM4WWcNd
.


[ISSUE #2603]  ContainsPredicateJudge not work for multiple config

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2608 (13c5147) into master (9a25dee) will decrease coverage by 0.41%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2608      +/-   ##
============================================
- Coverage     61.12%   60.70%   -0.42%
+ Complexity     4227     4202      -25
============================================
  Files           652      652
  Lines         18489    18495       +6
  Branches       1650     1650
============================================
- Hits          11301    11227      -74
- Misses         6275     6364      +89
+ Partials        913      904       -9

Impacted Files
Coverage Δ

.../plugin/base/condition/data/HostParameterData.java
100.00% <ø> (ø)

...yu/plugin/base/condition/data/IpParameterData.java
100.00% <ø> (ø)

...enyu/plugin/base/condition/data/ParameterData.java
50.00% <100.00%> (+50.00%)
:arrow_up:

...ugin/base/condition/data/ParameterDataFactory.java
100.00% <100.00%> (ø)

...u/plugin/base/condition/data/URIParameterData.java
100.00% <100.00%> (ø)

...n/base/condition/judge/ContainsPredicateJudge.java
100.00% <100.00%> (ø)

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
45.12% <0.00%> (-30.49%)
:arrow_down:

...gin/apache/dubbo/cache/ApacheDubboConfigCache.java
44.44% <0.00%> (-28.40%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...ache/shenyu/admin/utils/PluginHandleH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a25dee...13c5147. Read the comment docs.

I remove my upgrading for uri , restore the old implementation for pass the PredicateJudgeFactoryTest

@MiniSC  hi， uri used match method, whether it overrides the contains？

@MiniSC hi， uri used match method, whether it overrides the contains？

because old contains let all param type use realData to contains condition's Data ,  old PredicateJudgeFactoryTest want let condition's uri like /http/** can be matched with /http/**/xxx in realData, but my upgrading will use condition's Data to contains realData, can not pass the old Test,  and i think in the problem of uri contains ,you are right , so i restore the old implements with uri, and it's reason of ovverride the contains

@MiniSC  hi, i mean uri used match, Is it no longer necessary to use the contains

because old contains method impelement let all param type use realData to contains condition's Data , old PredicateJudgeFactoryTest want let condition's uri like /http/** can be matched with /http/**/xxx in realData, but my upgrading will use condition's Data to contains realData, can not pass the old Test, and i think in the problem of uri contains ,you are right ,we will not use contains in uri , so i restore the old implements with uri, and it's reason of ovverride the contai

@MiniSC hi, i mean uri used match, Is it no longer necessary to use the contains

because old contains method impelement let all param type use realData to contains condition's Data , old PredicateJudgeFactoryTest want let condition's uri like /http/** can be matched with /http/**/xxx in realData, but my upgrading will use condition's Data to contains realData, can not pass the old Test, and i think in the problem of uri contains ,you are right ,we will not use contains in uri , so i restore the old implements with uri, and it's reason of ovverride the contai

so you means i should remove the override and the test case?

@MiniSC  you can add my wechat xixy199195， i will join you to contributor group


Syncing between multiple instances

I'm trying to figure out how this package ensures executing code only once when running multiple instances of the node.js server. While checking out the src I stumbled upon this error check. How is this not dead code, considering inserting the following in the jobHistory collection here:
var jobHistory = {       intendedAt: intendedAt,       name: entry.name,       startedAt: new Date()     };
I'm can't tell whether this is a real issue, but I would like to reason about the correct working before taking the effort to create a multi instance test setup.

Hmm, ok. I missed the added unique index:
SyncedCron._collection._ensureIndex({intendedAt: 1, name: 1}, {unique: true});
So this makes sure there can only be one cronjob scheduled at a particular moment in time. But how is it possible now to have two jobs scheduled at the same moment?

Never mind, I do understand now the index is set on the compound of the {intendedAt: 1, name: 1}.


COCO TEST

🚀 Feature

Would you mind providing a script to generate prediction results on COCO test dataset which can be submitted to the evaluation server?

The results in coco format (json with predictions) are automatically saved to OUTPUT_DIR inside the inference folder.


FAM colors in Java.

Is there a way to set the FAM colors and other attributes in Java?
Thank You.

Not yet. There's already an issue for this (#49).

Oops. I did see that, but wasn't aware what it meant. Sorry.

I made up a easy fix till programmatic support for FAMs is introduced.
I simply made a layout to hold my FAMs, made them GONE. Then I simply include that to whatever layout I need it in, then just set the FAM I need for that screen to VISIBLE.
A tad clunky, but it works for the time being.


fix(entrypoint) allow the use of --run-migrations

@thibaultcha could you please describe how you then use --run-migrations, please?

@yhourdel Ideally, you should not use it. Usage of this flag is disabled since a single node should be running migrations as per the current migrations mechanism. This flag is supported for legacy reason, so if you are not using it, better avoid doing so.

OK thanks, so we'll stick with the standard template with 2 nodes.


fonts

powerline fonts
source han code jp (requires pip3)
https://github.com/adobe-type-tools/afdko/
https://github.com/adobe-fonts/source-han-code-jp

move created fonts to somewhere
commands option

https://github.com/rajyan/dotfiles/commit/2e275610716839e102b9bc3b69356cda416cb534
installed with powerline font installer


Clean-up getMainThreadWorkerMessageHandler for non-PRODUCTION mode

This is a final piece of clean-up of code that I recently wrote, after which I'm done :-)
When the getMainThreadWorkerMessageHandler function was added, in PR #9385, it did so by basically introducing a web/app.js dependency in src/display/api.js through the window.pdfjsNonProductionPdfWorker property[1]. Even though this is limited to non-PRODUCTION mode, i.e. gulp server, it still seems unfortunate to have that sort of viewer dependency in the API code itself.
With the new, much nicer and shorter, names introduced in PR #9565 we can remove this non-PRODUCTION hack and just use window.pdfjsWorker in both the viewer and the API regardless of the build mode.

[1] It didn't seem correct to piggy-back on the window.pdfjsDistBuildPdfWorker property in non-PRODUCTION mode.

/botio-linux preview

Thank you!


Make sanitycheck aware of DTS and HW support

right now we document which features a board support in the board yaml, this obviously has lots of drawbacks and need to always be kept in sync with changing and added feature. Instead we should rely on information from DTS and make sanitycheck aware of what is supported and what not.

already implemented with dts filters.


Remove duplicate ci step

@YoussefHenna lets just update this to do this for the 48 branch since its the new guy


Refactor Container State

Using enum value format to represent container's state as:
type Cstate int64
const (
    Stopped Cstate = 0
    Running Cstate = (1 << iota)
    Paused
    Restarting
    RemovalInProgress
    Dead
)

so as to replace redundant bool values such as Running, Paused bool
Currently we have some places didn't handle state restarting right,  which is caused by confused container state from my point of view. . IsRunning() includes IsPaused() and IsRestarting(), this is ridiculous and I guess this is for easier code implementation before.
This PR will end this design, it will confine container in a single and precise state, a container can only be either running or restarting but can't be both at the same time, it will make code more clear, and easier to control.
As docker inspect makes use of the container state, I have done some translation in code so it WON'T break backward compatibility.
Unfinished:
-[] Fix test cases.
-[] Check whether expecting container state is right what we really want.
-[] Clean some unused daemon error, maybe throw same error ErrorCodeInvalidState instead of specific error for each.
This is a initial commit for showing the design
Signed-off-by: Zhang Wei<EMAIL_ADDRESS>

Job: Docker-PRs FAILED:

---
/execdriver/native/template
 - pkg/state/state.go imports github.com/docker/docker/errors
 - pkg/state/state_unix.go imports github.com/docker/docker/daemon/execdriver
 - pkg/state/state_unix.go imports github.com/docker/docker/daemon/execdriver/native/template
 - pkg/state/state_windows.go imports github.com/docker/docker/daemon/execdriver
 - pkg/state/state_windows.go imports github.com/docker/docker/daemon/execdriver/native/template

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs] $ /bin/sh -xe /tmp/hudson4954273547740702858.sh
+ set +x

---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.2 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.3%
 22.0%
 25.7%
 29.4%
 33.0%
 36.7%
 40.4%
 44.1%
 47.7%
 51.4%
 55.1%
 58.8%
 62.4%
 66.1%
 69.8%
 73.5%
 77.2%
 80.8%
 84.5%
 88.2%
 91.9%
 95.5%
 99.2%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.40 m   54.40 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            61585.777 MegaBytes/min.
   Ended : Tuesday, February 16, 2016 3:14:42 PM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-236c
---

Job: Docker-PRs-gccgo FAILED:

---
test files]
ok  	github.com/docker/docker/cliconfig	0.054s
ok  	github.com/docker/docker/container	0.174s
?   	github.com/docker/docker/contrib/apparmor	[no test files]
?   	github.com/docker/docker/contrib/docker-device-tool	[no test files]
?   	github.com/docker/docker/contrib/httpserver	[no test files]
# github.com/docker/docker/daemon
daemon/delete_test.go:28:22: error: reference to undefined identifier 'container.NewState'
    State:  container.NewState(),
                      ^
FAIL	github.com/docker/docker/daemon [build failed]
ok  	github.com/docker/docker/daemon/events	0.116s
?   	github.com/docker/docker/daemon/exec	[no test files]
?   	github.com/docker/docker/daemon/execdriver	[no test files]
?   	github.com/docker/docker/daemon/execdriver/execdrivers	[no test files]
?   	github.com/docker/docker/daemon/execdriver/native	[no test files]
?   	github.com/docker/docker/daemon/execdriver/native/template	[no test files]
?   	github.com/docker/docker/daemon/execdriver/windows	[no test files]
?   	github.com/dock
---

Job: Docker-PRs-experimental FAILED:

---
/execdriver/native/template
 - pkg/state/state.go imports github.com/docker/docker/errors
 - pkg/state/state_unix.go imports github.com/docker/docker/daemon/execdriver
 - pkg/state/state_unix.go imports github.com/docker/docker/daemon/execdriver/native/template
 - pkg/state/state_windows.go imports github.com/docker/docker/daemon/execdriver
 - pkg/state/state_windows.go imports github.com/docker/docker/daemon/execdriver/native/template

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson8593144803647814467.sh
+ set +x

---

Looks like there's some related failures

Job: Docker-PRs-userns FAILED:

---
ASS: docker_api_network_test.go:122: DockerSuite.TestApiNetworkConnectDisconnect	0.734s
PASS: docker_api_network_test.go:43: DockerSuite.TestApiNetworkCreateCheckDuplicate	0.279s
PASS: docker_api_network_test.go:27: DockerSuite.TestApiNetworkCreateDelete	0.194s
PASS: docker_api_network_test.go:66: DockerSuite.TestApiNetworkFilter	0.001s
PASS: docker_api_network_test.go:18: DockerSuite.TestApiNetworkGetDefaults	0.002s

----------------------------------------------------------------------
FAIL: docker_api_network_test.go:72: DockerSuite.TestApiNetworkInspect

docker_api_network_test.go:79:
    // run a container and attach it to the default bridge network
    out, _ := dockerCmd(c, "run", "-d", "--name", "test", "busybox", "top")
/go/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
    c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc82057ff40)} ("exit status 125")
...
---

@thaJeztah Yes, I'm fixing. :smile:
Can we turn off Gorden's notice, feels a little annoying.

Job: Docker-PRs-Win2Lin FAILED:

---
.921s
PASS: docker_api_network_test.go:122: DockerSuite.TestApiNetworkConnectDisconnect	1.281s
PASS: docker_api_network_test.go:43: DockerSuite.TestApiNetworkCreateCheckDuplicate	0.618s
PASS: docker_api_network_test.go:27: DockerSuite.TestApiNetworkCreateDelete	0.511s
PASS: docker_api_network_test.go:66: DockerSuite.TestApiNetworkFilter	0.006s
PASS: docker_api_network_test.go:18: DockerSuite.TestApiNetworkGetDefaults	0.006s

----------------------------------------------------------------------
FAIL: docker_api_network_test.go:72: DockerSuite.TestApiNetworkInspect

docker_api_network_test.go:79:
    // run a container and attach it to the default bridge network
    out, _ := dockerCmd(c, "run", "-d", "--name", "test", "busybox", "top")
C:/Jenkins/gopath/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
    c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc082005c20)} ("exit status 125"
---

Job: Docker-PRs-experimental FAILED:

---
ions_unix.go
 - daemon/daemon.go
 - daemon/delete.go
 - daemon/exec.go
 - daemon/image_delete.go
 - daemon/inspect.go
 - daemon/kill.go
 - daemon/list.go
 - daemon/logs.go
 - daemon/pause.go
 - daemon/rename.go
 - daemon/resize.go
 - daemon/start.go
 - daemon/stats.go
 - daemon/stop.go
 - daemon/top_unix.go
 - daemon/unpause.go
 - daemon/update.go

Please reformat the above files using "gofmt -s -w" and commit the result.

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson6993034230839726729.sh
+ set +x

---

Job: Docker-PRs FAILED:

---
ions_unix.go
 - daemon/daemon.go
 - daemon/delete.go
 - daemon/exec.go
 - daemon/image_delete.go
 - daemon/inspect.go
 - daemon/kill.go
 - daemon/list.go
 - daemon/logs.go
 - daemon/pause.go
 - daemon/rename.go
 - daemon/resize.go
 - daemon/start.go
 - daemon/stats.go
 - daemon/stop.go
 - daemon/top_unix.go
 - daemon/unpause.go
 - daemon/update.go

Please reformat the above files using "gofmt -s -w" and commit the result.

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs] $ /bin/sh -xe /tmp/hudson3093979865706661703.sh
+ set +x

---

@WeiZhang555 yeah, they can be; they'e automatically removed though if the failure is resolved

We may need a "Stopping" state too for when we issue a kill but its taking a while to happen.
I was wondering if we need a "Created" state that's separate from "Stopped" but we may not need it as long as there are other fields to tell us whether or not the container has even been executed - e.g. start time and there are good util funcs to help.  What do others think?

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.2 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.3%
 22.0%
 25.7%
 29.4%
 33.0%
 36.7%
 40.4%
 44.1%
 47.7%
 51.4%
 55.1%
 58.8%
 62.4%
 66.1%
 69.8%
 73.5%
 77.2%
 80.8%
 84.5%
 88.2%
 91.9%
 95.5%
 99.2%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.40 m   54.40 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            57265.478 MegaBytes/min.
   Ended : Tuesday, February 16, 2016 3:53:07 PM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-7d65
---

Job: Docker-PRs FAILED:

---
ons!  All commits are properly signed with the DCO!

---> Making bundle: validate-default-seccomp (in bundles/1.11.0-dev/validate-default-seccomp)

---> Making bundle: validate-gofmt (in bundles/1.11.0-dev/validate-gofmt)
These files are not properly gofmt'd:
 - daemon/attach.go
 - daemon/commit.go
 - daemon/container_operations_unix.go
 - daemon/stats.go

Please reformat the above files using "gofmt -s -w" and commit the result.

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs] $ /bin/sh -xe /tmp/hudson8192831178324980744.sh
+ set +x

---

Job: Docker-PRs-experimental FAILED:

---
ons!  All commits are properly signed with the DCO!

---> Making bundle: validate-default-seccomp (in bundles/1.11.0-dev/validate-default-seccomp)

---> Making bundle: validate-gofmt (in bundles/1.11.0-dev/validate-gofmt)
These files are not properly gofmt'd:
 - daemon/attach.go
 - daemon/commit.go
 - daemon/container_operations_unix.go
 - daemon/stats.go

Please reformat the above files using "gofmt -s -w" and commit the result.

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson8710389071710043504.sh
+ set +x

---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.2 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.3%
 22.0%
 25.7%
 29.4%
 33.0%
 36.7%
 40.4%
 44.1%
 47.7%
 51.4%
 55.1%
 58.8%
 62.4%
 66.1%
 69.8%
 73.5%
 77.2%
 80.8%
 84.5%
 88.2%
 91.9%
 95.5%
 99.2%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.40 m   54.40 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            70959.397 MegaBytes/min.
   Ended : Tuesday, February 16, 2016 3:59:25 PM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-3001
---

Ohh, I want to mention one more thing. Previous docker inspect result will return state like:
 "State": {
            "Status": "restarting",
            "Running": true,
            "Paused": false,
            "Restarting": true,
            "OOMKilled": false,
            "Dead": false,
           ...
        },

See that both "Running" and "Restarting" are true, after applying this PR:
 "State": {
            "Status": "restarting",
            "Running": false,
            "Paused": false,
            "Restarting": true,
            "OOMKilled": false,
            "Dead": false,
          ......
        },

Only "Restarting" is true, "Running" is false for a restarting container.
I'm doing this on purpose, I think it won't have bad impact but not sure if this will break some kind of backward compatibility.
I can change it back to previous bahaviour  If this is problematic.

Job: Docker-PRs-userns FAILED:

---
ASS: docker_api_network_test.go:122: DockerSuite.TestApiNetworkConnectDisconnect	0.883s
PASS: docker_api_network_test.go:43: DockerSuite.TestApiNetworkCreateCheckDuplicate	0.338s
PASS: docker_api_network_test.go:27: DockerSuite.TestApiNetworkCreateDelete	0.208s
PASS: docker_api_network_test.go:66: DockerSuite.TestApiNetworkFilter	0.001s
PASS: docker_api_network_test.go:18: DockerSuite.TestApiNetworkGetDefaults	0.002s

----------------------------------------------------------------------
FAIL: docker_api_network_test.go:72: DockerSuite.TestApiNetworkInspect

docker_api_network_test.go:79:
    // run a container and attach it to the default bridge network
    out, _ := dockerCmd(c, "run", "-d", "--name", "test", "busybox", "top")
/go/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
    c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc82055a420)} ("exit status 125")
...
---

Job: Docker-PRs FAILED:

---
ASS: docker_api_network_test.go:122: DockerSuite.TestApiNetworkConnectDisconnect	0.796s
PASS: docker_api_network_test.go:43: DockerSuite.TestApiNetworkCreateCheckDuplicate	0.255s
PASS: docker_api_network_test.go:27: DockerSuite.TestApiNetworkCreateDelete	0.189s
PASS: docker_api_network_test.go:66: DockerSuite.TestApiNetworkFilter	0.001s
PASS: docker_api_network_test.go:18: DockerSuite.TestApiNetworkGetDefaults	0.002s

----------------------------------------------------------------------
FAIL: docker_api_network_test.go:72: DockerSuite.TestApiNetworkInspect

docker_api_network_test.go:79:
    // run a container and attach it to the default bridge network
    out, _ := dockerCmd(c, "run", "-d", "--name", "test", "busybox", "top")
/go/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
    c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc82055e3a0)} ("exit status 125")
...
---

Job: Docker-PRs-Win2Lin FAILED:

---
.317s
PASS: docker_api_network_test.go:122: DockerSuite.TestApiNetworkConnectDisconnect	1.396s
PASS: docker_api_network_test.go:43: DockerSuite.TestApiNetworkCreateCheckDuplicate	0.550s
PASS: docker_api_network_test.go:27: DockerSuite.TestApiNetworkCreateDelete	0.472s
PASS: docker_api_network_test.go:66: DockerSuite.TestApiNetworkFilter	0.005s
PASS: docker_api_network_test.go:18: DockerSuite.TestApiNetworkGetDefaults	0.010s

----------------------------------------------------------------------
FAIL: docker_api_network_test.go:72: DockerSuite.TestApiNetworkInspect

docker_api_network_test.go:79:
    // run a container and attach it to the default bridge network
    out, _ := dockerCmd(c, "run", "-d", "--name", "test", "busybox", "top")
C:/Jenkins/gopath/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
    c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc08216a320)} ("exit status 125"
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.2 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.3%
 22.0%
 25.7%
 29.4%
 33.0%
 36.7%
 40.4%
 44.1%
 47.7%
 51.4%
 55.1%
 58.8%
 62.4%
 66.1%
 69.8%
 73.5%
 77.2%
 80.8%
 84.5%
 88.2%
 91.9%
 95.5%
 99.2%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.40 m   54.40 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :           864315848 Bytes/sec.
   Speed :           49456.549 MegaBytes/min.
   Ended : Tuesday, February 16, 2016 4:10:15 PM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-f04005
---

Job: Docker-PRs-gccgo FAILED:

---
docker_integration_cli.DockerSuite	0.268s
PASS: docker_api_network_test.go:27: TestApiNetworkCreateDelete.pN52_github_com_docker_docker_integration_cli.DockerSuite	0.256s
PASS: docker_api_network_test.go:66: TestApiNetworkFilter.pN52_github_com_docker_docker_integration_cli.DockerSuite	0.002s
PASS: docker_api_network_test.go:18: TestApiNetworkGetDefaults.pN52_github_com_docker_docker_integration_cli.DockerSuite	0.008s

----------------------------------------------------------------------
FAIL: docker_api_network_test.go:72: TestApiNetworkInspect.pN52_github_com_docker_docker_integration_cli.DockerSuite

/go/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
    c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc208394220)} ("exit status 125")
... "run -d --name test busybox top" failed with errors: 9274dc8e3454b62b989aed7bd0dbe44fea28d0ed65f2c010060ca5352cd29c06
/go/src/github.com/docker/docker/bundles/1.11.0-dev/test-i
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.1 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.4%
 22.1%
 25.7%
 29.4%
 33.1%
 36.8%
 40.5%
 44.2%
 47.8%
 51.5%
 55.2%
 58.9%
 62.6%
 66.3%
 70.0%
 73.6%
 77.3%
 81.0%
 84.7%
 88.4%
 92.1%
 95.7%
 99.4%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.28 m   54.28 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            63859.591 MegaBytes/min.
   Ended : Wednesday, February 17, 2016 3:23:34 AM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-0c
---

Job: Docker-PRs FAILED:

---
java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to ubuntu (aufs) (i-d5139d12)(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
	at hudson.remoting.Channel.call(Channel.java:781)
	... 17 more
ERROR: null
[PostBuildScript] - Execution post build scripts.
[Docker-PRs] $ /bin/sh -xe /tmp/hudson5849072524063778738.sh
FATAL: command execution failed
java.io.IOException: Remote call on ubuntu (aufs) (i-d5139d12) failed
	at hudson.remoting.Channel.call(Channel.java:789)
	at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
	at hudson.Launcher$ProcStarter.start(Launcher.java:381)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
	at org.jenkinsci.plugin
---

Job: Docker-PRs-experimental FAILED:

---
java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to ubuntu (aufs) (i-d5139d12)(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
	at hudson.remoting.Channel.call(Channel.java:781)
	... 17 more
ERROR: null
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson6332401256087063741.sh
FATAL: command execution failed
java.io.IOException: Remote call on ubuntu (aufs) (i-d5139d12) failed
	at hudson.remoting.Channel.call(Channel.java:789)
	at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
	at hudson.Launcher$ProcStarter.start(Launcher.java:381)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
	at org.jen
---

Job: Docker-PRs-gccgo FAILED:

---
java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to ubuntu (aufs) (i-d5139d12)(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
	at hudson.remoting.Channel.call(Channel.java:781)
	... 17 more
ERROR: null
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-gccgo] $ /bin/sh -xe /tmp/hudson3472841398490523441.sh
FATAL: command execution failed
java.io.IOException: Remote call on ubuntu (aufs) (i-d5139d12) failed
	at hudson.remoting.Channel.call(Channel.java:789)
	at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
	at hudson.Launcher$ProcStarter.start(Launcher.java:381)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
	at org.jenkinsci.
---

Job: Docker-PRs FAILED:

---
mp)

---> Making bundle: validate-gofmt (in bundles/1.11.0-dev/validate-gofmt)
Congratulations!  All Go source files are properly formatted.

---> Making bundle: validate-lint (in bundles/1.11.0-dev/validate-lint)
Errors from golint:
container/state/state.go:271:1: comment on exported method State.SetDeadLocking should be of the form "SetDeadLocking ..."

Please fix the above errors. You can test via "golint" and commit the result.

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs] $ /bin/sh -xe /tmp/hudson6816723267562035840.sh
+ set +x

---

Job: Docker-PRs-experimental FAILED:

---
mp)

---> Making bundle: validate-gofmt (in bundles/1.11.0-dev/validate-gofmt)
Congratulations!  All Go source files are properly formatted.

---> Making bundle: validate-lint (in bundles/1.11.0-dev/validate-lint)
Errors from golint:
container/state/state.go:271:1: comment on exported method State.SetDeadLocking should be of the form "SetDeadLocking ..."

Please fix the above errors. You can test via "golint" and commit the result.

Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson4966071013934468697.sh
+ set +x

---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.1 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.4%
 22.1%
 25.7%
 29.4%
 33.1%
 36.8%
 40.5%
 44.2%
 47.8%
 51.5%
 55.2%
 58.9%
 62.6%
 66.3%
 70.0%
 73.6%
 77.3%
 81.0%
 84.7%
 88.4%
 92.1%
 95.7%
 99.4%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.28 m   54.28 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            69294.450 MegaBytes/min.
   Ended : Wednesday, February 17, 2016 3:51:16 AM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-b6
---

Job: Docker-PRs-gccgo FAILED:

---
java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to ubuntu (aufs) (i-d5139d12)(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
	at hudson.remoting.Channel.call(Channel.java:781)
	... 17 more
ERROR: null
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-gccgo] $ /bin/sh -xe /tmp/hudson8283979454985178937.sh
FATAL: command execution failed
java.io.IOException: Remote call on ubuntu (aufs) (i-d5139d12) failed
	at hudson.remoting.Channel.call(Channel.java:789)
	at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
	at hudson.Launcher$ProcStarter.start(Launcher.java:381)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
	at org.jenkinsci.
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.1 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.4%
 22.1%
 25.7%
 29.4%
 33.1%
 36.8%
 40.5%
 44.2%
 47.8%
 51.5%
 55.2%
 58.9%
 62.6%
 66.3%
 70.0%
 73.6%
 77.3%
 81.0%
 84.7%
 88.4%
 92.1%
 95.7%
 99.4%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.28 m   54.28 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            67850.816 MegaBytes/min.
   Ended : Wednesday, February 17, 2016 4:06:30 AM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-16
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.1 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.4%
 22.1%
 25.7%
 29.4%
 33.1%
 36.8%
 40.5%
 44.2%
 47.8%
 51.5%
 55.2%
 58.9%
 62.6%
 66.3%
 70.0%
 73.6%
 77.3%
 81.0%
 84.7%
 88.4%
 92.1%
 95.7%
 99.4%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.28 m   54.28 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            63859.591 MegaBytes/min.
   Ended : Wednesday, February 17, 2016 5:15:38 AM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-17
---

Job: Docker-PRs-Win2Lin FAILED:

---
ockerSuite.TestBuildXZHost	2.805s
SKIP: docker_cli_proxy_test.go:12: DockerSuite.TestCliProxyDisableProxyUnixSock (Test requires docker daemon to run on the same machine as CLI)
SKIP: docker_cli_sni_test.go:16: DockerSuite.TestClientSetsTLSServerName (Flakey test)
PASS: docker_cli_run_test.go:3926: DockerSuite.TestCmdCannotBeInvoked	0.784s
PASS: docker_cli_commit_test.go:10: DockerSuite.TestCommitAfterContainerIsDone	1.021s

----------------------------------------------------------------------
FAIL: docker_cli_commit_test.go:109: DockerSuite.TestCommitChange

docker_cli_commit_test.go:111:
    dockerCmd(c, "run", "--name", "test", "busybox", "true")
C:/Jenkins/gopath/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
    c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc0821697e0)} ("exit status 125")
... "run --name test busybox true" failed with errors: C:\CI\CI-9d52b53\docker.e
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.1 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.3%
 22.0%
 25.7%
 29.4%
 33.1%
 36.7%
 40.4%
 44.1%
 47.8%
 51.5%
 55.1%
 58.8%
 62.5%
 66.2%
 69.9%
 73.5%
 77.2%
 80.9%
 84.6%
 88.2%
 91.9%
 95.6%
 99.3%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.36 m   54.36 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :           814326314 Bytes/sec.
   Speed :           46596.125 MegaBytes/min.
   Ended : Wednesday, February 17, 2016 7:31:30 AM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-7730
---

Job: Docker-PRs-userns FAILED:

---
15s
PASS: docker_cli_rename_test.go:26: DockerSuite.TestRenameRunningContainer	0.488s
PASS: docker_cli_rename_test.go:37: DockerSuite.TestRenameRunningContainerAndReuse	0.859s
PASS: docker_cli_rename_test.go:11: DockerSuite.TestRenameStoppedContainer	0.567s
PASS: docker_api_resize_test.go:21: DockerSuite.TestResizeApiHeightWidthNoInt	0.318s
PASS: docker_api_resize_test.go:11: DockerSuite.TestResizeApiResponse	0.317s

----------------------------------------------------------------------
FAIL: docker_api_resize_test.go:31: DockerSuite.TestResizeApiResponseWhenContainerNotStarted

docker_api_resize_test.go:40:
    c.Assert(status, check.Equals, http.StatusInternalServerError)
... obtained int = 409
... expected int = 500

----------------------------------------------------------------------
PASS: docker_cli_restart_test.go:84: DockerSuite.TestRestartPolicyAlways	0.377s
PASS: docker_cli_restart_test.go:75: DockerSuite.TestRestartPolicyNO	0.377s
PASS: docker_cli_restart_test.go:98: DockerSuite.TestRestartPolicyOnFailure	0.372s
PASS: docker_cli_restart_test.go
---

Job: Docker-PRs-Win2Lin FAILED:

---
Name	0.751s
PASS: docker_cli_rename_test.go:26: DockerSuite.TestRenameRunningContainer	0.949s
PASS: docker_cli_rename_test.go:37: DockerSuite.TestRenameRunningContainerAndReuse	1.456s
PASS: docker_cli_rename_test.go:11: DockerSuite.TestRenameStoppedContainer	1.095s
PASS: docker_api_resize_test.go:21: DockerSuite.TestResizeApiHeightWidthNoInt	0.588s
PASS: docker_api_resize_test.go:11: DockerSuite.TestResizeApiResponse	0.425s

----------------------------------------------------------------------
FAIL: docker_api_resize_test.go:31: DockerSuite.TestResizeApiResponseWhenContainerNotStarted

docker_api_resize_test.go:40:
    c.Assert(status, check.Equals, http.StatusInternalServerError)
... obtained int = 409
... expected int = 500

----------------------------------------------------------------------
PASS: docker_cli_restart_test.go:84: DockerSuite.TestRestartPolicyAlways	0.758s
PASS: docker_cli_restart_test.go:75: DockerSuite.TestRestartPolicyNO	0.781s
PASS: docker_cli_restart_test.go:98: DockerSuite.TestRestartPolicyOnFailure	0.425s
PASS: docker_cli_restart_test.go:29: DockerS
---

Job: Docker-PRs FAILED:

---
77s
PASS: docker_cli_rename_test.go:26: DockerSuite.TestRenameRunningContainer	0.546s
PASS: docker_cli_rename_test.go:37: DockerSuite.TestRenameRunningContainerAndReuse	0.848s
PASS: docker_cli_rename_test.go:11: DockerSuite.TestRenameStoppedContainer	0.626s
PASS: docker_api_resize_test.go:21: DockerSuite.TestResizeApiHeightWidthNoInt	0.335s
PASS: docker_api_resize_test.go:11: DockerSuite.TestResizeApiResponse	0.338s

----------------------------------------------------------------------
FAIL: docker_api_resize_test.go:31: DockerSuite.TestResizeApiResponseWhenContainerNotStarted

docker_api_resize_test.go:40:
    c.Assert(status, check.Equals, http.StatusInternalServerError)
... obtained int = 409
... expected int = 500

----------------------------------------------------------------------
PASS: docker_cli_restart_test.go:84: DockerSuite.TestRestartPolicyAlways	0.408s
PASS: docker_cli_restart_test.go:75: DockerSuite.TestRestartPolicyNO	0.370s
PASS: docker_cli_restart_test.go:98: DockerSuite.TestRestartPolicyOnFailure	0.392s
PASS: docker_cli_restart_test.go
---

Job: Docker-PRs-experimental FAILED:

---
87s
PASS: docker_cli_rename_test.go:26: DockerSuite.TestRenameRunningContainer	0.521s
PASS: docker_cli_rename_test.go:37: DockerSuite.TestRenameRunningContainerAndReuse	0.928s
PASS: docker_cli_rename_test.go:11: DockerSuite.TestRenameStoppedContainer	0.616s
PASS: docker_api_resize_test.go:21: DockerSuite.TestResizeApiHeightWidthNoInt	0.338s
PASS: docker_api_resize_test.go:11: DockerSuite.TestResizeApiResponse	0.357s

----------------------------------------------------------------------
FAIL: docker_api_resize_test.go:31: DockerSuite.TestResizeApiResponseWhenContainerNotStarted

docker_api_resize_test.go:40:
    c.Assert(status, check.Equals, http.StatusInternalServerError)
... obtained int = 409
... expected int = 500

----------------------------------------------------------------------
PASS: docker_cli_restart_test.go:84: DockerSuite.TestRestartPolicyAlways	0.410s
PASS: docker_cli_restart_test.go:75: DockerSuite.TestRestartPolicyNO	0.398s
PASS: docker_cli_restart_test.go:98: DockerSuite.TestRestartPolicyOnFailure	0.362s
PASS: docker_cli_restart_test.go
---

Job: Docker-PRs-experimental FAILED:

---
py .....
../../../../../docker-py/tests/integration/container_test.py .................................................F.
../../../../../docker-py/tests/integration/exec_test.py .......
../../../../../docker-py/tests/integration/image_test.py .........s
../../../../../docker-py/tests/integration/network_test.py ......
../../../../../docker-py/tests/integration/regression_test.py ......
../../../../../docker-py/tests/integration/volume_test.py .......

=================================== FAILURES ===================================
_________________________ PauseTest.test_pause_unpause _________________________
/docker-py/tests/integration/container_test.py:991: in test_pause_unpause
    self.assertEqual(state['Running'], True)
E   AssertionError: False != True
=========================== short test summary info ============================
SKIP [1] tests/integration/image_test.py:216: Doesn't work inside a container - FIXME
=============== 1 failed, 100 passed, 1 skipped in 97.29 seconds ===============
---> Makin
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.1 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.3%
 22.0%
 25.7%
 29.4%
 33.1%
 36.7%
 40.4%
 44.1%
 47.8%
 51.5%
 55.1%
 58.8%
 62.5%
 66.2%
 69.9%
 73.5%
 77.2%
 80.9%
 84.6%
 88.2%
 91.9%
 95.6%
 99.3%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.36 m   54.36 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            66567.089 MegaBytes/min.
   Ended : Wednesday, February 17, 2016 8:38:04 AM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-79
---

docker-py tests failed in this line: https://github.com/docker/docker-py/blob/master/tests/integration/container_test.py#L989
As I said, I'm doing this on purpose(for a paused contaner, docker inspect shows state Paused=true and Running=false, previous result will show Running=true).
Other test cases pass In addition to docker-py error, so it works.

Job: Docker-PRs-Win2Lin FAILED:

---
te}/state_unix.go (80%)
 rename container/{ => state}/state_windows.go (93%)
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson6079549387123187017.sh
+ set +x
INFO: Started at Thu Feb 18 01:41:47 CUT 2016. Script version 4-Jan-2016 15:19 PST
Build step 'Execute shell' marked build as failure
Performing Post build task...
Could not match :Build timed out  : False
Logical operation result is FALSE
Skipping script  : cd c:\scripts
sh timeout-post-build.sh

END OF POST BUILD TASK 	: 0
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson394526438003057459.sh
+ set +x

---

Job: Docker-PRs FAILED:

---
py .....
../../../../../docker-py/tests/integration/container_test.py .................................................F.
../../../../../docker-py/tests/integration/exec_test.py .......
../../../../../docker-py/tests/integration/image_test.py .........s
../../../../../docker-py/tests/integration/network_test.py ......
../../../../../docker-py/tests/integration/regression_test.py ......
../../../../../docker-py/tests/integration/volume_test.py .......

=================================== FAILURES ===================================
_________________________ PauseTest.test_pause_unpause _________________________
/docker-py/tests/integration/container_test.py:991: in test_pause_unpause
    self.assertEqual(state['Running'], True)
E   AssertionError: False != True
=========================== short test summary info ============================
SKIP [1] tests/integration/image_test.py:216: Doesn't work inside a container - FIXME
=============== 1 failed, 100 passed, 1 skipped in 93.65 seconds ===============
---> Makin
---

Job: Docker-PRs-experimental FAILED:

---
py .....
../../../../../docker-py/tests/integration/container_test.py .................................................F.
../../../../../docker-py/tests/integration/exec_test.py .......
../../../../../docker-py/tests/integration/image_test.py .........s
../../../../../docker-py/tests/integration/network_test.py ......
../../../../../docker-py/tests/integration/regression_test.py ......
../../../../../docker-py/tests/integration/volume_test.py .......

=================================== FAILURES ===================================
_________________________ PauseTest.test_pause_unpause _________________________
/docker-py/tests/integration/container_test.py:991: in test_pause_unpause
    self.assertEqual(state['Running'], True)
E   AssertionError: False != True
=========================== short test summary info ============================
SKIP [1] tests/integration/image_test.py:216: Doesn't work inside a container - FIXME
============== 1 failed, 100 passed, 1 skipped in 120.81 seconds ===============
---> Makin
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.1 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.3%
 22.0%
 25.7%
 29.4%
 33.1%
 36.7%
 40.4%
 44.1%
 47.8%
 51.4%
 55.1%
 58.8%
 62.5%
 66.2%
 69.8%
 73.5%
 77.2%
 80.9%
 84.5%
 88.2%
 91.9%
 95.6%
 99.3%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.37 m   54.37 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            61558.428 MegaBytes/min.
   Ended : Thursday, February 18, 2016 1:43:18 AM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-5a3
---

As I said, I'm doing this on purpose(for a paused contaner, docker inspect shows state Paused=true and Running=false, previous result will show Running=true).

I fully agree that having both "Paused=true" and "Running=true" is confusing. Having said that, it is possible that people rely on this weird behavior; if this is part of the API response; should we make the dependent on the API version?

@thaJeztah I understand your worries, it seems possible.
I'll make it API version dependent. For API version <= 1.22(?) return "Running=true" for paused and restarting container, but for API version > 1.22, return "Running=false" for them.

@WeiZhang555 SGTM! (just my 0.02c :smile:)

Job: Docker-PRs-Win2Lin FAILED:

---
te}/state_unix.go (80%)
 rename container/{ => state}/state_windows.go (93%)
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson5085582173838411705.sh
+ set +x
INFO: Started at Thu Feb 18 14:30:23 CUT 2016. Script version 4-Jan-2016 15:19 PST
Build step 'Execute shell' marked build as failure
Performing Post build task...
Could not match :Build timed out  : False
Logical operation result is FALSE
Skipping script  : cd c:\scripts
sh timeout-post-build.sh

END OF POST BUILD TASK 	: 0
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson6767629931830994594.sh
+ set +x

---

Job: Docker-PRs-WoW-TP4 FAILED:

---
pectCurrent
+ ec=1
+ set +x

----------------------------------
ERROR: Failed to build test binary
----------------------------------

-----------------------------------------------
ERROR: Failed with exitcode 1 at Thu Feb 18 14:31:52 CUT 2016.
-----------------------------------------------

INFO: Tidying up at end of run
INFO: Nuking /d/CI
INFO: Zapped successfully
INFO: End of cleanup
INFO: Ended at Thu Feb 18 14:31:54 CUT 2016 (1m 37s)
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\jenkins\AppData\Local\Temp\hudson3657230216704605399.sh
+ set +e
+ set +x
INFO: End of cleanup
Notifying endpoint 'HTTP:https://leeroy.dockerproject.org/notification/jenkins'
---

Job: Docker-PRs-Win2Lin FAILED:

---
te}/state_unix.go (80%)
 rename container/{ => state}/state_windows.go (93%)
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson4535138584363386123.sh
+ set +x
INFO: Started at Thu Feb 18 14:35:50 CUT 2016. Script version 4-Jan-2016 15:19 PST
Build step 'Execute shell' marked build as failure
Performing Post build task...
Could not match :Build timed out  : False
Logical operation result is FALSE
Skipping script  : cd c:\scripts
sh timeout-post-build.sh

END OF POST BUILD TASK 	: 0
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson1134227898557661351.sh
+ set +x

---

Job: Docker-PRs-Win2Lin FAILED:

---
te}/state_unix.go (80%)
 rename container/{ => state}/state_windows.go (93%)
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson1616134238994990159.sh
+ set +x
INFO: Started at Thu Feb 18 14:40:14 CUT 2016. Script version 4-Jan-2016 15:19 PST
Build step 'Execute shell' marked build as failure
Performing Post build task...
Could not match :Build timed out  : False
Logical operation result is FALSE
Skipping script  : cd c:\scripts
sh timeout-post-build.sh

END OF POST BUILD TASK 	: 0
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson591755871255146487.sh
+ set +x

---

@thaJeztah Updated.  inspect will have same result for API version < 1.23, see https://github.com/docker/docker/pull/20355/files#diff-9d7e088e8ca8f96f2ac0af044001ae04R137
@duglin Not sure about Stopping and Created state, guess there may be some obstacles to implementing stopping state, for example, if stop failed, which state should container restore to? We may need to keep old state somewhere.  Created seems good. And I think it's better to add new state in a separate PR.
And what do other maintainers think of this?

Job: Docker-PRs-experimental FAILED:

---
Created tgz: bundles/1.11.0-dev/tgz/freebsd/amd64/docker-1.11.0-dev.tgz
Created tgz: bundles/1.11.0-dev/tgz/freebsd/arm/docker-1.11.0-dev.tgz
Created tgz: bundles/1.11.0-dev/tgz/linux/386/docker-1.11.0-dev.tgz
Created tgz: bundles/1.11.0-dev/tgz/linux/amd64/docker-1.11.0-dev.tgz
Created tgz: bundles/1.11.0-dev/tgz/linux/arm/docker-1.11.0-dev.tgz
Created tgz: bundles/1.11.0-dev/tgz/windows/386/docker-1.11.0-dev.tgz
Created tgz: bundles/1.11.0-dev/tgz/windows/amd64/docker-1.11.0-dev.tgz

[PostBuildScript] - Execution post build scripts.
[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson75530009215735917.sh
+ set +x

---

ping @calavera ptal

a lot of change makes sense, but there are two things that I don't think we should do:

Replace well defined functions like IsRunning with more abstracts like IsInLockingState(Running|Pause).
Change the inspect behavior.

Job: Docker-PRs-Win2Lin FAILED:

---
Get http://<IP_ADDRESS>:2375/v1.23/containers/json?all=1&filters=%7B%22status%22%3A%7B%22paused%22%3Atrue%7D%7D: dial tcp <IP_ADDRESS>:2375: connectex: No connection could be made because the target machine actively refused it.

An error occurred trying to connect: Get http://<IP_ADDRESS>:2375/v1.23/containers/json?all=1: dial tcp <IP_ADDRESS>:2375: connectex: No connection could be made because the target machine actively refused it.

----------------------------------------------------------------------
FAIL: docker_cli_restart_test.go:29: DockerSuite.TestRestartRunningContainer

docker_cli_restart_test.go:31:
    out, _ := dockerCmd(c, "run", "-d", "busybox", "sh", "-c", "echo foobar && sleep 30 && echo 'should not print this'")
C:/Jenkins/gopath/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
    c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc08248e5e0)} ("exit status 125")
... "run -d busybox
---

@calavera

a lot of change makes sense, but there are two things that I don't think we should do:

Replace well defined functions like IsRunning with more abstracts like IsInLockingState(Running|Pause).

OK, I can wrap several functions e.g. IsRunning/IsRunningLocking, IsPausedLocking/IsPaused, something like this.

Change the inspect behavior.

I think it's very confusing to show that a Paused container is also Running, I've changed this part API denpendent, the behavior before API version 1.23 will keep the same but I hope we can do something for later API. Let Paused container to be only Paused but set Running=false.
What do you think of this?

Job: Docker-PRs-WoW-TP4 FAILED:

---
ing daemon/update.go
CONFLICT (content): Merge conflict in daemon/update.go
Auto-merging daemon/start.go
Auto-merging daemon/daemon.go
Auto-merging container/state/state_windows.go
Auto-merging container/state/state_unix.go
Auto-merging container/state/state_test.go
Auto-merging container/state/state.go
Auto-merging container/container_unix.go
Auto-merging container/container.go
Automatic merge failed; fix conflicts and then commit the result.
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\jenkins\hudson2254410305141157032.sh
+ set +e
+ set +x
INFO: Nuking /d/CI
time="2016-02-20T14:36:58Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End
---

Job: Docker-PRs-Win2Lin FAILED:

---
ontainer/state/state_unix.go
Auto-merging container/state/state_test.go
Auto-merging container/state/state.go
Auto-merging container/container_unix.go
Auto-merging container/container.go
Automatic merge failed; fix conflicts and then commit the result.
Build step 'Execute shell' marked build as failure
Performing Post build task...
Could not match :Build timed out  : False
Logical operation result is FALSE
Skipping script  : cd c:\scripts
sh timeout-post-build.sh

END OF POST BUILD TASK 	: 0
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson3733501622501237781.sh
+ set +x

---

Job: Docker-PRs FAILED:

---
tulations!  All toml source files changed here have valid syntax.

---> Making bundle: validate-vet (in bundles/1.11.0-dev/validate-vet)
Congratulations!  All Go source files have been vetted.

---> Making bundle: binary (in bundles/1.11.0-dev/binary)
Building: bundles/1.11.0-dev/binary/docker-1.11.0-dev
# github.com/docker/docker/daemon
daemon/update.go:75: syntax error: unexpected <<
daemon/update.go:77: syntax error: unexpected ==
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs] $ /bin/sh -xe /tmp/hudson850725463632085935.sh
+ set +x

---

Job: Docker-PRs-userns FAILED:

---
INT hack/dind
 ---> Using cache
 ---> 6b33207d8b36
Step 49 : COPY . /go/src/github.com/docker/docker
 ---> c2ff06fd7469
Removing intermediate container 0b938ac1cbdc
Successfully built c2ff06fd7469

---> Making bundle: binary (in bundles/1.11.0-dev/binary)
Building: bundles/1.11.0-dev/binary/docker-1.11.0-dev
# github.com/docker/docker/daemon
daemon/update.go:75: syntax error: unexpected <<
daemon/update.go:77: syntax error: unexpected ==
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-userns] $ /bin/sh -xe /tmp/hudson1815205815180157566.sh
+ set +x

---

Job: Docker-PRs-experimental FAILED:

---
tulations!  All toml source files changed here have valid syntax.

---> Making bundle: validate-vet (in bundles/1.11.0-dev/validate-vet)
Congratulations!  All Go source files have been vetted.

---> Making bundle: binary (in bundles/1.11.0-dev/binary)
Building: bundles/1.11.0-dev/binary/docker-1.11.0-dev
# github.com/docker/docker/daemon
daemon/update.go:75: syntax error: unexpected <<
daemon/update.go:77: syntax error: unexpected ==
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson8578691634911364325.sh
+ set +x

---

Job: Docker-PRs-WoW-TP4 FAILED:

---
0T14:45:09Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End of cleanup
INFO: Ended at Sat Feb 20 14:45:09 CUT 2016 (1m 26s)
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\jenkins\hudson1468335351205283323.sh
+ set +e
+ set +x
INFO: Nuking /d/CI
time="2016-02-20T14:45:12Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End
---

Job: Docker-PRs-Win2Lin FAILED:

---
dev.exe
# github.com/docker/docker/daemon
daemon\inspect_windows.go:7: imported and not used: "github.com/docker/docker/pkg/version"
+ ec=1
+ set +x
ERROR: Build of binary on Windows failed
ERROR: Failed with exitcode 1 at Sat Feb 20 14:45:44 CUT 2016.
Build step 'Execute shell' marked build as failure
Performing Post build task...
Could not match :Build timed out  : False
Logical operation result is FALSE
Skipping script  : cd c:\scripts
sh timeout-post-build.sh

END OF POST BUILD TASK 	: 0
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\Jenkins\AppData\Local\Temp\hudson4141166819255675724.sh
+ set +x

---

Job: Docker-PRs-WoW-TP4 FAILED:

---
0T14:50:39Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End of cleanup
INFO: Ended at Sat Feb 20 14:50:39 CUT 2016 (1m 27s)
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\jenkins\hudson3496892330791299635.sh
+ set +e
+ set +x
INFO: Nuking /d/CI
time="2016-02-20T14:50:42Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End
---

Job: Docker-PRs-gccgo FAILED:

---
ocker/container	0.224s
ok  	github.com/docker/docker/container/state	0.198s
?   	github.com/docker/docker/contrib/apparmor	[no test files]
?   	github.com/docker/docker/contrib/docker-device-tool	[no test files]
?   	github.com/docker/docker/contrib/httpserver	[no test files]
# github.com/docker/docker/daemon
daemon/delete_test.go:36:21: error: reference to undefined field or method 'SetRemovalInProgress'
  if err := container.SetRemovalInProgress(); err != nil {
                     ^
FAIL	github.com/docker/docker/daemon [build failed]
ok  	github.com/docker/docker/daemon/events	0.115s
?   	github.com/docker/docker/daemon/exec	[no test files]
?   	github.com/docker/docker/daemon/execdriver	[no test files]
?   	github.com/docker/docker/daemon/execdriver/execdrivers	[no test files]
?   	github.com/docker/docker/daemon/execdriver/native	[no test files]
?   	github.com/docker/docker/daemon/execdriver/native/template	[no test files]
?   	github.com/docker/docker/daemon/execdriver/windows	[no test files]
?   	github.com/dock
---

Job: Docker-PRs FAILED:

---
atements
ok  	github.com/docker/docker/container/state	0.107s	coverage: 33.6% of statements
?   	github.com/docker/docker/contrib/apparmor	[no test files]
?   	github.com/docker/docker/contrib/docker-device-tool	[no test files]
?   	github.com/docker/docker/contrib/httpserver	[no test files]
# github.com/docker/docker/daemon
daemon/delete_test.go:36: container.SetRemovalInProgress undefined (type *"github.com/docker/docker/container".Container has no field or method SetRemovalInProgress)
FAIL	github.com/docker/docker/daemon [build failed]
ok  	github.com/docker/docker/daemon/events	0.066s	coverage: 39.1% of statements
?   	github.com/docker/docker/daemon/exec	[no test files]
?   	github.com/docker/docker/daemon/execdriver	[no test files]
?   	github.com/docker/docker/daemon/execdriver/execdrivers	[no test files]
?   	github.com/docker/docker/daemon/execdriver/native	[no test files]
?   	github.com/docker/docker/daemon/execdriver/native/template	[no test files]
?   	github.com/docker/docker/daemon/execdriver/windows	[no tes
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
0T15:02:58Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End of cleanup
INFO: Ended at Sat Feb 20 15:02:58 CUT 2016 (1m 28s)
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\jenkins\hudson5795033957212654852.sh
+ set +e
+ set +x
INFO: Nuking /d/CI
time="2016-02-20T15:03:01Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End
---

Job: Docker-PRs-userns FAILED:

---
646s
PASS: docker_cli_restart_test.go:98: DockerSuite.TestRestartPolicyOnFailure	0.623s
PASS: docker_cli_restart_test.go:29: DockerSuite.TestRestartRunningContainer	2.227s
PASS: docker_cli_restart_test.go:13: DockerSuite.TestRestartStoppedContainer	0.868s
PASS: docker_cli_restart_test.go:50: DockerSuite.TestRestartWithVolumes	0.798s
PASS: docker_cli_rm_test.go:45: DockerSuite.TestRmContainerForceRemoveRunning	1.116s

----------------------------------------------------------------------
FAIL: docker_cli_rm_test.go:52: DockerSuite.TestRmContainerOrphaning

docker_cli_rm_test.go:74:
    c.Assert(out, checker.Contains, img1, check.Commentf("Orphaned container (could not find %q in docker images): %s", img1, out))
... obtained string = "" +
...     "sha256:e51c86384c81938f17b5e317fe0400842ff7ead1b773716040f7bd47b63185ac\n" +
...     "sha256:6ef6b821b56a93934cf4a0f3a67230c5d0054ed5d0617825eaee70990093758c\n" +
...     "sha256:076f721daefdfbb7efe7644643c8a2f1ccd278a6f918f4a0978cf75b78bb373b\n" +
...     "sha256:c648cd6a73969d01003f84dcb558aa19
---

Job: Docker-PRs-Win2Lin FAILED:

---
icyNO	0.861s
PASS: docker_cli_restart_test.go:98: DockerSuite.TestRestartPolicyOnFailure	0.771s
PASS: docker_cli_restart_test.go:29: DockerSuite.TestRestartRunningContainer	3.098s
PASS: docker_cli_restart_test.go:13: DockerSuite.TestRestartStoppedContainer	1.494s
PASS: docker_cli_restart_test.go:50: DockerSuite.TestRestartWithVolumes	1.704s
PASS: docker_cli_rm_test.go:45: DockerSuite.TestRmContainerForceRemoveRunning	1.034s

----------------------------------------------------------------------
FAIL: docker_cli_rm_test.go:52: DockerSuite.TestRmContainerOrphaning

docker_cli_rm_test.go:74:
    c.Assert(out, checker.Contains, img1, check.Commentf("Orphaned container (could not find %q in docker images): %s", img1, out))
... obtained string = "" +
...     "sha256:b81d1e6ed543c1de0ec599288b4f14bf7e667a2ad8110fe0df26596feaefb57b\n" +
...     "sha256:4d9dd52b736accc3e26f13f64586ecb90893caddc374abc360c88f94cf9119a9\n" +
...     "sha256:076f721daefdfbb7efe7644643c8a2f1ccd278a6f918f4a0978cf75b78bb373b\n" +
...     "sha256:c648cd6a73969d01003f84dcb558aa19f153fdbb
---

Job: Docker-PRs-experimental FAILED:

---
583s
PASS: docker_cli_restart_test.go:98: DockerSuite.TestRestartPolicyOnFailure	0.412s
PASS: docker_cli_restart_test.go:29: DockerSuite.TestRestartRunningContainer	2.651s
PASS: docker_cli_restart_test.go:13: DockerSuite.TestRestartStoppedContainer	1.128s
PASS: docker_cli_restart_test.go:50: DockerSuite.TestRestartWithVolumes	1.172s
PASS: docker_cli_rm_test.go:45: DockerSuite.TestRmContainerForceRemoveRunning	0.677s

----------------------------------------------------------------------
FAIL: docker_cli_rm_test.go:52: DockerSuite.TestRmContainerOrphaning

docker_cli_rm_test.go:74:
    c.Assert(out, checker.Contains, img1, check.Commentf("Orphaned container (could not find %q in docker images): %s", img1, out))
... obtained string = "" +
...     "sha256:92f0ddf2cd3a5c27010f0e30519843f94ddd1b092a5737cf259bfc991d242930\n" +
...     "sha256:07bc47b6335dbacba0d6153c1d030fb317775f3c1f9f2dcbb226294ed199ddb3\n" +
...     "sha256:076f721daefdfbb7efe7644643c8a2f1ccd278a6f918f4a0978cf75b78bb373b\n" +
...     "sha256:c648cd6a73969d01003f84dcb558aa19
---

Job: Docker-PRs FAILED:

---
586s
PASS: docker_cli_restart_test.go:98: DockerSuite.TestRestartPolicyOnFailure	0.673s
PASS: docker_cli_restart_test.go:29: DockerSuite.TestRestartRunningContainer	2.581s
PASS: docker_cli_restart_test.go:13: DockerSuite.TestRestartStoppedContainer	0.948s
PASS: docker_cli_restart_test.go:50: DockerSuite.TestRestartWithVolumes	0.901s
PASS: docker_cli_rm_test.go:45: DockerSuite.TestRmContainerForceRemoveRunning	0.743s

----------------------------------------------------------------------
FAIL: docker_cli_rm_test.go:52: DockerSuite.TestRmContainerOrphaning

docker_cli_rm_test.go:74:
    c.Assert(out, checker.Contains, img1, check.Commentf("Orphaned container (could not find %q in docker images): %s", img1, out))
... obtained string = "" +
...     "sha256:fc32cf47d9887abbbe2997f4393d0d547ef84a934bd2698a5d8dd32c85c00fb8\n" +
...     "sha256:95d990cdd4373835f2983b8d607868662fe0f249e4a3b19f955ee78fba69fada\n" +
...     "sha256:076f721daefdfbb7efe7644643c8a2f1ccd278a6f918f4a0978cf75b78bb373b\n" +
...     "sha256:c648cd6a73969d01003f84dcb558aa19
---

Job: Docker-PRs-gccgo FAILED:

---
_integration_cli.DockerSuite	3.313s
PASS: docker_cli_restart_test.go:13: TestRestartStoppedContainer.pN52_github_com_docker_docker_integration_cli.DockerSuite	1.686s
PASS: docker_cli_restart_test.go:50: TestRestartWithVolumes.pN52_github_com_docker_docker_integration_cli.DockerSuite	1.936s
PASS: docker_cli_rm_test.go:45: TestRmContainerForceRemoveRunning.pN52_github_com_docker_docker_integration_cli.DockerSuite	1.256s

----------------------------------------------------------------------
FAIL: docker_cli_rm_test.go:52: TestRmContainerOrphaning.pN52_github_com_docker_docker_integration_cli.DockerSuite

docker_cli_rm_test.go:74:
    c.Assert(out, checker.Contains, img1, check.Commentf("Orphaned container (could not find %q in docker images): %s", img1, out))
... obtained string = "" +
...     "sha256:c610e14b0901a104c75e444d90ec0370ac7948d91361b80968b05424702b8cc4\n" +
...     "sha256:1e1aec5592ab31cc0b12ec8931bb5dc2e7181a840f69f2bdaee53dce806d685f\n" +
...     "sha256:076f721daefdfbb7efe7644643c8a2f1ccd278a6f918f4a0978cf75b78bb373b\n" +
...     "sha256:c648cd6a73969d01003f84dcb558aa19
---

Job: Docker-PRs-WoW-TP4 FAILED:

---
0T17:48:23Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End of cleanup
INFO: Ended at Sat Feb 20 17:48:23 CUT 2016 (1m 25s)
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe C:\Users\jenkins\hudson7939780394003736160.sh
+ set +e
+ set +x
INFO: Nuking /d/CI
time="2016-02-20T17:48:27Z" level=error msg="hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0"
ERROR:  hcsshim::DestroyLayer - Win32 API call returned error r1=0x80070020 err=The process cannot access the file because it is being used by another process.id=CI flavour=0
INFO: End
---

Job: Docker-PRs-Win2Lin FAILED:

---
Get http://<IP_ADDRESS>:2375/v1.23/containers/json?all=1&filters=%7B%22status%22%3A%7B%22paused%22%3Atrue%7D%7D: dial tcp <IP_ADDRESS>:2375: connectex: No connection could be made because the target machine actively refused it.

An error occurred trying to connect: Get http://<IP_ADDRESS>:2375/v1.23/containers/json?all=1: dial tcp <IP_ADDRESS>:2375: connectex: No connection could be made because the target machine actively refused it.

----------------------------------------------------------------------
FAIL: docker_api_volumes_test.go:42: DockerSuite.TestVolumesApiRemove

docker_api_volumes_test.go:61:
    c.Assert(err, checker.IsNil)
... value *errors.errorString = &errors.errorString{s:"unexpected EOF"} ("unexpected EOF")

An error occurred trying to connect: Get http://<IP_ADDRESS>:2375/v1.23/containers/json?all=1&filters=%7B%22status%22%3A%7B%22paused%22%3Atrue%7D%7D: dial tcp <IP_ADDRESS>:2375: connectex: No connection could be made because the target machine actively refused it.

All profile caches have been cleared, but no profiles have been unloaded.
Unloading profiles will leave already running processes permanently
unconfined, which can lead to unexpected situations.

To set a process to complain mode, use the command line tool

---

Job: Docker-PRs-WoW-TP4 FAILED:

---
	      56	docker-1.11.0-dev.exe.md5
  0%
100%
	    New File  		      88	docker-1.11.0-dev.exe.sha256
  0%
100%
	    New File  		  27.0 m	docker.exe
  0.0%
  3.6%
  7.3%
 11.0%
 14.7%
 18.4%
 22.1%
 25.8%
 29.5%
 33.2%
 36.9%
 40.6%
 44.3%
 48.0%
 51.7%
 55.4%
 59.0%
 62.7%
 66.4%
 70.1%
 73.8%
 77.5%
 81.2%
 84.9%
 88.6%
 92.3%
 96.0%
 99.7%
100%

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         4         4         0         0         0         0
   Bytes :   54.14 m   54.14 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :<PHONE_NUMBER> Bytes/sec.
   Speed :            61298.161 MegaBytes/min.
   Ended : Sunday, February 21, 2016 3:50:24 PM

+ ec=0
+ set +x
INFO: Linking the built binary to /d/CI/CI-f7c69
---

Job: Docker-PRs-userns FAILED:

---
0xc8203883a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/io/io.go:375 +0x180
io.Copy(0x7f0d508dc678, 0xc8202f2460, 0x7f0d508d7bf8, 0xc8203883a0, 0x0, 0x0, 0x0)
	/usr/local/go/src/io/io.go:351 +0x64
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
	/usr/local/go/src/os/exec/exec.go:232 +0x8b
os/exec.(*Cmd).Start.func1(0xc8201a4f00, 0xc8205711a0)
	/usr/local/go/src/os/exec/exec.go:340 +0x1d
created by os/exec.(*Cmd).Start
	/usr/local/go/src/os/exec/exec.go:341 +0x96d
exit status 2
FAIL	github.com/docker/docker/integration-cli	5400.070s
---> Making bundle: .integration-daemon-stop (in bundles/1.11.0-dev/test-integration-cli)
+++++ cat bundles/1.11.0-dev/test-integration-cli/docker.pid
++++ kill 1906
++++ /etc/init.d/apparmor stop
Clearing AppArmor profiles cache:.
All profile caches have been cleared, but no profiles have been unloaded.
Unloading profiles will leave already running processes permanently
unconfined, which can lead to unexpected situations.

To set a process to complain mode, use the command line tool

---

ping @calavera can you have another look?
@WeiZhang555 looks like this needs a rebase

Rebased, it conflicts a lot with https://github.com/docker/docker/pull/20699, but I believe this PR is rebased properly. :smile:

Windows tests are weired, can't be sure whether it's real or not.

windowsTP4 just took too long. Hopefully someone can restart - I'm not in front of a computer to do that from here.

Restarted Windows CI

Tbh, I always found the Paused == Running behavior strange, although I understand why it's that.
This change LGTM, but I'd like to hear from other maintainers about that topic.

@calavera yes, the paused==running is super confusing, but I think we should keep it for older API versions? Or do you disagree there?

Or do you disagree there?

I agree. I think that's already fixed here.

ping @duglin @cpuguy83 @vdemeester
Could you take a look at this? Thank you!

hm weird permission failures on janky https://jenkins.dockerproject.org/job/Docker-PRs/24740/console
08:04:39
08:04:47 [Docker-PRs] $ /bin/sh -xe /tmp/hudson7055858508936919284.sh
08:04:47 + tar -czf bundles.tar.gz bundles
08:04:59 tar: bundles/1.11.0-dev/test-integration-cli/d72922152/root/volumes/test/opts.json: Cannot open: Permission denied
08:05:01 tar: bundles/1.11.0-dev/test-integration-cli/d73340976/docker.sock: socket ignored
08:05:03 tar: bundles/1.11.0-dev/test-integration-cli/d5312935/docker.sock: socket ignored
08:05:24 tar: bundles/1.11.0-dev/test-integration-cli/d29825342/docker.sock: socket ignored
08:05:29 tar: Exiting with failure status due to previous errors
08:05:30 Build step 'Execute shell' marked build as failure
08:05:30 Performing Post build task...
08:05:30 Match found for : : True
08:05:30 Logical operation result is TRUE
08:05:30 Running script  : docker run --rm -v "$(pwd):/workspace" busybox chown -R "$(id -u):$(id -g)"

@WeiZhang555 looks like this needs another rebase :cry:

@thaJeztah Rebased. WIndows tests are broken.
ping @cpuguy83 , could you take another look at this? Thank you.

Really weird indeed; only on win2lin (also seen that on another PR)
https://jenkins.dockerproject.org/job/Docker-PRs-Win2Lin/23356/console
15:00:10 Building: bundles/1.11.0-dev/binary/docker-1.11.0-dev.exe
15:00:24 # github.com/docker/docker/cliconfig/credentials
15:00:24 cliconfig\credentials\native_store.go:82: auth.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:24 cliconfig\credentials\native_store.go:82: creds.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:24 cliconfig\credentials\native_store.go:96: ac.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:24 cliconfig\credentials\native_store.go:96: creds.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:24 cliconfig\credentials\native_store.go:110: authConfig.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:24 cliconfig\credentials\native_store.go:125: config.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:24 cliconfig\credentials\native_store.go:127: config.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:24 cliconfig\credentials\native_store.go:173: ret.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:24 # github.com/docker/docker/runconfig/opts
15:00:24 runconfig\opts\parse.go:413: unknown container.HostConfig field 'UsernsMode' in struct literal
15:00:29 # github.com/docker/docker/registry
15:00:29 registry\auth.go:87: lcs.authConfig.IdentityToken undefined (type *types.AuthConfig has no field or method IdentityToken)
15:00:29 registry\auth.go:91: lcs.authConfig.IdentityToken undefined (type *types.AuthConfig has no field or method IdentityToken)
15:00:29 registry\auth.go:167: credentialAuthConfig.IdentityToken undefined (type types.AuthConfig has no field or method IdentityToken)
15:00:34 # github.com/docker/docker/api/server/router/system
15:00:34 api\server\router\system\system_routes.go:124: unknown types.AuthResponse field 'IdentityToken' in struct literal
15:01:40 + ec=1
15:01:40 + set +x
15:01:40 ERROR: Build of binary on Windows failed

aw, hm, looks like this needs a rebase now :cry:

I'm closing this temporarily because this will need a huge change based on new code, will reopen it once I get enough time to handle this.


Add an option to generate thumbnails for images only

It would be cool to have an option to generate thumbnails only for images, or only for videos.
I don't want to install ffmpeg/libav on my headless server, but I'd still like to have thumbnails for my pictures.

If ffmpeg is not installed, sigal should just fail to process the videos and process the images. Isn't it the case currently ? I need to check.


feat: Store authentication keys in a separate database

Description
The upstream PR requires changes in the charm to use  the second database.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[] I have made corresponding changes to the documentation
[x] I have added tests that validate the behaviour of the software
[x] I validated that new and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have bumped the version of the library

I assume this will require a separate PR to update the rock once the upstream PR is merged, right?

I assume this will require a separate PR to update the rock once the upstream PR is merged, right?

Yes,

I assume this will require a separate PR to update the rock once the upstream PR is merged, right?

I assume this will require a separate PR to update the rock once the upstream PR is merged, right?

That's true. After merging Upstream PR, I will create a separate PR to update Webui Rock.


Unable to record test execution video and upload on S3 for moon2.

In our automation solution we are using Selenium4, C#, specflow, moon. And moon capabilities are like this:
_moonOptions = new Dictionary<string, object>
{
	{ "enableVNC", true },
	{ "name", testName },
	{ "enableVideo", true },
	{"videoRetentionPeriod","24h" }
};

ChromeOptions copt = new ChromeOptions();
copt.AddAdditionalOption("moon:options", _moonOptions);
new RemoteWebDriver(new Uri(_remoteServerUri), copt.ToCapabilities(), TimeSpan.FromSeconds(Settings.Timeout));

we referred this to setup our storage and executed following commands:
helm upgrade --install --set=configs.default.storage.accessKey="<Testkey>" -n moon moon aerokube/moon2
helm upgrade --install --set=configs.default.storage.secretKey="<TestSecret>" -n moon moon aerokube/moon2
helm upgrade --install --set=configs.default.storage.endpoint="<storageEndpointfor S3>" -n moon moon aerokube/moon2
helm upgrade --install --set=configs.default.storage.bucket="<Test bucket name>" -n moon moon aerokube/moon2
helm upgrade --install --set=configs.default.storage.filename="PocVideo" -n moon moon aerokube/moon2

After all this setup, when the test was executed, the video didn't record and was not uploaded to S3.

Please chech that values was applied, you can simple edit your config with:
kubectl edit config default -n moon
пт, 13 сент. 2024 г., 19:00 nehagoel2712 @.***>:

In our automation solution we are using Selenium4, C#, specflow, moon. And
moon capabilities are like this:
_moonOptions = new Dictionary<string, object>
{
{ "enableVNC", true },
{ "name", testName },
{ "enableVideo", true },
{"videoRetentionPeriod","24h" }
};
ChromeOptions copt = new ChromeOptions();
copt.AddAdditionalOption("moon:options", _moonOptions);
new RemoteWebDriver(new Uri(_remoteServerUri), copt.ToCapabilities(), TimeSpan.FromSeconds(Settings.Timeout));
we referred this https://aerokube.com/moon/latest/#video-recording to
setup our storage and executed following commands:
helm upgrade --install --set=configs.default.storage.accessKey="" -n moon moon aerokube/moon2
helm upgrade --install --set=configs.default.storage.secretKey="" -n moon moon aerokube/moon2
helm upgrade --install --set=configs.default.storage.endpoint="" -n moon moon aerokube/moon2
helm upgrade --install --set=configs.default.storage.bucket="" -n moon moon aerokube/moon2
helm upgrade --install --set=configs.default.storage.filename="PocVideo" -n moon moon aerokube/moon2
After all this setup, when the test was executed, the video didn't record
and was not uploaded to S3.
—
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/431, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23IJRZAARLJZ6GJUJE3ZWMD2TAVCNFSM6AAAAABOFU6XFGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDKMJWGU2DAMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The editing config worked, and I am now able to upload videos on the s3 bucket.
But it seems that upload takes place in all cases (test case either pass or fail). Is there any way to capture/upload video to S3 only when test case fails?

@nehagoel2712 Moon does not know about tests and certainly whether test case passed or failed. Our recommendation is to enable video recording only when rerunning failed test cases.


Unexpected Results

I was trying to use this library to push to the client-side a few things that were being done server-side with either Java's BitSet or C#'s BitArray. Unfortunately, I've found some of the results did not match the values I'd expect.
For example, I have a Uint8Array of [ 240, 255, 255, 255, 255, 255, 255, 255, 255, 255,  255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 127, 255, 31 ,0 ,0]. When I check the toArray() it shows the first 'flipped' bit to be at index 8 (should be 4) and the indices 13, 14, and 15 to be set to 0 with quite a few more down the line that don't match the Java or C# response to the dame byte array.

Well this is awkward... I can't seem to replicate the results I was getting yesterday and now everything seems to be working as expected. If it somehow pops up again I'll let you know, but for now it's not repeatable on my end.


Deploy pyjoker web application into heroku server

In general, this PR implements support of pyjoker web app into heroku server for users to be able to use it this app externally.
Users will be able to use it following by: https://pyjokes-stand.herokuapp.com link.
Heroku server is used as it is most available, easy and friendly to deploy!

Hey @oiertwo, please review a PR, it adds heroku deployment for easy-way usage, thx!

Thanks!


Update to mp v1.21

uota doesn't work with recent versions of mp (after v1.21) because the deflate module has been added.
This pr replaces uzlib with deflate

Looks good, thank you!


Add missing permission for 'tiers' resources

Description

Allows calico-apiserver to handle tier resources.
Related issues/PRs

fixes #9481
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

wrt. testing: We are using conftest in our team to verify that k8s manifests have certain properties, e.g. in order to verify this change here, I've added the following to our internal test:
package main

import rego.v1

deny contains msg if {
	some resource in input

	role := resource.contents
	role.apiVersion == "rbac.authorization.k8s.io/v1"
	role.kind == "ClusterRole"
	role.metadata.name == "calico-crds"

	rules := [rule |
		some rule in role.rules
		rule.apiGroups == ["crd.projectcalico.org"]
		rule.resources[_] == "tiers"
		rule.verbs[_] == "create"
	]

	count(rules) == 0

	msg := sprintf("ClusterRole '%v' does not allow to create tiers", [role.metadata.name])
}

This test is executed every time someone changes our internal copy of the calico-apiserver manifests and ensures that the missing permission is not missing :sweat_smile:

/sem-approve


Reorganize large files

Codecov Report

Merging #19 (94406bb) into main (e4b7990) will increase coverage by 0.05%.
The diff coverage is 31.41%.

Additional details and impacted files


Cache supabase in the app

Right now, the contents of the app will get deleted once the client loses the connection with the backend.

[ ] Ability to cache Supabase
[ ] Version Controlling
[ ] Use MVC or MVVM

#28 PR implementing some of the features