Hi Rodrigo,
(Mitchell, Claus: Some stuff for you at the end of this email)
Am 21/06/2016 um 21:20 schrieb Rodrigo Queiroz:
Hi Wolfgang,
Thanks for the updates. I started using codeface just now for a new
project and
never had a fully working/tested build before to make a better analysis
of the updates.
Master Branch:
My first build was from the Master branch, using vagrant and virtualbox
(using R 3.2.5)
The package plyr causes this error at the cluster phase:
--
2016-06-15 23:55:39 [codeface.util] MainProcessINFO: -> Revision
range v3.8..v3.9: Detecting clusters...
Error in unloadNamespace(package) :
namespace 'plyr' is imported by 'ggplot2', 'scales', 'reshape' so
cannot be unloaded
Error in library(plyr) : Package 'plyr' version 1.8.3 cannot be unloaded
Calls: suppressPackageStartupMessages -> withCallingHandlers -> library
Execution halted
--
For-Upstream Branch:
My second test was after your recent updates. It didn't work with
virtualbox and the Xenial box.
The "vagrant up" fails before even creating the shared directory.
--
default: /tmp/vagrant-shell: line 1: cd: /vagrant: No such file or
directory
==> default: /tmp/vagrant-shell: line 3:
integration-scripts/install_repositories.sh: No such file or directory
==> default: /tmp/vagrant-shell: line 4:
integration-scripts/install_common.sh: No such file or directory
==> default: /tmp/vagrant-shell: line 5:
integration-scripts/install_codeface_R.sh: No such file or directory
==> default: /tmp/vagrant-shell: line 6:
integration-scripts/install_codeface_node.sh: No such file or directory
==> default: /tmp/vagrant-shell: line 7:
integration-scripts/install_codeface_python.sh: No such file or
directory
==> default: /tmp/vagrant-shell: line 9:
integration-scripts/install_cppstats.sh: No such file or directory
==> default: /tmp/vagrant-shell: line 11:
integration-scripts/setup_database.sh:
--
However, I changed to Ubuntu Trusty and it worked fine for me.
With this working build (for-upstream branch, but with trusty box), only
the feature tests from the integration fail.
--
======================================================================
ERROR: testEndToEnd
(integration.test_features.TestEndToEndOnlyTaggingExample3Feature)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/codeface/test/integration/test_features.py", line
46, in testEndToEnd
self.checkEdges()
File "/vagrant/codeface/test/integration/test_exampleprojects.py",
line 147, in checkEdges
cluster_id = dbm.get_cluster_id(project_id, release_range)
File "/vagrant/codeface/dbmanager.py", line 156, in get_cluster_id
raise Exception("Cluster from project {} not found!".format(pid))
Exception: Cluster from project 113 not found!
======================================================================
ERROR: testEndToEnd
(integration.test_features.TestEndToEndOnlyTaggingExample3Feature_File)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/codeface/test/integration/test_features.py", line
46, in testEndToEnd
self.checkEdges()
File "/vagrant/codeface/test/integration/test_exampleprojects.py",
line 147, in checkEdges
cluster_id = dbm.get_cluster_id(project_id, release_range)
File "/vagrant/codeface/dbmanager.py", line 156, in get_cluster_id
raise Exception("Cluster from project {} not found!".format(pid))
Exception: Cluster from project 115 not found!
----------------------------------------------------------------------
--
I also tried with a project and could confirm the analysis with
"tagging: file" works.
With "tagging: feature", the dependencies at feature level are not found
and the clusters phase fail:
2016-06-20 15:57:18 [codeface.util] MainProcess INFO: -> Revision
range 1_22_0..1_23_0: Detecting clusters...
/usr/bin/env: Rscript: No such file or directory
2016-06-20 15:57:18 [codeface.util] MainProcess ERROR: Command
'/vagrant/codeface/R/cluster/persons.r --loglevel info -c
/vagrant/codeface.conf -p /tmp/busyboxuFG__Y
/vagrant/results/busybox/feature/1_22_0-1_23_0 13' failed with exit
code 127.
(stdout: None
stderr: None)
Traceback (most recent call last):
File "/usr/local/bin/codeface", line 9, in <module>
load_entry_point('codeface', 'console_scripts', 'codeface')()
File "/vagrant/codeface/cli.py", line 202, in main
return run(sys.argv)
File "/vagrant/codeface/cli.py", line 198, in run
return args.func(args)
File "/vagrant/codeface/cli.py", line 117, in cmd_run
args.profile_r, args.jobs <http://args.jobs>, args.tagging,
args.reuse_db)
File "/vagrant/codeface/project.py", line 136, in project_analyse
endmsg=prefix + "Detecting clusters done."
File "/vagrant/codeface/util.py", line 110, in add
func(*args, **kwargs)
File "/vagrant/codeface/util.py", line 279, in execute_command
raise Exception(msg)
Exception: Command '/vagrant/codeface/R/cluster/persons.r --loglevel
info -c /vagrant/codeface.conf -p /tmp/busyboxuFG__Y
/vagrant/results/busybox/feature/1_22_0-1_23_0 13' failed with exit
code 127.
(stdout: None
stderr: None)
Do I need any additional configuration or dependencies to work with the
feature analysis?