Author Topic: Test Net for Advanced Users  (Read 265917 times)

0 Members and 1 Guest are viewing this topic.

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
sorry, but which branch of graphene are you use?
I checkout branch aug-17-testnet, but can't connect to the network
Code: [Select]
2015-08-19T00:46:34 p2p:message read_loop on_closing_connectio ][b] Peer 104.200.28.117:61705[/b] is disconnecting us because: You are on a different chain from me           n
ode.cpp:2681
2015-08-19T00:46:34 p2p:message read_loop            read_loop ] disconnected 0 exception: unspecified

I think you entered wrong seed address
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
sorry, but which branch of graphene are you use?
I checkout branch aug-17-testnet, but can't connect to the network
Code: [Select]
2015-08-19T00:46:34 p2p:message read_loop on_closing_connectio ] Peer 104.200.28.117:61705 is disconnecting us because: You are on a different chain from me           n
ode.cpp:2681
2015-08-19T00:46:34 p2p:message read_loop            read_loop ] disconnected 0 exception: unspecified
Im still running the aug 14th test. 

I have just built the aug 17th test net and when I try to launch I get a different chain id.  I'm not sure how the chain id is set.  I thought it was from the genesis, but I am launching with the same genesis and getting a different result.

OMG, I just deleted my aug-17 branch and started building aug-14 branch (based on my guess). Will you maintain aug-14 testnet?
yeah.  I'll keep it going until bm posts a new one.

Can you post what commit works so that if anyone else wants to join in the mean time they can?

bf47a1610c4aef7e25592aa42ecd4d4ae83a2b5f works for sure.

Yes this commit works with aug-14 testnet
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
I have this message (now solved but I think I should report)

Code: [Select]
2071000ms th_a       witness.cpp:242               block_production_loo ] Witness 1.6.1446 p
roduction slot has arrived; generating a block now...
2071002ms th_a       db_block.cpp:167              _push_block          ] Failed to push new
 block:
3070000 undo_database_exception: undo database exception
The database does not have enough undo history to support a blockchain with so many missed b
locks. Please add a checkpoint if you would like to continue applying blocks beyond this poi
nt.
    {"recently_missed":1431,"max_undo":1000}
    th_a  db_update.cpp:68 update_global_dynamic_data
    {"next_block.block_num()":150301}
    th_a  db_block.cpp:448 _apply_block
2071003ms th_a       witness.cpp:265               block_production_loo ] Got exception whil
e generating block:
3070000 undo_database_exception: undo database exception
The database does not have enough undo history to support a blockchain with so many missed b
locks. Please add a checkpoint if you would like to continue applying blocks beyond this poi
nt.
    {"recently_missed":1431,"max_undo":1000}
    th_a  db_update.cpp:68 update_global_dynamic_data
    {"next_block.block_num()":150301}
    th_a  db_block.cpp:448 _apply_block
    {"new_block":{"previous":"00024b1c3d09ca1f5830e3e5afa94ad35ef5bd8e","timestamp":"2015-08
-19T03:34:31","witness":"1.6.1446","next_secret_hash":"2618a50760983d98ab43df78cd9a007d2e7ea
ed7","previous_secret":"e93b540ed63a628df6ef29be551fd9354dac7bed","transaction_merkle_root":
"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"20767d9f7cf2
cf5c83d2540b22943e052a5b0d0bb22af5485462a72d330efe82703a5fe6cef4276f0b5b3f76ea419d87901cefef
89c5878ec99add42aa24ab7071","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
    {"witness_id":"1.6.1446"}
    th_a  db_block.cpp:312 _generate_block


The following is what I have done
- Start witness_node and sync blockchain
- Vote for 1.6.1446, close cli_wallet
- Unclean shutdown (Ctrl+C, Ctrl+C)
- Delete object_id(?) and witness_node dir
- Start witness_node
- After syncing, this problem begins to happen
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
I think that I'm in aug-14 testnet. witness id 1.6.1446

Machine type
n1-standard-1 (1 vCPU, 3.75 GB memory)
CPU platform
Intel Ivy Bridge
Zone
asia-east1-c
yup  I see you.

generating blocks and all.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
I think that I'm in aug-14 testnet. witness id 1.6.1446

Machine type
n1-standard-1 (1 vCPU, 3.75 GB memory)
CPU platform
Intel Ivy Bridge
Zone
asia-east1-c
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
sorry, but which branch of graphene are you use?
I checkout branch aug-17-testnet, but can't connect to the network
Code: [Select]
2015-08-19T00:46:34 p2p:message read_loop on_closing_connectio ] Peer 104.200.28.117:61705 is disconnecting us because: You are on a different chain from me           n
ode.cpp:2681
2015-08-19T00:46:34 p2p:message read_loop            read_loop ] disconnected 0 exception: unspecified
Im still running the aug 14th test. 

