[Scion] Issue with installation of SCION Apps
Siddharth Mehrotra
the4daspect at gmail.com
Tue Sep 10 14:29:26 CEST 2019
# git clone -vvv https://github.com/netsec-ethz/rains -> Receiving
objects: 100% (9926/9926), 84.58 MiB | 26.21 MiB/s, done.
# free -h -> total used free shared
buff/cache available
Mem: 2.0G 1.5G 237M 3.1M 270M
339M
Swap: 0B 0B 0B
# lscpu ->
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 142
Model name: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Stepping: 10
CPU MHz: 1800.002
BogoMIPS: 3600.00
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0,1
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm
constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16
pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor
lahf_lm abm 3dnowprefetch fsgsbase avx2 invpcid rdseed clflushopt
# cat /proc/meminfo ->
MemTotal: 2048132 kB
MemFree: 222392 kB
MemAvailable: 327732 kB
Buffers: 10952 kB
Cached: 217368 kB
SwapCached: 0 kB
Active: 1649868 kB
Inactive: 68420 kB
Active(anon): 1492832 kB
Inactive(anon): 2780 kB
Active(file): 157036 kB
Inactive(file): 65640 kB
Unevictable: 3652 kB
Mlocked: 3652 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 180 kB
Writeback: 0 kB
AnonPages: 1493632 kB
Mapped: 56156 kB
Shmem: 3216 kB
Slab: 49688 kB
SReclaimable: 28860 kB
SUnreclaim: 20828 kB
KernelStack: 13488 kB
PageTables: 21296 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1024064 kB
Committed_AS: 9915072 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 899072 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 63424 kB
DirectMap2M: 2033664 kB
# dmesg -T |grep Kill
[Tue Sep 10 11:26:47 2019] Out of memory: Kill process 2407 (beacon_server)
score 17 or sacrifice child
[Tue Sep 10 11:26:47 2019] Killed process 2407 (beacon_server)
total-vm:946396kB, anon-rss:34728kB, file-rss:0kB
[Tue Sep 10 11:26:49 2019] Out of memory: Kill process 2974 (beacon_server)
score 16 or sacrifice child
[Tue Sep 10 11:26:49 2019] Killed process 2974 (beacon_server)
total-vm:948464kB, anon-rss:34144kB, file-rss:0kB
[Tue Sep 10 11:26:49 2019] Out of memory: Kill process 3548 (beacon_server)
score 17 or sacrifice child
[Tue Sep 10 11:26:49 2019] Killed process 3533 (beacon_server)
total-vm:948464kB, anon-rss:34248kB, file-rss:604kB
*I tried again with ./deps.sh & it works now. with complete installation.*
On Mon, Sep 9, 2019 at 9:44 AM Mateusz Kowalski <kmateusz at inf.ethz.ch>
wrote:
> Hi guys,
>
> `index-pack died of signal 9` in most of the cases suggest running out
> of memory on the underlying system.
>
> @Siddharth, can you please send output of the following set of commands?
>
> ```
> # git clone -vvv https://github.com/netsec-ethz/rains
> # free -h
> # lscpu
> # cat /proc/meminfo
> # dmesg -T |grep Kill
> ```
>
> Cheers,
> Mateusz
>
> On 08/09/2019 20:59, Juan A. García-Pardo wrote:
> > Hi Siddharth,
> > The execution of `deps.sh` failed, look at that message saying "error:
> > index-pack died of signal 9"
> > Where is it failing? in `git clone` ? Where (which platform) are you
> > running this?
> > Thanks,
> >
> > Juan A.
> >
> >
> > On Fri, Sep 6, 2019 at 4:32 PM Siddharth Mehrotra <the4daspect at gmail.com
> >
> > wrote:
> >
> >> Hi,
> >>
> >> While installing SCION-Apps, following error appeared on running
> ./deps.sh.
> >> Is there any issue with this?
> >>
> >> ubuntu at scionlab-ffaa-1-c28:~/go/src/github.com/netsec-ethz/scion-apps$
> >> ./deps.sh
> >> + printf '\n### Getting govendor ###\n'
> >>
> >> ### Getting govendor ###
> >> + grep v1.0.8
> >> + govendor -version
> >> + printf '\n### Getting vendor libraries\n'
> >>
> >> ### Getting vendor libraries
> >> + govendor sync -v
> >> fetch "github.com/docker/docker/pkg/term"
> >> fetch "github.com/docker/docker/pkg/term/windows"
> >> fetch "github.com/netsec-ethz/rains/internal/pkg/algorithmTypes"
> >> # cd .; git clone https://github.com/netsec-ethz/rains
> >> /home/ubuntu/go/.cache/govendor/github.com/netsec-ethz/rains
> >> Cloning into '/home/ubuntu/go/.cache/govendor/
> github.com/netsec-ethz/rains
> >> '.
> >> ..
> >> error: index-pack died of signal 9
> >> fatal: index-pack failed
> >> fetch "github.com/netsec-ethz/rains/internal/pkg/cbor"
> >> # cd .; git clone https://github.com/netsec-ethz/rains
> >> /home/ubuntu/go/.cache/govendor/github.com/netsec-ethz/rains
> >> Cloning into '/home/ubuntu/go/.cache/govendor/
> github.com/netsec-ethz/rains
> >> '.
> >> ..
> >> error: index-pack died of signal 9
> >> fatal: index-pack failed
> >> fetch "github.com/netsec-ethz/rains/internal/pkg/connection"
> >> # cd .; git clone https://github.com/netsec-ethz/rains
> >> /home/ubuntu/go/.cache/govendor/github.com/netsec-ethz/rains
> >> Cloning into '/home/ubuntu/go/.cache/govendor/
> github.com/netsec-ethz/rains
> >> '.
> >> ..
> >> error: index-pack died of signal 9
> >> fatal: index-pack failed
> >> fetch "
> github.com/netsec-ethz/rains/internal/pkg/datastructures/bitarray"
> >>
> >> Error appeared while executing *make install command*
> >>
> >> ubuntu at scionlab-ffaa-1-c28:~/go/src/github.com/netsec-ethz/scion-apps$
> >> make
> >> install
> >> cd helloworld/ && go build
> >> ../lib/scionutil/hosts.go:27:2: cannot find package "
> >> github.com/netsec-ethz/rains/pkg/rains" in any of:
> >> /home/ubuntu/go/src/
> >>
> >>
> github.com/netsec-ethz/scion-apps/vendor/github.com/netsec-ethz/rains/pkg/rains
> >> (vendor tree)
> >> /usr/local/go/src/github.com/netsec-ethz/rains/pkg/rains (from
> >> $GOROOT)
> >> /home/ubuntu/go/src/github.com/netsec-ethz/rains/pkg/rains
> (from
> >> $GOPATH)
> >> Makefile:24: recipe for target 'helloworld/helloworld' failed
> >> make: *** [helloworld/helloworld] Error 1
> >>
> >> In this scenario SCION is running on perfectly and I am unable to
> install
> >> SCION - Apps on the ubuntu machine.
> >>
> >> Thanks,
> >> Siddharth
> >> _______________________________________________
> >> Scion mailing list
> >> Scion at lists.inf.ethz.ch
> >> https://lists.inf.ethz.ch/mailman/listinfo/scion
> >>
> > _______________________________________________
> > Scion mailing list
> > Scion at lists.inf.ethz.ch
> > https://lists.inf.ethz.ch/mailman/listinfo/scion
>
More information about the Scion
mailing list