henrist / aqmt-example

Example of how to use the AQM test framework
3 stars 0 forks source link

Docker Framework building failed #1

Open Blandine11 opened 3 years ago

Blandine11 commented 3 years ago

Hello,

While following the process to build the testbed with docker, I face the following errors:

Connection failed [IP: 91.189.88.142 80] Ign:34 http://archive.ubuntu.com/ubuntu xenial-backports/main all Packages Ign:36 http://archive.ubuntu.com/ubuntu xenial-backports/restricted all Packages Ign:37 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages Ign:38 http://archive.ubuntu.com/ubuntu xenial-backports/universe all Packages Ign:40 http://archive.ubuntu.com/ubuntu xenial-backports/multiverse all Packages Fetched 80 B in 1h 44min 8s (0 B/s) Reading package lists... W: The repository 'http://security.ubuntu.com/ubuntu xenial-security Release' does not have a Release file. W: The repository 'http://archive.ubuntu.com/ubuntu xenial Release' does not have a Release file. W: The repository 'http://archive.ubuntu.com/ubuntu xenial-updates Release' does not have a Release file. W: The repository 'http://archive.ubuntu.com/ubuntu xenial-backports Release' does not have a Release file. E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/Packages Connection failed [IP: 91.189.91.38 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-amd64/Packages Connection failed [IP: 91.189.88.142 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/Packages Connection failed [IP: 91.189.88.142 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-amd64/Packages Connection failed [IP: 91.189.88.142 80] E: Some index files failed to download. They have been ignored, or old ones used instead. The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bc ca-certificates dstat ethtool git gnuplot inotify-tools iputils-ping iperf iperf3 iptraf ipython3 less net-tools netcat-openbsd nmap openssh-server patch psmisc python python-urwid python3-numpy python3-plumbum sudo tcpdump tmux

Can you help me, please ?

henrist commented 3 years ago

It's showing a bit age and could need a bit of update. Your log is showing connection errors. Are you sure your network is properly set up? I just built it successfully without cache.

Do note that the Docker setup uses iproute 4.10. Might be you will want a newer version if you get any other unexpected failures. You can modify the Dockerfile to try to tweak a bit if you need.

Blandine11 commented 3 years ago

Hello Henrist,

Thank you for your quick reply and sorry for my late, my computer had a problem.

I tried it on a physical machine and I was able to launch docker images and containers (testbed). The problem is my Openstack's VM (instance).

But there was some errors on functions called in sch_fq_codel.c and shc_pfifo.c files. As you can see below: error: ‘fallthrough’ undeclared (first use in this function); did you mean ‘__fallthrough’? fallthrough; error: implicit declaration of function ‘skb_mark_not_on_list’; did you mean ‘skb_has_frag_list’? [-Werror=implicit-function-declaration] skb_mark_not_on_list(skb); ^~~~~~~~~~~~~~~~~~~~ skb_has_frag_list error: too many arguments to function ‘tcf_block_get’ err = tcf_block_get(&q->block, &q->filter_list, sch, extack); error: implicit declaration of function ‘kvcalloc’; did you mean ‘kvzalloc’? [-Werror=implicit-function-declaration] q->flows = kvcalloc(q->flows_cnt, sizeof(struct fq_codel_flow), GFP_KERNEL); ^~~~~~~~ kvzalloc error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .tcf_block = fq_codel_tcf_block, error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .init = fq_codel_init, and so for. I fink an update is required.

But as I said, my goal is to use dualpi2 but it is not présent in the list of aqm loaded in your docker testbed. Since last time I did not understand how to use your modified code located here : https://github.com/olgaalb/sch_dualpi2 and patch it with iproute2 in order to be able to use it to do my test. I'm new in git commands and the ecosystem of programming. Can you take a few moment to show me step by step , command after comand how can I do that, please ? As you already done this with sch_fq_codel, you will help me to save a lot of time. I created an issue on dualpi2 repository but nobody gave an answer.

Thank you.