Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for WFCORE-2926. Disable error-on-interract for CLI.connect. #2518

Merged
merged 1 commit into from Jun 13, 2017

Conversation

jfdenise
Copy link
Contributor

@jfdenise jfdenise commented Jun 7, 2017

CLI class connect method should set ignoreOnInteract to false.
In addition I added a connect method to allow to provide a CommandContextConfiguration. This class is in an impl package but has already been exposed as a public API in the CommandContextFactory. I wanted to move it to public API, but being already exposed we can't change its location.

@wildfly-ci
Copy link

Core - Full Integration Build 5173 outcome was FAILURE using a merge of b8311bd
Summary: Tests passed: 3879, ignored: 130; exit code 137 (new) Build time: 00:52:05

@wildfly-ci
Copy link

Full integration - Windows Build 3582 outcome was FAILURE using a merge of b8311bd
Summary: Tests failed: 1 (1 new), passed: 4020, ignored: 132 Build time: 01:36:16

Failed tests

org.jboss.as.test.integration.domain.mixed.eap700.MixedDomainDeploymentOverlay700TestCase.testInstallAndOverlayDeploymentOnDC: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:209)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:789)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
	at org.jboss.as.test.integration.domain.mixed.MixedDeploymentOverlayTestCase.performHttpCall(MixedDeploymentOverlayTestCase.java:293)
	at org.jboss.as.test.integration.domain.mixed.MixedDeploymentOverlayTestCase.testInstallAndOverlayDeploymentOnDC(MixedDeploymentOverlayTestCase.java:164)
------- Stdout: -------
17:22:27,604 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta9
17:22:27,942 INFO  [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
[Host Controller] 17:22:28,509 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta9
[Host Controller] 17:22:28,951 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
[Host Controller] 17:22:29,006 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 11.0.0.Beta1-SNAPSHOT (WildFly Core 3.0.0.Beta26-SNAPSHOT) starting
[Host Controller] 17:22:29,610 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=native-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:29,611 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:29,696 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:29,696 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:29,738 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 17:22:29,742 INFO  [org.xnio] (MSC service thread 1-8) XNIO version 3.5.0.Beta7
[Host Controller] 17:22:29,752 INFO  [org.xnio.nio] (MSC service thread 1-8) XNIO NIO Implementation Version 3.5.0.Beta7
[Host Controller] 17:22:29,790 INFO  [org.jboss.remoting] (MSC service thread 1-8) JBoss Remoting version 5.0.0.Beta25
[Host Controller] 17:22:29,796 INFO  [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
[Host Controller] 17:22:29,805 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-3) WFLYDM0111: Keystore C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\mixed-domain\target\domains\MixedDomainOverlay700TestSuite\master\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
[Host Controller] 17:22:29,875 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 17:22:31,265 INFO  [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 1.1.0.Beta51
[Host Controller] 17:22:31,275 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=default/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:31,314 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:31,349 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:31,383 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full-ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:31,910 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0062: Http management interface listening on http://[::1]:9990/management and https://[::1]:-1/management
[Host Controller] 17:22:31,911 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
[Host Controller] 17:22:31,911 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 11.0.0.Beta1-SNAPSHOT (WildFly Core 3.0.0.Beta26-SNAPSHOT) (Host Controller) started in 3857ms - Started 49 of 53 services (18 services are lazy, passive or on-demand)
INFO  [org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil] HostController started in 4977 ms
[Host Controller] 17:22:33,540 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full 11.0.0.Beta1-SNAPSHOT (WildFly Core 3.0.0.Beta26-SNAPSHOT) stopped in 23ms
[Host Controller] 17:22:33,544 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 11.0.0.Beta1-SNAPSHOT (WildFly Core 3.0.0.Beta26-SNAPSHOT) starting
[Host Controller] 17:22:33,594 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=native-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:33,595 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:33,605 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:33,605 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:33,610 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 17:22:33,621 INFO  [org.jboss.as.patching] (MSC service thread 1-5) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
[Host Controller] 17:22:33,626 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\mixed-domain\target\domains\MixedDomainOverlay700TestSuite\master\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
[Host Controller] 17:22:33,675 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 17:22:33,899 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0023: Starting server server-one


@wildfly-ci
Copy link

Core - Full Integration Build 5174 outcome was FAILURE using a merge of b8311bd
Summary: Tests passed: 3879, ignored: 130; exit code 137 Build time: 01:02:02

@bmaxwell
Copy link
Contributor

bmaxwell commented Jun 7, 2017

retest this please!!

@wildfly-ci
Copy link

Core - Full Integration Build 5176 outcome was FAILURE using a merge of b8311bd
Summary: Tests passed: 3879, ignored: 130; exit code 137 Build time: 00:54:07

@bstansberry bstansberry merged commit 2339b24 into wildfly:master Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants