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

t0080: prepare for online tests #933

Closed
wants to merge 1 commit into from

Conversation

chriscool
Copy link
Contributor

Put the tests into a function so that they
can easily be run both offline and online.

Unfortunately it is not possible to run them
both offline and online right now because there
are some "Error: context deadline exceeded"
when the online tests are run if the offline
tests have been run before. This is explained
in a comment and the online tests are commented
out for now.

License: MIT
Signed-off-by: Christian Couder chriscool@tuxfamily.org

Put the tests into a function so that they
can easily be run both offline and online.

Unfortunately it is not possible to run them
both offline and online right now because there
are some "Error: context deadline exceeded"
when the online tests are run if the offline
tests have been run before. This is explained
in a comment and the online tests are commented
out for now.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
@btc btc added the status/in-progress In progress label Mar 16, 2015
# ...but unfortunately doesn't work right now
# there are some "Error: context deadline exceeded"
# when running the online tests after the offline tests
# if the offline tests are commented out, it works
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's bizarre. know which commands in question fail?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will have a look. And maybe try to come up with a small test case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I have the following:

> cat poll_apiout
time="2015-03-20T22:06:37Z" level=debug msg=starting timeout=1s tries=60 url="http://127.0.0.1:5836/version" when=2015-03-20 22:06:37.538776907 +0000 UTC 
time="2015-03-20T22:06:37Z" level=debug msg="get failed" error="wrong url or endpoint error from http.Get() &url.Error{Op:\"Get\", URL:\"http://127.0.0.1:5836/version\", Err:(*net.OpError)(0xc2080323c0)}" tries=60 
time="2015-03-20T22:06:38Z" level=debug msg="get failed" error="wrong url or endpoint error from http.Get() &url.Error{Op:\"Get\", URL:\"http://127.0.0.1:5836/version\", Err:(*net.OpError)(0xc2080324c0)}" tries=59 
time="2015-03-20T22:06:39Z" level=debug msg="get failed" error="wrong url or endpoint error from http.Get() &url.Error{Op:\"Get\", URL:\"http://127.0.0.1:5836/version\", Err:(*net.OpError)(0xc208032600)}" tries=58
...

when waiting with pollEndpoint for the daemon to be started.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following test can be used to reproduce:

#!/bin/sh
#
# Copyright (c) 2014 Jeromy Johnson
# MIT Licensed; see the LICENSE file in this repository.
#

test_description="Test ipfs repo operations"

. lib/test-lib.sh

test_init_ipfs

# we use a function so that we can run it both offline + online
test_repo_cmd() {

    test_expect_success "file no longer pinned" '
        # we expect the welcome files to show up here
        echo "$HASH_WELCOME_DOCS" >expected2 &&
        ipfs refs -r "$HASH_WELCOME_DOCS" >>expected2 &&
        WHASH=QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn &&
        echo "$WHASH" >> expected2 &&
        sort expected2 >expected_sorted2 &&
        ipfs pin ls -type=recursive >actual2 &&
        sort actual2 >actual_sorted2 &&
        test_cmp expected_sorted2 actual_sorted2
    '

    test_expect_success "'ipfs pin rm' succeeds" '
        true >empty &&
        ipfs pin rm -r "$WHASH" &&
        ipfs pin ls >rm_actual &&
        test_cmp empty rm_actual &&
        ipfs pin rm -r "$HASH_WELCOME_DOCS" &&
        ipfs pin ls -type=recursive >rm_actual &&
        test_cmp empty rm_actual
    '

    test_expect_success "'ipfs repo gc' succeeds" '
        ipfs repo gc >gc_out_actual
    '

    test_expect_success "'ipfs repo gc' looks good" '
        echo "removed $WHASH" >>gc_out_expected &&
        echo "removed $HASH_WELCOME_DOCS" >>gc_out_expected &&
        sort gc_out_actual >gc_out_actual_sorted &&
        sort gc_out_expected >gc_out_expected_sorted &&
        test_cmp gc_out_expected_sorted gc_out_actual_sorted
    '
}

# should work offline
test_repo_cmd

echo "HASH: $HASH"
echo "WHASH: $WHASH"
echo "MBLOCKHASH: $MBLOCKHASH"
echo "HASH_WELCOME_DOCS: $HASH_WELCOME_DOCS"
echo "DIRECTPIN: $DIRECTPIN"

# should work online...
# ...but unfortunately doesn't work right now
# there are some "Error: context deadline exceeded"
# when running the online tests after the offline tests
# if the offline tests are commented out, it works

