Hi, folks:
When I trying to create a job with my customized kernel(http:/123/1.rpm), with below CLI, it reported below error. Anyway, it works well if I spec no "-k" for any kernel. root@desktop02:/usr/local/autotest# cli/atest job create -t sleeptest -m test.01 -k http://123/1.rpm -w http://localhost myjob Uploading Kernel: this may take a while...Operation generate_control_file failed: TypeError: generate_control_file() got an unexpected keyword argument 'do_push_packages' (myjob) I saw in the source file frontend/afe/rpc_interface.py "generate_control_file" is defined as this: def generate_control_file(tests=(), kernel=None, label=None, profilers=(), client_control_file='', use_container=False, profile_only=None, upload_kernel_config=False): But when called in server/frontend.py, it uses "do_push_packages" which caused above error. control_file = self.generate_control_file( tests=tests, kernel=kernel_info, use_container=use_container, do_push_packages=True) Is there any way to fix it? Thanks, Raymond
_______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
