Lines Matching full:sysinfo
20 job.sysinfo.log_before_each_test(mytest)
21 sysinfo_pickle = os.path.join(mytest.outputdir, 'sysinfo.pickle')
22 pickle.dump(job.sysinfo, open(sysinfo_pickle, 'w'))
23 job.record('GOOD', '', 'sysinfo.before')
33 sysinfo_pickle = os.path.join(mytest.outputdir, 'sysinfo.pickle')
35 job.sysinfo = pickle.load(open(sysinfo_pickle))
36 job.sysinfo.__init__(job.resultdir)
37 job.sysinfo.log_after_each_test(mytest)
38 job.record('GOOD', '', 'sysinfo.after')
49 sysinfo_pickle = os.path.join(mytest.outputdir, 'sysinfo.pickle')
51 job.sysinfo = pickle.load(open(sysinfo_pickle))
52 job.sysinfo.__init__(job.resultdir)
53 job.sysinfo.%s(mytest, iteration=%d)
54 pickle.dump(job.sysinfo, open(sysinfo_pickle, 'w'))
55 job.record('GOOD', '', 'sysinfo.iteration.%s')
74 # sysinfo install files and outputdir contents after each run
107 tmp_dir = self.host.get_tmp_dir(parent="/tmp/sysinfo")
141 """Pulls from the client the pickle file with the saved sysinfo state.
145 host.get_file(os.path.join(outputdir, "sysinfo.pickle"), path)
150 """Pushes the server saved sysinfo pickle file to the client.
154 os.path.join(outputdir, "sysinfo.pickle"))
160 """Pulls sysinfo and keyval data from the client.
162 # pull the sysinfo data back on to the server
163 host.get_file(os.path.join(outputdir, "sysinfo"), mytest.outputdir)
174 @log.log_and_ignore_errors("pre-test server sysinfo error:")
177 # run the pre-test sysinfo script
184 @log.log_and_ignore_errors("pre-test iteration server sysinfo error:")
187 # this function is called after before_hook() se we have sysinfo state
190 # run the pre-test iteration sysinfo script
196 # get the new sysinfo state from the client
200 @log.log_and_ignore_errors("post-test iteration server sysinfo error:")
203 # push latest sysinfo state to the client
205 # run the post-test iteration sysinfo script
211 # get the new sysinfo state from the client
215 @log.log_and_ignore_errors("post-test server sysinfo error:")
219 # run the post-test sysinfo script
240 logging.exception('Error cleaning up the sysinfo autotest/host '