hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Namrata Bhave <namrata_bh...@persistent.com>
Subject Need help in debugging test_GPHD_HA_load_nodes.
Date Wed, 29 Mar 2017 12:28:57 GMT
Hi,

I am working on building and testing HAWQ on s390x platform.
I am facing below error while executing make unittest-check in src/backend/access/external:


[ RUN ] test_GPHD_HA_load_nodes_UnknownNameservice
[ OK ] test_GPHD_HA_load_nodes_UnknownNameservice

[ RUN ] test_GPHD_HA_load_nodes_OneNN
No entries for symbol hdfsFreeNamenodeInformation.
ERROR: ha_config_mock.c:38 - Could not get value to mock function hdfsFreeNamenodeInformation
Previously returned mock value was declared at ha_config_test.c:93
[ FAILED ] test_GPHD_HA_load_nodes_OneNN

[ RUN ] test_GPHD_HA_load_nodes_RpcDelimMissing
No entries for symbol hdfsFreeNamenodeInformation.
ERROR: ha_config_mock.c:38 - Could not get value to mock function hdfsFreeNamenodeInformation
Previously returned mock value was declared at ha_config_test.c:127
[ FAILED ] test_GPHD_HA_load_nodes_RpcDelimMissing

[ RUN ] test_GPHD_HA_load_nodes_PxfServicePortIsAssigned
port_to_str() has remaining non-returned values.
Remaining item(s) declared at...
ha_config_test.c:163
ha_config_test.c:168
port_to_str() has remaining non-assigned out-values.
Remaining item(s) declared at...
port:0
port_to_str. port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:164
ha_config_test.c:169
new_port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:165
ha_config_test.c:170
[ FAILED ] test_GPHD_HA_load_nodes_PxfServicePortIsAssigned

[ RUN ] test_GPHD_HA_load_nodes_HostMissing
port_to_str() has remaining non-returned values.
Remaining item(s) declared at...
ha_config_test.c:197
ha_config_test.c:202
port_to_str() has remaining non-assigned out-values.
Remaining item(s) declared at...
port:0
port_to_str. port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:198
ha_config_test.c:203
new_port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:199
ha_config_test.c:204
[ FAILED ] test_GPHD_HA_load_nodes_HostMissing

[ RUN ] test_GPHD_HA_load_nodes_PortMissing
port_to_str() has remaining non-returned values.
Remaining item(s) declared at...
ha_config_test.c:238
ha_config_test.c:242
port_to_str. port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:239
ha_config_test.c:243
new_port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:240
ha_config_test.c:244
[ FAILED ] test_GPHD_HA_load_nodes_PortMissing

[ RUN ] test_GPHD_HA_load_nodes_PortIsInvalidNumber
port_to_str() has remaining non-returned values.
Remaining item(s) declared at...
ha_config_test.c:277
ha_config_test.c:282
port_to_str() has remaining non-assigned out-values.
Remaining item(s) declared at...
port:0
port_to_str. port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:278
ha_config_test.c:283
new_port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:279
ha_config_test.c:284
[ FAILED ] test_GPHD_HA_load_nodes_PortIsInvalidNumber

[ RUN ] test_GPHD_HA_load_nodes_PortIsNotNumber_TakeOne
port_to_str() has remaining non-returned values.
Remaining item(s) declared at...
ha_config_test.c:318
ha_config_test.c:323
port_to_str() has remaining non-assigned out-values.
Remaining item(s) declared at...
port:0
port_to_str. port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:319
ha_config_test.c:324
new_port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:320
ha_config_test.c:325
[ FAILED ] test_GPHD_HA_load_nodes_PortIsNotNumber_TakeOne

[ RUN ] test_GPHD_HA_load_nodes_PortIsNotNumber_TakeTwo
port_to_str() has remaining non-returned values.
Remaining item(s) declared at...
ha_config_test.c:358
ha_config_test.c:363
port_to_str() has remaining non-assigned out-values.
Remaining item(s) declared at...
port:0
port_to_str. port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:359
ha_config_test.c:364
new_port parameter still has values that haven't been checked.
Remaining item(s) declared at...
ha_config_test.c:360
ha_config_test.c:365
[ FAILED ] test_GPHD_HA_load_nodes_PortIsNotNumber_TakeTwo

[=============] 9 tests ran
[ PASSED ] 1 tests
[ FAILED ] 8 tests, listed below
[ FAILED ] test_GPHD_HA_load_nodes_OneNN
[ FAILED ] test_GPHD_HA_load_nodes_RpcDelimMissing
[ FAILED ] test_GPHD_HA_load_nodes_PxfServicePortIsAssigned
[ FAILED ] test_GPHD_HA_load_nodes_HostMissing
[ FAILED ] test_GPHD_HA_load_nodes_PortMissing
[ FAILED ] test_GPHD_HA_load_nodes_PortIsInvalidNumber
[ FAILED ] test_GPHD_HA_load_nodes_PortIsNotNumber_TakeOne
[ FAILED ] test_GPHD_HA_load_nodes_PortIsNotNumber_TakeTwo
make[1]: *** [ha_config-check] Error 8


While debugging test_GPHD_HA_load_nodes_OneNN, it was observed that, in ha_config_mock.c:hdfsGetHANamenodes,
the *size / len variable is 0 on s390x instead of 1.
Could someone please provide some pointers in resolving the same? Is the code dependent on
machine endianness(s390x is big endian while Intel x86 is big endian.) ?


Regards,
Namrata Bhave


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message