I have just built the aug 17th test net and when I try to launch I get a different chain id.  I'm not sure how the chain id is set.  I thought it was from the genesis, but I am launching with the same genesis and getting a different result.

OMG, I just deleted my aug-17 branch and started building aug-14 branch (based on my guess). Will you maintain aug-14 testnet?
yeah.  I'll keep it going until bm posts a new one.

Can you post what commit works so that if anyone else wants to join in the mean time they can?

bf47a1610c4aef7e25592aa42ecd4d4ae83a2b5f works for sure.
« Last Edit: August 19, 2015, 03:37:55 am by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
sorry, but which branch of graphene are you use?
I checkout branch aug-17-testnet, but can't connect to the network
Code: [Select]
2015-08-19T00:46:34 p2p:message read_loop on_closing_connectio ] Peer 104.200.28.117:61705 is disconnecting us because: You are on a different chain from me           n
ode.cpp:2681
2015-08-19T00:46:34 p2p:message read_loop            read_loop ] disconnected 0 exception: unspecified
Im still running the aug 14th test. 

I have just built the aug 17th test net and when I try to launch I get a different chain id.  I'm not sure how the chain id is set.  I thought it was from the genesis, but I am launching with the same genesis and getting a different result.

OMG, I just deleted my aug-17 branch and started building aug-14 branch (based on my guess). Will you maintain aug-14 testnet?
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
sorry, but which branch of graphene are you use?
I checkout branch aug-17-testnet, but can't connect to the network
Code: [Select]
2015-08-19T00:46:34 p2p:message read_loop on_closing_connectio ] Peer 104.200.28.117:61705 is disconnecting us because: You are on a different chain from me           n
ode.cpp:2681
2015-08-19T00:46:34 p2p:message read_loop            read_loop ] disconnected 0 exception: unspecified
Im still running the aug 14th test. 

I have just built the aug 17th test net and when I try to launch I get a different chain id.  I'm not sure how the chain id is set.  I thought it was from the genesis, but I am launching with the same genesis and getting a different result.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
sorry, but which branch of graphene are you use?
I checkout branch aug-17-testnet, but can't connect to the network
Code: [Select]
2015-08-19T00:46:34 p2p:message read_loop on_closing_connectio ] Peer 104.200.28.117:61705 is disconnecting us because: You are on a different chain from me           n
ode.cpp:2681
2015-08-19T00:46:34 p2p:message read_loop            read_loop ] disconnected 0 exception: unspecified

Offline Riverhead


Registered but not sure if it got voted in with the funds I had :) .

1.6.5155
I think this number is me.. Which chain are you in?

Given the level of testing you have done I am going to guess you are in the correct chain and I'm off in left field somewhere. I was on chain: a629fd737e0b4d8becc25e33b90984840723b38cd4430049693059f6e396b89c

However I was never able to get the cli_wallet to report that it was syncing.


Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore

Registered but not sure if it got voted in with the funds I had :) .

1.6.5155
I think this number is me.. Which chain are you in?
BitShares committee member: abit
BitShares witness: in.abit

Offline Riverhead

Everyone who has participated in one of these test network and successfully registered a witness, please post your witness ID and BTS account to this thread and I'll send you 1000 brownie pts.   

This testing has been very helpful.   I am actively working on a potential fix for the issues found.

Registered but not sure if it got voted in with the funds I had :) .

1.6.5155

Offline lafona

  • Sr. Member
  • ****
  • Posts: 231
    • View Profile
  • BitShares: lafona
I had it producing blocks on the Raspberry pi B (512) earlier with maqifrnswa's build , although it may have been having problems as suggested by puppies diagnosis. I will check when I get home in a few hours. When I looked earlier it was only using 50 MB or so of swap space.

Witness ID: "1.6.1439"
BTS ID: lafona
BTS Witnesses: delegate-1.lafona     Witness Thread: https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911
MUSE Witness: lafona

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
betax awesome write up! Thank you

First RPi tests: the old 256 MB pi runs out of memory and ends up using lots of swap (no surprise there...) I have a new quad core rpi2 with 1 GB ram to try next, I just need a microsd card.

So I guess will need at least the rpi2 to start.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Well done puppies. I think we are not that bad bad test witnesses  :P

+1  You guys have done a great job.   If we could find a way to reliably reproduce this with just a few nodes that would be very helpful.
sudo tc qdisc add dev eth0 root netem delay 1000ms
followed by
sudo tc qdisc del dev eth0 root
ten or so seconds later pretty reliably causes a fork, but not sure if its the same type.  I think if you had three block producing nodes connected together this could cause the out of order problem.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads