netdata / kernel-collector

Linux Kernel eBPF Collectors
61 stars 15 forks source link

Upgrade distributions in Dockerfile #336

Closed thiagoftsm closed 1 year ago

thiagoftsm commented 1 year ago
Summary

This PR is updating distributions inside docker files and also fixing possible issues like package renaming.

Test Plan
  1. Get binaries according your LIBC from this link and extract them inside a directory. You can also get everything for glibc here.

  2. Extract them running:

    $ for i in `ls *.zip`; do unzip $i; rm .gitkeep ; rm $i; done
    $ for i in `ls *.xz`; do tar -xf $i; rm $i* ; done
  3. Compile branch an run the following tests:

    # make clean; make tester
    # for i in `seq 0 2`; do ./kernel/legacy_test --netdata-path ../directory --content --iteration --pid $i --log-path file_pid$i.txt; done
  4. Every test should ends with Success, unless you do not have a specific target (function) available.

Additional information

This PR was tested on:

Linux Distribution kernel version real parent parent all
Slackware distribution 6.1.28 slackware_6_1_pid0.txt slackware_6_1_pid1.txt slackware_6_1_pid2.txt
Alma 9 5.14.0-284.11.1.el9_2.x86_64 alma_5_14_pid0.txt alma_5_14_pid1.txt alma_5_14_pid2.txt
Alma 8 4.18.0-425.19.2.el8_7.x86_64 alma_4_18_pid0.txt alma_4_18_pid1.txt alma_4_18_pid2.txt
Oracle 8 kernel-uek-5.4.17-2136.318.7.2 oracle_5_4_pid0.txt oracle_5_4_pid1.txt oracle_5_4_pid2.txt

You can get all logs with this file.