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-1695, echo command, variable completion. #2025

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

jfdenise
Copy link
Contributor

Reworked echo command variable completion. Any variable located in the line to echo is completed.
Added unit test.

@wildfly-ci
Copy link

Full integration - Windows Build 2442 outcome was FAILURE using a merge of 1671791
Summary: Tests failed: 1 (1 new), passed: 3609, ignored: 112 Build time: 01:25:54

Failed tests

org.jboss.as.test.clustering.cluster.singleton.SingletonPolicyServiceTestCase(SYNC-tcp).testSingletonService: 	at org.jboss.as.test.clustering.cluster.singleton.SingletonPolicyServiceTestCase.testSingletonService(SingletonPolicyServiceTestCase.java:150)
------- Stdout: -------
12:02:13,891 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\clustering\target\wildfly-SYNC-tcp-0\standalone\data\content\8b\2b89401b5adc9ba9984d4468290a76f50efe3d\content
12:02:13,894 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "singleton.war" (runtime-name: "singleton.war")
12:02:13,928 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.singleton.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.
12:02:13,968 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 80) WFLYCLINF0002: Started default cache from server container
12:02:13,973 INFO  [org.wildfly.clustering.server] (DistributedSingletonService - 1) WFLYCLSV0003: node-0 elected as the singleton provider of the jboss.test.service.default-policy service
12:02:13,975 INFO  [org.wildfly.clustering.server] (DistributedSingletonService - 1) WFLYCLSV0001: This node will now operate as the singleton provider of the jboss.test.service.default-policy service
12:02:13,976 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 84) WFLYUT0021: Registered web context: '/singleton' for server 'default-server'
12:02:13,988 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "singleton.war" (runtime-name : "singleton.war")
12:02:14,007 INFO  [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0001: Content added at location C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\clustering\target\wildfly-SYNC-tcp-1\standalone\data\content\c8\6f18280d9aef943b1ccbcbeaa452cff22ecce7\content
12:02:14,010 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "singleton.war" (runtime-name: "singleton.war")
12:02:14,050 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.singleton.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.
12:02:14,086 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 81) ISPN000310: Starting cluster-wide rebalance for cache default, topology CacheTopology{id=2, rebalanceId=2, currentCH=ReplicatedConsistentHash{ns = 256, owners = (1)[node-0: 256]}, pendingCH=ReplicatedConsistentHash{ns = 256, owners = (2)[node-0: 134, node-1: 122]}, unionCH=null, actualMembers=[node-0, node-1]}
12:02:14,087 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 81) [Context=default][Scope=node-1]ISPN100002: Started local rebalance
12:02:14,110 INFO  [org.infinispan.CLUSTER] (remote-thread--p11-t2) [Context=default][Scope=node-0]ISPN100003: Finished local rebalance
12:02:14,111 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 80) WFLYUT0021: Registered web context: '/singleton' for server 'default-server'
12:02:14,124 INFO  [org.infinispan.CLUSTER] (transport-thread--p15-t25) [Context=default][Scope=node-1]ISPN100003: Finished local rebalance
12:02:14,126 INFO  [org.infinispan.CLUSTER] (transport-thread--p15-t25) ISPN000336: Finished cluster-wide rebalance for cache default, topology id = 2
12:02:14,127 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 81) WFLYCLINF0002: Started default cache from server container
12:02:14,149 INFO  [org.wildfly.clustering.server] (DistributedSingletonService - 1) WFLYCLSV0003: node-0 elected as the singleton provider of the jboss.test.service.default-policy service
12:02:14,162 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0010: Deployed "singleton.war" (runtime-name : "singleton.war")
12:02:14,198 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0236: Suspending server with no timeout.
12:02:14,202 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
12:02:14,215 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 81) WFLYUT0022: Unregistered web context: '/singleton' from server 'default-server'
12:02:14,221 WARN  [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000004: Failure during stop of service jboss.messaging-activemq.http-upgrade-service.http-acceptor-throughput.legacy: java.lang.UnsupportedOperationException
	at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:1176)
	at io.undertow.server.handlers.ChannelUpgradeHandler.removeProtocol(ChannelUpgradeHandler.java:160)
	at org.wildfly.extension.messaging.activemq.HTTPUpgradeService.stop(HTTPUpgradeService.java:177)
	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2071)
	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2032)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

12:02:14,223 WARN  [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000004: Failure during stop of service jboss.messaging-activemq.http-upgrade-service.http-acceptor-throughput: java.lang.UnsupportedOperationException
	at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:1176)
	at io.undertow.server.handlers.ChannelUpgradeHandler.removeProtocol(ChannelUpgradeHandler.java:160)
	at org.wildfly.extension.messaging.activemq.HTTPUpgradeService.stop(HTTPUpgradeService.java:177)
	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2071)
	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2032)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

12:02:14,224 WARN  [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000004: Failure during stop of service jboss.messaging-activemq.http-upgrade-service.http-acceptor: java.lang.UnsupportedOperationException
	at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:1176)
	at io.undertow.server.handlers.ChannelUpgradeHandler.removeProtocol(ChannelUpgradeHandler.java:160)
	at org.wildfly.extension.messaging.activemq.HTTPUpgradeService.stop(HTTPUpgradeService.java:177)
	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2071)
	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2032)


@wildfly-ci
Copy link

Full integration - Windows Build 2446 outcome was FAILURE using a merge of 1671791
Summary: Tests failed: 1 (1 new), passed: 3606, ignored: 112 Build time: 01:30:43

