Tag Archives: Test Development

[Solved] CentOS Install pycrypto Error: RuntimeError: autoconf error

Solution:  yum -y install gcc

 

File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib64/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-ydg0qryh/pycrypto/setup.py", line 251, in run
self.run_command(cmd_name)
File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-ydg0qryh/pycrypto/setup.py", line 278, in run
raise RuntimeError("autoconf error")
RuntimeError: autoconf error

----------------------------------------
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ydg0qryh/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-544nn9hj-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-ydg0qryh/pycrypto/

Solution to a Jenkins serious error recorded by automation platform

Error message: when Jenkins slave, the provided port 50000 is not reachable exception is reported, which leads to the serious problem that slave cannot be mounted

terms of settlement:

Step 1: modify the configuration in Jenkins, and specify that the port to boot from the node is 8081

Step 2: close the Jenkins service (service Jenkins stop), and then permanently open the specified port (firewall CMD – zone = public – add port = 8081/TCP – permanent), overload the firewall information (firewall CMD – reload), and start Jenkins (service Jenkins start Jenkins – P 8080:8080 – P 8081:8081 – v/home/Jenkins/var/Jenkins) on the specified port (8080 and 8081) jenkins/ jenkins:lts )

It is also important to note that when CMD starts slave, it is necessary to enter CMD from the specified jar path, and then execute the startup command

This is a serious error in system integration, which will probably be encountered later. It took a long time to solve this problem. It can be recorded for subsequent reference