Opened 5 years ago

Closed 4 years ago

#14060 closed defect (user disappeared)

Problem with install on Debian Wheezy (XEN-VirtuaMachine)

Reported by: landev Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Normal Keywords:
Cc: kojgelo@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

  1. created xen machine with: xen-create-image --hostname ooni --dhcp --size=10Gb --swap=1Gb --memory=1024Mb --arch=amd64 --role=udev --dir=/home/xen (dhcp on WAN-Side NIC)
  1. Logged in
  1. apt-get install git vim sudo lsb-release && git clone https://github.com/thetorproject/ooni-probe
  1. ./setup-dependencies.sh -p

First Crash:


Running:

sudo pip install setuptools --no-use-wheel --upgrade

FAIL
COMBINED STDOUT/STDERR OUTPUT OF FAILED COMMAND:
Downloading/unpacking setuptools from https://pypi.python.org/packages/source/s/setuptools/setuptools-10.0.1.tar.gz#md5=abaf3b5d654eb525b9ca67c6d4522292

Running setup.py (path:/tmp/pip_build_root/setuptools/setup.py) egg_info for package setuptools


-->removed --no-use-wheel parameter -> works

  1. rerun ./setup-dependencies.sh -p

Second Crash


gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c dnet/dnet.c -o build/temp.linux-x86_64-2.7/dnet/dnet.o

In file included from dnet/dnet.c:22:0:

dnet/dnet.h:1:18: fatal error: dnet.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1


->apt-get install libdumbnet-dev -> works

  1. mkdir /root/.ooni
  1. cp /root/ooni-probe/data/ooniprobe.conf.sample ~/.ooni/
  1. python setup.py install -> seems to work
  1. the deck generation and testing seems to work too

oonideckgen --country-code=CH -o /root/.ooni/
ooniprobe -i /root/.ooni/deck-ch/0.0.1-ch-user-deck

  1. "not sure" if result really uploaded :) isn't there any message?

Doing the test lookups on www.yola.com
Doing the test lookups on www.netaddress.com
Doing the test lookups on www.outlook.com
Doing the test lookups on www.paypal.com
Starting factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x3718248>
Starting factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x4a5d3b0>
Starting factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x489fd88>
Doing the test lookups on www.torproject.org
Doing the test lookups on www.transferbigfiles.com
Doing the test lookups on www.tumblr.com
Doing the test lookups on www.yola.com
Starting factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x46eb098>
Checking for tampering on http://4.71.251.156:81

total: False
request_line_capitalization: False
header_name_capitalization: False
header_field_value: False
header_field_number: False

Doing the test lookups on www.torproject.org
Doing the test lookups on www.transferbigfiles.com
Doing the test lookups on www.tumblr.com
Doing the test lookups on www.yola.com
Stopping factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x3718248>
Stopping factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x4a5d3b0>
Stopping factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x489fd88>
Stopping factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x46eb098>
Main loop terminated.


Child Tickets

Change History (4)

comment:1 in reply to:  description Changed 5 years ago by anadahz

Cc: kojgelo@… added

Hi,

Thanks for running ooniprobe

Replying to landev:

  1. "not sure" if result really uploaded :) isn't there any message?

Have you looked at the ~/.ooni/ooniprobe.log ?

Can you rerun the test deck with the verbose option ooniprobe -v -i /root/.ooni/deck-ch/0.0.1-ch-user-deck ?

comment:2 Changed 5 years ago by hellais

Yes I can confirm this bug is reproducible on debian wheezy when using the setup-depedencies.sh script. I think we should really go for replacing this script with the install.sh script hosted here: https://ooni.torproject.org/install.sh.

The fix for this should be of also installing libdumbnet1-dev.

comment:3 Changed 5 years ago by hellais

Status: newaccepted

comment:4 Changed 4 years ago by anadahz

Resolution: user disappeared
Severity: Normal
Status: acceptedclosed
Note: See TracTickets for help on using tickets.