[JBoss JIRA] (WFCORE-3853) CLI prompt contains extra space when colors are enabled
by Erich Duda (JIRA)
Erich Duda created WFCORE-3853:
----------------------------------
Summary: CLI prompt contains extra space when colors are enabled
Key: WFCORE-3853
URL: https://issues.jboss.org/browse/WFCORE-3853
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 5.0.0.Beta2
Reporter: Erich Duda
Assignee: Ingo Weiss
Priority: Minor
CLI prompt contains extra space when colors are enabled. In below examples first line is printed with colors and second without it.
{code:title=Examples}
[disconnected /]
[disconnected /]
[standalone@embedded /]
[standalone@embedded /]
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3852) Incomplete attribute name in error message of ObjectFieldsRejectAttributeChecker
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3852?page=com.atlassian.jira.plugi... ]
Jan Kalina commented on WFCORE-3852:
------------------------------------
[~kabirkhan] do you agree with such change?
> Incomplete attribute name in error message of ObjectFieldsRejectAttributeChecker
> --------------------------------------------------------------------------------
>
> Key: WFCORE-3852
> URL: https://issues.jboss.org/browse/WFCORE-3852
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Affects Versions: 5.0.0.Beta1
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Labels: transformers
>
> When defined ObjectFieldsRejectAttributeChecker (or ListRejectAttributeChecker or their combination) in transformers, the error message is missleading - points to the complex attribute instead of individual subattributes:
> {code}
> WFLYCTL0297: Transforming operation {
> \"address\" => [
> (\"profile\" => \"full\"),
> (\"subsystem\" => \"elytron\"),
> (\"jdbc-realm\" => \"xxxx\")
> ],
> \"operation\" => \"add\",
> \"principal-query\" => [{
> \"data-source\" => \"ExampleDS\",
> \"sql\" => \"SEL\",
> \"scram-mapper\" => {
> \"iteration-count-index\" => \"1\",
> \"password-index\" => \"2\",
> \"salt-index\" => \"5\",
> \"hash-encoding\" => \"base64\" // this attribute is not backward compatible
> }
> }],
> \"operation-headers\" => {
> \"caller-type\" => \"user\",
> \"access-mechanism\" => \"NATIVE\",
> \"domain-uuid\" => \"658c12cc-9501-47d0-bf24-aa11079e444a\",
> \"execute-for-coordinator\" => true,
> \"domain-controller-lock-id\" => -1163262107
> }
> } at resource [
> (\"profile\" => \"full\"),
> (\"subsystem\" => \"elytron\"),
> (\"jdbc-realm\" => \"xxxx\")
> ] to subsystem 'elytron' model version '2.0.0' -- attributes [principal-query] WFLYCTL0302: The following attributes are not understood in the target model version and this resource will need to be ignored on the target host: [principal-query]
> {code}
> The error message should contain something like {{[principal-query[0].scram-mapper.hash-encoding]}} instead of {{[principal-query]}}.
> The error message is misleading, as the attribute {{[principal-query]}} HAS TO be defined - only the {{hash-encoding}} must not.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3852) Incomplete attribute name in error message of ObjectFieldsRejectAttributeChecker
by Jan Kalina (JIRA)
Jan Kalina created WFCORE-3852:
----------------------------------
Summary: Incomplete attribute name in error message of ObjectFieldsRejectAttributeChecker
Key: WFCORE-3852
URL: https://issues.jboss.org/browse/WFCORE-3852
Project: WildFly Core
Issue Type: Bug
Components: Management
Affects Versions: 5.0.0.Beta1
Reporter: Jan Kalina
Assignee: Jan Kalina
When defined ObjectFieldsRejectAttributeChecker (or ListRejectAttributeChecker or their combination) in transformers, the error message is missleading - points to the complex attribute instead of individual subattributes:
{code}
WFLYCTL0297: Transforming operation {
\"address\" => [
(\"profile\" => \"full\"),
(\"subsystem\" => \"elytron\"),
(\"jdbc-realm\" => \"xxxx\")
],
\"operation\" => \"add\",
\"principal-query\" => [{
\"data-source\" => \"ExampleDS\",
\"sql\" => \"SEL\",
\"scram-mapper\" => {
\"iteration-count-index\" => \"1\",
\"password-index\" => \"2\",
\"salt-index\" => \"5\",
\"hash-encoding\" => \"base64\" // this attribute is not backward compatible
}
}],
\"operation-headers\" => {
\"caller-type\" => \"user\",
\"access-mechanism\" => \"NATIVE\",
\"domain-uuid\" => \"658c12cc-9501-47d0-bf24-aa11079e444a\",
\"execute-for-coordinator\" => true,
\"domain-controller-lock-id\" => -1163262107
}
} at resource [
(\"profile\" => \"full\"),
(\"subsystem\" => \"elytron\"),
(\"jdbc-realm\" => \"xxxx\")
] to subsystem 'elytron' model version '2.0.0' -- attributes [principal-query] WFLYCTL0302: The following attributes are not understood in the target model version and this resource will need to be ignored on the target host: [principal-query]
{code}
The error message should contain something like {{[principal-query[0].scram-mapper.hash-encoding]}} instead of {{[principal-query]}}.
The error message is misleading, as the attribute {{[principal-query]}} HAS TO be defined - only the {{hash-encoding}} must not.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-10325) Test Suite: Integration - Web failures against wildfly-dist
by Petr Kremensky (JIRA)
[ https://issues.jboss.org/browse/WFLY-10325?page=com.atlassian.jira.plugin... ]
Petr Kremensky updated WFLY-10325:
----------------------------------
Description:
Web integration tests fail if runs against wildfly-dist distribution - via jboss.dist property (the property is used to run the tests against productized builds or patched EAP distributions).
*reproduce*
{noformat}
git clone https://github.com/wildfly/wildfly.git ; cd wildfly
mvn clean install -DskipTests
cd testsuite
mvn test -B -pl integration/web/
# Tests run: 112, Failures: 0, Errors: 0, Skipped: 3
mvn test -B -pl integration/web/ -Djboss.dist=$(realpath ../dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT)
# Tests run: 109, Failures: 4, Errors: 9, Skipped: 3
{noformat}
There seems to be an issue with *WebCERTTestsSetup*, as once I enable the logs ( -DtestLogToFile=false ), the following errors appear.
{noformat}
10:57:09,622 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" => "management"),
("security-realm" => "ssl-cert-realm")
]) - failure description: {
"WFLYCTL0080: Failed services" => {"org.wildfly.core.management.security.realm.ssl-cert-realm.key-manager" => "Failed to start service
Caused by: java.lang.IllegalStateException: org.jboss.msc.service.StartException in anonymous service: WFLYDM0086: The KeyStore can not be found at /home/hudson/hudson_workspace/wildfly/testsuite/integration/web/target/WebCERTTestsSetup/server.keystore
Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYDM0086: The KeyStore can not be found at /home/hudson/hudson_workspace/wildfly/testsuite/integration/web/target/WebCERTTestsSetup/server.keystore"},
{noformat}
was:
Web integration tests start to fail once I point the testsuite a distribution via jboss.dist property (the property is used to run the tests against productized builds or patched EAP distributions).
*reproduce*
{noformat}
git clone https://github.com/wildfly/wildfly.git ; cd wildfly
mvn clean install -DskipTests
cd testsuite
mvn test -B -pl integration/web/
# Tests run: 112, Failures: 0, Errors: 0, Skipped: 3
mvn test -B -pl integration/web/ -Djboss.dist=$(realpath ../dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT)
# Tests run: 109, Failures: 4, Errors: 9, Skipped: 3
{noformat}
There seems to be an issue with *WebCERTTestsSetup*, as once I enable the logs ( -DtestLogToFile=false ), the following errors appear.
{noformat}
10:57:09,622 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" => "management"),
("security-realm" => "ssl-cert-realm")
]) - failure description: {
"WFLYCTL0080: Failed services" => {"org.wildfly.core.management.security.realm.ssl-cert-realm.key-manager" => "Failed to start service
Caused by: java.lang.IllegalStateException: org.jboss.msc.service.StartException in anonymous service: WFLYDM0086: The KeyStore can not be found at /home/hudson/hudson_workspace/wildfly/testsuite/integration/web/target/WebCERTTestsSetup/server.keystore
Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYDM0086: The KeyStore can not be found at /home/hudson/hudson_workspace/wildfly/testsuite/integration/web/target/WebCERTTestsSetup/server.keystore"},
{noformat}
> Test Suite: Integration - Web failures against wildfly-dist
> -----------------------------------------------------------
>
> Key: WFLY-10325
> URL: https://issues.jboss.org/browse/WFLY-10325
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Reporter: Petr Kremensky
> Assignee: Jan Stourac
>
> Web integration tests fail if runs against wildfly-dist distribution - via jboss.dist property (the property is used to run the tests against productized builds or patched EAP distributions).
> *reproduce*
> {noformat}
> git clone https://github.com/wildfly/wildfly.git ; cd wildfly
> mvn clean install -DskipTests
> cd testsuite
> mvn test -B -pl integration/web/
> # Tests run: 112, Failures: 0, Errors: 0, Skipped: 3
> mvn test -B -pl integration/web/ -Djboss.dist=$(realpath ../dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT)
> # Tests run: 109, Failures: 4, Errors: 9, Skipped: 3
> {noformat}
> There seems to be an issue with *WebCERTTestsSetup*, as once I enable the logs ( -DtestLogToFile=false ), the following errors appear.
> {noformat}
> 10:57:09,622 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("core-service" => "management"),
> ("security-realm" => "ssl-cert-realm")
> ]) - failure description: {
> "WFLYCTL0080: Failed services" => {"org.wildfly.core.management.security.realm.ssl-cert-realm.key-manager" => "Failed to start service
> Caused by: java.lang.IllegalStateException: org.jboss.msc.service.StartException in anonymous service: WFLYDM0086: The KeyStore can not be found at /home/hudson/hudson_workspace/wildfly/testsuite/integration/web/target/WebCERTTestsSetup/server.keystore
> Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYDM0086: The KeyStore can not be found at /home/hudson/hudson_workspace/wildfly/testsuite/integration/web/target/WebCERTTestsSetup/server.keystore"},
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months