test_launch_ipfs_daemon
test_repo_cmd
test_kill_ipfs_daemon

test_done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the trashDirectory.t9999-onlinedebug.sh directory after a run of the above test with debug nocolor logging enabled. The shell output is here

It looks like the daemon somehow hangs before opening up the HTTP endpoints.

@chriscool
Copy link
Contributor Author

I can reproduce the bug with the following smaller test script:

#!/bin/sh
#
# Copyright (c) 2014 Jeromy Johnson
# MIT Licensed; see the LICENSE file in this repository.
#

test_description="Test ipfs repo operations"

. lib/test-lib.sh

test_init_ipfs

# we use a function so that we can run it both offline + online
test_repo_cmd() {

    test_expect_success "'ipfs pin rm' succeeds" '
        WHASH=QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn &&
        ipfs pin rm -r "$WHASH"
    '

    test_expect_success "'ipfs repo gc' succeeds" '
        ipfs repo gc >gc_out_actual
    '
}

# should work offline
test_repo_cmd

export IPFS_DEBUG=t

test_launch_ipfs_daemon
test_repo_cmd
test_kill_ipfs_daemon

test_done

@chriscool
Copy link
Contributor Author

It fails for me with:

expecting success: 




> cat actual_daemon
Initializing daemon...

> cat daemon_err
08:33:21.412  INFO    updates: go-ipfs Version: 0.2.3 updates.go:96
08:33:21.413 DEBUG   cmd/ipfs: config path is /home/christian/gocode/src/github.com/jbenet/go-ipfs/test/sharness/trash directory.t0080-repo.sh/.go-ipfs <autogenerated>:23
08:33:21.413  INFO   cmd/ipfs: IPFS_PATH /home/christian/gocode/src/github.com/jbenet/go-ipfs/test/sharness/trash directory.t0080-repo.sh/.go-ipfs <autogenerated>:28
08:33:21.413 DEBUG   cmd/ipfs: looking for running daemon... <autogenerated>:22
08:33:21.413 DEBUG   cmd/ipfs: Calling pre-command hooks... <autogenerated>:22
08:33:21.413 DEBUG   cmd/ipfs: Executing command locally <autogenerated>:22
08:33:21.506 DEBUG    net/mux: <Muxer 0xc208101830 0> setting handler for protocol: /ipfs/identify (14) <autogenerated>:23
08:33:21.506 DEBUG    net/mux: <Muxer 0xc208101830 1> setting handler for protocol: /ipfs/relay (11) <autogenerated>:23
08:33:21.506 DEBUG    net/mux: <Muxer 0xc208101830 2> setting handler for protocol: /ipfs/diagnostics (17) <autogenerated>:23
08:33:21.506 DEBUG    net/mux: <Muxer 0xc208101830 3> setting handler for protocol: /ipfs/dht (9) <autogenerated>:23
08:33:21.506 DEBUG    net/mux: <Muxer 0xc208101830 4> setting handler for protocol: /ipfs/bitswap (13) <autogenerated>:23
08:33:21.506 DEBUG       core: Config.Addresses.Swarm:[/ip4/0.0.0.0/tcp/4001] <autogenerated>:23
08:33:21.506 DEBUG       core: Config.Addresses.Swarm:[/ip4/0.0.0.0/tcp/4001] (filtered) <autogenerated>:23
08:33:21.506 DEBUG     swarm2: Swarm Listening at /ip4/0.0.0.0/tcp/4001 <autogenerated>:23
08:33:21.506 DEBUG       conn: Conn Listener on /ip4/0.0.0.0/tcp/4001 <autogenerated>:23
08:33:21.506 DEBUG     swarm2: Swarm Listeners at [/ip4/0.0.0.0/tcp/4001] <autogenerated>:23
08:33:21.506 DEBUG p2p/net/sw: InterfaceAddresses: from manet:[/ip4/127.0.0.1 /ip4/192.168.1.58 /ip4/192.168.122.1 /ip4/172.17.42.1 /ip6/::1 /ip6/fe80::e8b:fdff:fe70:78d5] <autogenerated>:22
08:33:21.506 DEBUG p2p/net/sw: InterfaceAddresses: usable:[/ip4/127.0.0.1 /ip4/192.168.1.58 /ip4/192.168.122.1 /ip4/172.17.42.1 /ip6/::1] <autogenerated>:22                                                                                                                                        
08:33:21.506 DEBUG p2p/net/sw: adding resolved addr:/ip4/0.0.0.0/tcp/4001 /ip4/127.0.0.1/tcp/4001 [/ip4/127.0.0.1/tcp/4001] <autogenerated>:22
08:33:21.506 DEBUG p2p/net/sw: adding resolved addr:/ip4/0.0.0.0/tcp/4001 /ip4/192.168.1.58/tcp/4001 [/ip4/127.0.0.1/tcp/4001 /ip4/192.168.1.58/tcp/4001] <autogenerated>:22
08:33:21.506 DEBUG p2p/net/sw: adding resolved addr:/ip4/0.0.0.0/tcp/4001 /ip4/192.168.122.1/tcp/4001 [/ip4/127.0.0.1/tcp/4001 /ip4/192.168.1.58/tcp/4001 /ip4/192.168.122.1/tcp/4001] <autogenerated>:22
08:33:21.506 DEBUG p2p/net/sw: adding resolved addr:/ip4/0.0.0.0/tcp/4001 /ip4/172.17.42.1/tcp/4001 [/ip4/127.0.0.1/tcp/4001 /ip4/192.168.1.58/tcp/4001 /ip4/192.168.122.1/tcp/4001 /ip4/172.17.42.1/tcp/4001] <autogenerated>:22
08:33:21.506 DEBUG p2p/net/sw: ResolveUnspecifiedAddresses:[/ip4/0.0.0.0/tcp/4001] [/ip4/127.0.0.1 /ip4/192.168.1.58 /ip4/192.168.122.1 /ip4/172.17.42.1 /ip6/::1] [/ip4/127.0.0.1/tcp/4001 /ip4/192.168.1.58/tcp/4001 /ip4/192.168.122.1/tcp/4001 /ip4/172.17.42.1/tcp/4001] <autogenerated>:22
08:33:21.506  INFO       core: Swarm listening at: [/ip4/127.0.0.1/tcp/4001 /ip4/192.168.1.58/tcp/4001 /ip4/192.168.122.1/tcp/4001 /ip4/172.17.42.1/tcp/4001] <autogenerated>:29
08:33:21.507 DEBUG       core: <peer.ID TwTd54> no more bootstrap peers to create 4 connections <autogenerated>:23
08:33:21.507 DEBUG       core: <peer.ID TwTd54> bootstrap error: not enough bootstrap peers to bootstrap <autogenerated>:23
08:33:21.508 DEBUG    namesys: RoutingResolve: 'QmTwTd544cr2NL6vg9pk8NzEJwuXYCogLmyakgtiN6qksr' routing.go:41
08:33:21.508 DEBUG        dht: getLocal %s3MdqH2RuumMmVVHJXPhTUzRcXDsQWaQCAV3eg9NKkq5gmYV1qjUBDmS <autogenerated>:22
08:33:21.508 DEBUG        dht: found in db <autogenerated>:22
08:33:21.508 DEBUG        dht: have it locally <autogenerated>:22
08:33:21.508 DEBUG        dht: getLocal %s822ATDFspfadmcjKNmHYnhfvP2fqPmivbAk616Gvq2CQL4yahSKS <autogenerated>:22
08:33:21.508 DEBUG        dht: found in db <autogenerated>:22
08:33:21.508 DEBUG        dht: have it locally <autogenerated>:22
08:33:21.508 DEBUG    namesys: pk hash = QmTwTd544cr2NL6vg9pk8NzEJwuXYCogLmyakgtiN6qksr routing.go:81
08:33:21.508 DEBUG blockservi: BlockService GetBlock: 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn' blockservice.go:82
08:33:21.508 DEBUG blockservi: Blockservice: Searching bitswap. blockservice.go:89
08:33:21.508 WARNI        dht: Running query with no peers! <autogenerated>:34
08:33:21.508 DEBUG  peerqueue: processing <autogenerated>:22
08:33:31.506 DEBUG        nat: DiscoverGateway error:no NAT found <autogenerated>:22
08:33:31.507 WARNI        dht: Running query with no peers! <autogenerated>:34
08:33:31.507 DEBUG  peerqueue: processing <autogenerated>:22
08:33:41.508 WARNI        dht: Running query with no peers! <autogenerated>:34
08:33:41.508 DEBUG  peerqueue: processing <autogenerated>:22
08:33:51.507 DEBUG       core: <peer.ID TwTd54> no more bootstrap peers to create 4 connections <autogenerated>:23
08:33:51.507 DEBUG       core: <peer.ID TwTd54> bootstrap error: not enough bootstrap peers to bootstrap <autogenerated>:23
08:33:51.509 DEBUG    bitswap: 1keyin bitswap wantlist <autogenerated>:22
08:33:51.509 WARNI        dht: Running query with no peers! <autogenerated>:34
08:33:51.509 DEBUG  peerqueue: processing <autogenerated>:22
08:34:01.510 WARNI        dht: Running query with no peers! <autogenerated>:34
08:34:01.510 DEBUG  peerqueue: processing <autogenerated>:22
08:34:11.511 WARNI        dht: Running query with no peers! <autogenerated>:34
08:34:11.511 DEBUG  peerqueue: processing <autogenerated>:22