Failed tests

org.jboss.as.test.iiopssl.basic.IIOPSslInvocationTestCase: 	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:141)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:121)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:236)
Caused by: java.lang.Exception: {"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
	at org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper.deploy(ServerDeploymentHelper.java:55)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:135)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:121)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:236)
------- Stdout: -------
14:58:11,425 DEBUG [org.jboss.logging] (main) Logging Provider: org.jboss.logging.JBossLogManagerProvider
14:58:13,282 WARNING [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Bundles path is deprecated and no longer used.
14:58:13,290 INFO  [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Starting container with: [C:\opt\java\jdk1.8.0_92\bin\java, -D[Standalone], -Dorg.jboss.ejb.client.wildfly-testsuite-hack=true, -Xmx512m, -XX:MetaspaceSize=128m, -Djboss.dist=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop/../../../dist/target/wildfly-11.0.0.Alpha1-SNAPSHOT, -Djava.net.preferIPv4Stack=false, -Djava.net.preferIPv6Addresses=true, -server, -Dts.timeout.factor=100, -Dnode0=::1, -Dnode1=::1, -Dmcast=ff13::1, -Dmcast.ttl=0, -Djbossas.ts.submodule.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop, -Djbossas.ts.integ.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop/.., -Djbossas.ts.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop/../.., -Djbossas.project.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop/../../.., -Djava.io.tmpdir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop/target, -Djboss.inst=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop/target/jbossas-iiop-ssl-client, -ea, -Djboss.home.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client, -Dorg.jboss.boot.log.file=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client\standalone\log\server.log, -Dlogging.configuration=file:C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client\standalone\configuration\logging.properties, -jar, C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client\jboss-modules.jar, -mp, C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client\modules;C:\BuildAgent\work\5768cf3a0bee5b47\full\dist\target\wildfly-11.0.0.Alpha1-SNAPSHOT\modules;C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\modules, org.jboss.as.standalone, -Djboss.home.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client, -Djboss.server.base.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client\standalone, -Djboss.server.log.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client\standalone\log, -Djboss.server.config.dir=C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\iiop\target\jbossas-iiop-ssl-client\standalone\configuration, -c=standalone-full.xml]
14:58:13,562 INFO  [org.jboss.remoting] (main) JBoss Remoting version 5.0.0.Beta12
14:58:13,586 INFO  [org.xnio] (main) XNIO version 3.4.1.Final
14:58:13,612 INFO  [org.xnio.nio] (main) XNIO NIO Implementation Version 3.4.1.Final
14:58:13,702 DEBUG [org.xnio.nio] (Remoting (anonymous) I/O-1) Started channel thread 'Remoting (anonymous) I/O-1', selector sun.nio.ch.WindowsSelectorImpl@ce824f
14:58:13,702 DEBUG [org.xnio.nio] (Remoting (anonymous) Accept) Started channel thread 'Remoting (anonymous) Accept', selector sun.nio.ch.WindowsSelectorImpl@173d6b7
14:58:13,742 INFO  [org.wildfly.security] (main) ELY00001: WildFly Elytron version 1.1.0.Beta17
14:58:13,786 DEBUG [org.xnio.nio] (Remoting "management-client" I/O-1) Started channel thread 'Remoting "management-client" I/O-1', selector sun.nio.ch.WindowsSelectorImpl@fbc8d7
14:58:13,786 DEBUG [org.xnio.nio] (Remoting "management-client" Accept) Started channel thread 'Remoting "management-client" Accept', selector sun.nio.ch.WindowsSelectorImpl@11fcc30
14:58:13,909 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta3
14:58:14,414 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.Final
14:58:14,725 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 11.0.0.Alpha1-SNAPSHOT (WildFly Core 3.0.0.Alpha16-SNAPSHOT) starting
14:58:14,913 INFO  [org.jboss.as.domain.management] (MSC service thread 1-1) WFLYDM0136: Registered OpenSSL provider
14:58:16,099 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/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.
14:58:16,202 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 9) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/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.
14:58:16,277 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
14:58:16,306 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.4.1.Final
14:58:16,314 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.4.1.Final
14:58:16,333 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 40) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
14:58:16,338 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 60) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
14:58:16,346 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 52) WFLYNAM0001: Activating Naming Subsystem
14:58:16,353 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]
14:58:16,359 INFO  [org.jboss.as.naming] (MSC service thread 1-8) WFLYNAM0003: Starting Naming Service
14:58:16,360 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 41) WFLYCLINF0001: Activating Infinispan subsystem.
14:58:16,385 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
14:58:16,392 INFO  [org.wildfly.iiop.openjdk] (ServerService Thread Pool -- 42) WFLYIIOP0001: Activating IIOP Subsystem
14:58:16,397 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
14:58:16,393 INFO  [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.0.Final)
14:58:16,437 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 59) WFLYSEC0002: Activating Security Subsystem
14:58:16,445 INFO  [org.jboss.as.security] (MSC service thread 1-7) WFLYSEC0001: Current PicketBox version=5.0.0.Alpha3
14:58:16,459 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 62) WFLYWS0002: Activating WebServices Extension
14:58:16,495 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0003: Undertow 1.4.7.Final starting
14:58:16,504 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
14:58:16,505 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.0.Beta12


@bstansberry bstansberry added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Dec 13, 2016
@kabir kabir merged commit 8612b5e into wildfly:master Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants