Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install problem in opencloudos system #6

Open
AthLw opened this issue Jul 14, 2023 · 11 comments
Open

Install problem in opencloudos system #6

AthLw opened this issue Jul 14, 2023 · 11 comments

Comments

@AthLw
Copy link

AthLw commented Jul 14, 2023

lkp-ctl init returns error Not supported system ....

OS: Opencloudos9.0 from tencentCloud
Machine: virtual machine from tencentCloud

@Flyriver-wyh
Copy link

Currently, the LKP does not include support for OpenCloudOS. However, the OpenCloudOS user-level is compatible with CentOS. To enable LKP support for OpenCloudOS, you can add a symbolic link in the directory $SRC/lkp-extent/lkp-tests/distro/installer by running the command "ln -s centos opencloudos".

@Flyriver-wyh
Copy link

In addition, the epel-release repository for OpenCloudOS9 is currently under construction. We recommend you use the epel-release package for oc8 or TencentOS Server to handle the RPM packages that LKP depends on.

@PerseidMeteor
Copy link

PerseidMeteor commented Jul 18, 2023

Does lkp-ctl init run successfully?
image
@Flyriver-wyh

@AthLw
Copy link
Author

AthLw commented Jul 18, 2023

How about lkp -ctl init shows /home/lion/lkp-extent/lib/lkp.sh:line15 lkp:can not found command
env: Opencloudos8, Vmware Virtual Mechine
image
@Flyriver-wyh

The error looks like your os lack some static libraries which are necessary to build executable file. Do you have running ./build.sh script or yum install boost-devel cmake -y command?

@PerseidMeteor
Copy link

PerseidMeteor commented Jul 18, 2023

./build.sh I used and actually I had installed boost before, it showed wake may have some problems
Actually I cd bin/event and make wakeup manually, then I get the output below,I guess it init successfully,right?
image

@PerseidMeteor
Copy link

By the way, do u know why I can not run the test cases?
I can not run lkp-ctl run ebizzy, I guess ebizzy can not download it to local,then I downloaded it manually and put it in to lkp-extent/lkp-tests/jobs, still can not run, do u know why?
image

@AthLw
Copy link
Author

AthLw commented Jul 19, 2023

By the way, do u know why I can not run the test cases?
I can not run lkp-ctl run ebizzy, I guess ebizzy can not download it to local,then I downloaded it manually and put it in to lkp-extent/lkp-tests/jobs, still can not run, do u know why?
image

These two problems are resulted from lkp-ctl init command. It still has some preparatory work unfinished; it is incomplete.
lkp-ctl run ebizzy cannot run because ruby's version is not. compatible.

@PerseidMeteor
Copy link

By the way, do u know why I can not run the test cases?
I can not run lkp-ctl run ebizzy, I guess ebizzy can not download it to local,then I downloaded it manually and put it in to lkp-extent/lkp-tests/jobs, still can not run, do u know why?
image

These two problems are resulted from lkp-ctl init command. It still has some preparatory work unfinished; it is incomplete. lkp-ctl run ebizzy cannot run because ruby's version is not. compatible.

Thanks for reply. My ruby version is ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux], os OpenCloudOS release 8.6.2205 (Core).
Where should I find the corresponding relationship between the os and ruby version?

@AthLw
Copy link
Author

AthLw commented Jul 19, 2023

By the way, do u know why I can not run the test cases?
I can not run lkp-ctl run ebizzy, I guess ebizzy can not download it to local,then I downloaded it manually and put it in to lkp-extent/lkp-tests/jobs, still can not run, do u know why?
image

These two problems are resulted from lkp-ctl init command. It still has some preparatory work unfinished; it is incomplete. lkp-ctl run ebizzy cannot run because ruby's version is not. compatible.

Thanks for reply. My ruby version is ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux], os OpenCloudOS release 8.6.2205 (Core). Where should I find the corresponding relationship between the os and ruby version?

Sorry, I don't know their relationship. I used ruby2.7 referenced from https://blog.51cto.com/34144451/3773031 to solve this problem for myself. You could also try this issue https://github.com/intel/lkp-tests/issues/66.

@Flyriver-wyh
Copy link

Does lkp-ctl init run successfully? image @Flyriver-wyh

Hi,PerseidMeteor

  1. In oc8, you can edit /etc/yum.repos.d/OpenCloudOS.repo and enable [PowerTools] repository (set enabled=1) to get the packages lkp depends on;
  2. We don't compile the 32bits packages(i686), you can edit $SRC/lkp-extent/lkp-tests/distro/depends/lkp-dev,and comment out ”libc6-dev:i386 (x86_64)“。

@PerseidMeteor
Copy link

@Flyriver-wyh @AthLw Thanks for all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants