[JBoss JIRA] (MODCLUSTER-612) Test DefaultMCMPRequestFactoryTestCase#createConfigRequest fails on Windows OS with other than lowercase hostname
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-612?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-612:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Test DefaultMCMPRequestFactoryTestCase#createConfigRequest fails on Windows OS with other than lowercase hostname
> -----------------------------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-612
> URL: https://issues.jboss.org/browse/MODCLUSTER-612
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.2.13.Final, 1.3.7.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
> Fix For: 2.0.0.Alpha1, 1.4.0.Alpha1
>
>
> {code}
> [ERROR] createConfigRequest(org.jboss.modcluster.mcmp.DefaultMCMPRequestFactoryTestCase) Time elapsed: 0 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[DESKTOP-614P6ER]> but was:<[desktop-614p6er]>
> at org.jboss.modcluster.mcmp.DefaultMCMPRequestFactoryTestCase.createConfigRequest(DefaultMCMPRequestFactoryTestCase.java:210)
> [INFO] Running org.jboss.modcluster.mcmp.DefaultMCMPResponseParserTestCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jboss.modcluster.mcmp.DefaultMCMPResponseParserTestCase
> [INFO] Running org.jboss.modcluster.mcmp.ResetRequestSourceTestCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.jboss.modcluster.mcmp.ResetRequestSourceTestCase
> [INFO] Running org.jboss.modcluster.UtilsTestCase
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jboss.modcluster.UtilsTestCase
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] DefaultMCMPRequestFactoryTestCase.createConfigRequest:210 expected:<[DESKTOP-614P6ER]> but was:<[desktop-614p6er]>
> [INFO]
> [ERROR] Tests run: 50, Failures: 1, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (MODCLUSTER-613) mod_cluster_slotmem doesn't use the same ftok() than apr
by Jean-Frederic Clere (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-613?page=com.atlassian.jira.pl... ]
Jean-Frederic Clere commented on MODCLUSTER-613:
------------------------------------------------
looking in sharedmem_util.c:
+++
apr_status_t unixd_set_shm_perms(const char *fname)
{
#ifdef AP_NEED_SET_MUTEX_PERMS
#if APR_USE_SHMEM_SHMGET || APR_USE_SHMEM_SHMGET_ANON
struct shmid_ds shmbuf;
key_t shmkey;
int shmid;
shmkey = ftok(fname, 1);
+++
and looking in apr-1.5.x there is:
+++
#if APR_USE_SHMEM_SHMGET
static key_t our_ftok(const char *filename)
{
/* to help avoid collisions while still using
* an easily recreated proj_id */
apr_ssize_t slen = strlen(filename);
return ftok(filename,
(int)apr_hashfunc_default(filename, &slen));
}
#endif
+++
That looks fishy....
> mod_cluster_slotmem doesn't use the same ftok() than apr
> --------------------------------------------------------
>
> Key: MODCLUSTER-613
> URL: https://issues.jboss.org/browse/MODCLUSTER-613
> Project: mod_cluster
> Issue Type: Bug
> Components: Native (httpd modules)
> Reporter: Jean-Frederic Clere
> Assignee: Jean-Frederic Clere
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (MODCLUSTER-612) Test DefaultMCMPRequestFactoryTestCase#createConfigRequest fails on Windows OS with other than lowercase hostname
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-612?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-612:
--------------------------------------
Affects Version/s: 1.3.7.Final
> Test DefaultMCMPRequestFactoryTestCase#createConfigRequest fails on Windows OS with other than lowercase hostname
> -----------------------------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-612
> URL: https://issues.jboss.org/browse/MODCLUSTER-612
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.2.13.Final, 1.3.7.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
> Fix For: 2.0.0.Alpha1, 1.4.0.Alpha1
>
>
> {code}
> [ERROR] createConfigRequest(org.jboss.modcluster.mcmp.DefaultMCMPRequestFactoryTestCase) Time elapsed: 0 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[DESKTOP-614P6ER]> but was:<[desktop-614p6er]>
> at org.jboss.modcluster.mcmp.DefaultMCMPRequestFactoryTestCase.createConfigRequest(DefaultMCMPRequestFactoryTestCase.java:210)
> [INFO] Running org.jboss.modcluster.mcmp.DefaultMCMPResponseParserTestCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jboss.modcluster.mcmp.DefaultMCMPResponseParserTestCase
> [INFO] Running org.jboss.modcluster.mcmp.ResetRequestSourceTestCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.jboss.modcluster.mcmp.ResetRequestSourceTestCase
> [INFO] Running org.jboss.modcluster.UtilsTestCase
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jboss.modcluster.UtilsTestCase
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] DefaultMCMPRequestFactoryTestCase.createConfigRequest:210 expected:<[DESKTOP-614P6ER]> but was:<[desktop-614p6er]>
> [INFO]
> [ERROR] Tests run: 50, Failures: 1, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (MODCLUSTER-612) Test DefaultMCMPRequestFactoryTestCase#createConfigRequest fails on Windows OS with other than lowercase hostname
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-612?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-612:
--------------------------------------
Affects Version/s: 1.2.13.Final
> Test DefaultMCMPRequestFactoryTestCase#createConfigRequest fails on Windows OS with other than lowercase hostname
> -----------------------------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-612
> URL: https://issues.jboss.org/browse/MODCLUSTER-612
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.2.13.Final, 1.3.7.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
> Fix For: 2.0.0.Alpha1, 1.4.0.Alpha1
>
>
> {code}
> [ERROR] createConfigRequest(org.jboss.modcluster.mcmp.DefaultMCMPRequestFactoryTestCase) Time elapsed: 0 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[DESKTOP-614P6ER]> but was:<[desktop-614p6er]>
> at org.jboss.modcluster.mcmp.DefaultMCMPRequestFactoryTestCase.createConfigRequest(DefaultMCMPRequestFactoryTestCase.java:210)
> [INFO] Running org.jboss.modcluster.mcmp.DefaultMCMPResponseParserTestCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jboss.modcluster.mcmp.DefaultMCMPResponseParserTestCase
> [INFO] Running org.jboss.modcluster.mcmp.ResetRequestSourceTestCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.jboss.modcluster.mcmp.ResetRequestSourceTestCase
> [INFO] Running org.jboss.modcluster.UtilsTestCase
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jboss.modcluster.UtilsTestCase
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] DefaultMCMPRequestFactoryTestCase.createConfigRequest:210 expected:<[DESKTOP-614P6ER]> but was:<[desktop-614p6er]>
> [INFO]
> [ERROR] Tests run: 50, Failures: 1, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (MODCLUSTER-612) Test DefaultMCMPRequestFactoryTestCase#createConfigRequest fails on Windows OS with other than lowercase hostname
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-612?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-612:
--------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/modcluster/mod_cluster/pull/285
> Test DefaultMCMPRequestFactoryTestCase#createConfigRequest fails on Windows OS with other than lowercase hostname
> -----------------------------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-612
> URL: https://issues.jboss.org/browse/MODCLUSTER-612
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.2.13.Final, 1.3.7.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Minor
> Fix For: 2.0.0.Alpha1, 1.4.0.Alpha1
>
>
> {code}
> [ERROR] createConfigRequest(org.jboss.modcluster.mcmp.DefaultMCMPRequestFactoryTestCase) Time elapsed: 0 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[DESKTOP-614P6ER]> but was:<[desktop-614p6er]>
> at org.jboss.modcluster.mcmp.DefaultMCMPRequestFactoryTestCase.createConfigRequest(DefaultMCMPRequestFactoryTestCase.java:210)
> [INFO] Running org.jboss.modcluster.mcmp.DefaultMCMPResponseParserTestCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jboss.modcluster.mcmp.DefaultMCMPResponseParserTestCase
> [INFO] Running org.jboss.modcluster.mcmp.ResetRequestSourceTestCase
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.jboss.modcluster.mcmp.ResetRequestSourceTestCase
> [INFO] Running org.jboss.modcluster.UtilsTestCase
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.jboss.modcluster.UtilsTestCase
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] DefaultMCMPRequestFactoryTestCase.createConfigRequest:210 expected:<[DESKTOP-614P6ER]> but was:<[desktop-614p6er]>
> [INFO]
> [ERROR] Tests run: 50, Failures: 1, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months