mongodb-tools tests failing

45 views
Skip to first unread message

Deepali Chourasia

unread,
Sep 24, 2015, 2:29:52 AM9/24/15
to mongodb-user
Hello Folks,

I am trying to execute test cases for the mongodb tools. However the tests are failing.

I have built mongoimport with the following command
cd ~/mongo-tools/mongoimport

go build -o bin/mongoimport mongoimport/main/mongoimport.go


Then I executed the unit, integration and smoke tests on this binary. However, the tests are failing.

I am attaching the logs here.
Could someone please help in understanding the cause of these errors.

Regards
Deepali


UnittestLog.txt
Normalbuild_integrationlog.txt

Asya Kamsky

unread,
Sep 24, 2015, 5:05:16 PM9/24/15
to mongod...@googlegroups.com
This is probably a question for MongoDB-dev Google group where developers *of* MongoDB hang out. 
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c15b3d2c-49c4-40c7-9575-a257c0067523%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Asya Kamsky
Lead Product Manager
MongoDB
Download MongoDB - mongodb.org/downloads
Free MongoDB Monitoring - cloud.mongodb.com
Free Online Education - university.mongodb.com
Get Involved - mongodb.org/community
We're Hiring! - https://www.mongodb.com/careers

Deepali Chourasia

unread,
Sep 25, 2015, 4:14:54 AM9/25/15
to mongodb-user
Yes posted on the mongodb-dev group. Thanks.

Deepali

Deepali Chourasia

unread,
Sep 25, 2015, 6:42:44 AM9/25/15
to mongodb-user

I debugged further on the issue and tried to use mongoimport manually.

The output is:
 ./mongoimport --host localhost --db deepali_test_db5 --collection startupcoll --file startup.json
2015-09-25T16:07:29.229+0530  
  [........................] deepali_test_db5.startupcoll 0.0 B/27.0 KB (0.0%)
2015-09-25T16:07:29.735+0530    [........................] deepali_test_db5.startupcoll 0.0 B/27.0 KB (0.0%)
2015-09-25T16:07:29.735+0530    Failed: error connecting to db server: no reachable servers
2015-09-25T16:07:29.735+0530    imported 0 documents

./mongoimport --host 127.0.0.1 --db deepali_test_db5 --collection startupcoll --file startup.json
2015-09-25T16:07:32.386+0530    connected to: 127.0.0.1
2015-09-25T16:07:32.433+0530    imported 22 documents

The observer is that it works when I give --host as 127.0.0.1. However when I give -host as localhost it is not working on PPC 64 le. Why is it not able to use localhost? Any ideas ?
Reply all
Reply to author
Forward
0 new messages