> cat poll_apierr

> cat poll_apiout
time="2015-03-28T08:33:21Z" level=debug msg=starting timeout=1s tries=60 url="http://127.0.0.1:6017/version" when=2015-03-28 08:33:21.409080287 +0000 UTC 
time="2015-03-28T08:33:21Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=60 
time="2015-03-28T08:33:22Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=59 
time="2015-03-28T08:33:23Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=58 
time="2015-03-28T08:33:24Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=57 
time="2015-03-28T08:33:25Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=56 
time="2015-03-28T08:33:26Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=55 
time="2015-03-28T08:33:27Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=54 
time="2015-03-28T08:33:28Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=53 
time="2015-03-28T08:33:29Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=52 
time="2015-03-28T08:33:30Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=51 
time="2015-03-28T08:33:31Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=50 
time="2015-03-28T08:33:32Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=49 
time="2015-03-28T08:33:33Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=48 
time="2015-03-28T08:33:34Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=47 
time="2015-03-28T08:33:35Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=46 
time="2015-03-28T08:33:36Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=45 
time="2015-03-28T08:33:37Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=44 
time="2015-03-28T08:33:38Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=43 
time="2015-03-28T08:33:39Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=42 
time="2015-03-28T08:33:40Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=41 
time="2015-03-28T08:33:41Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=40 
time="2015-03-28T08:33:42Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=39 
time="2015-03-28T08:33:43Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=38 
time="2015-03-28T08:33:44Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=37 
time="2015-03-28T08:33:45Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=36 
time="2015-03-28T08:33:46Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=35 
time="2015-03-28T08:33:47Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=34 
time="2015-03-28T08:33:48Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=33 
time="2015-03-28T08:33:49Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=32 
time="2015-03-28T08:33:50Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=31 
time="2015-03-28T08:33:51Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=30 
time="2015-03-28T08:33:52Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=29 
time="2015-03-28T08:33:53Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=28 
time="2015-03-28T08:33:54Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=27 
time="2015-03-28T08:33:55Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=26 
time="2015-03-28T08:33:56Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=25 
time="2015-03-28T08:33:57Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=24 
time="2015-03-28T08:33:58Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=23 
time="2015-03-28T08:33:59Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=22 
time="2015-03-28T08:34:00Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=21 
time="2015-03-28T08:34:01Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=20 
time="2015-03-28T08:34:02Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=19 
time="2015-03-28T08:34:03Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=18 
time="2015-03-28T08:34:04Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=17 
time="2015-03-28T08:34:05Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=16 
time="2015-03-28T08:34:06Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=15 
time="2015-03-28T08:34:07Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=14 
time="2015-03-28T08:34:08Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=13 
time="2015-03-28T08:34:09Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=12 
time="2015-03-28T08:34:10Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=11 
time="2015-03-28T08:34:11Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=10 
time="2015-03-28T08:34:12Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=9 
time="2015-03-28T08:34:13Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=8 
time="2015-03-28T08:34:14Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=7 
time="2015-03-28T08:34:15Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=6 
time="2015-03-28T08:34:16Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=5 
time="2015-03-28T08:34:17Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=4 
time="2015-03-28T08:34:18Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=3 
time="2015-03-28T08:34:19Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=2 
time="2015-03-28T08:34:20Z" level=debug msg="get failed" error="Get http://127.0.0.1:6017/version: dial tcp 127.0.0.1:6017: connection refused" tries=1 
time="2015-03-28T08:34:21Z" level=info msg=failed. 

not ok 6 - 'ipfs daemon' is ready

@whyrusleeping
Copy link
Member

closing due to inactivity, please reopen as necessary

note: all pull requests older than three weeks may be closed in an effort to keep our open pull requests more focused.

@chriscool chriscool deleted the t0080_prepare_for_online_tests branch April 30, 2016 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/test Testing work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants